What is HTTP error 503 and how do you fix it?
It may not always be obvious what's causing the issue, but there are steps you can take to get back online
Getting on the internet is supposed to be easy, but there are a few occasions when it's anything but. Thankfully, failing to connect to a website will usually result in an error code, such as the dreaded 503 error, giving you some indication as to the problem.
This code means that there is an availability error that happens when a web server is temporarily unable to handle a request. This is usually a fault on the website's side, with the two most common reasons being a server overwhelmed with requests or its having maintenance performed on it.
This might mean that you as a user are powerless to fix it, but in some cases there could be something you can tweak on your side. Below is a collection of tips and tricks for when you experience a HTTP 503 error.
What does HTTP error 503 mean?
In essence, the 503 error means something is stopping the browser from accessing a website server. This usually means the server has been unable to deal with the information requested, but what's causing that issue won't necessarily be clear. Often the only advice you can get for this error is the rather unhelpful 'try again later'.
The recent Fastly outage in June saw a number of sites display the 503 error message. This included payment websites PayPal and Shopify, internet forums Quora and Reddit, streaming sites Spotify, Twitch, Hulu, HBO Max, and Vimeo, and developer portals GitHub and Stack Overflow. This also affected gov.uk, as well as numerous online newspapers and news outlets, such as the New York Times, BBC, Financial Times, CNN, the Guardian, Bloomberg News, and The Verge, with the latter having to use Google Docs to publish stories.
While many of the websites showed the "503 error", the cloud computing services provider described the issue as a "global CDN disruption", with its own website displaying an "I/O error" message.
What causes an HTTP error 503?
As is the case with the 502 bad gateway error, diagnosing the cause of a 503 error is difficult. Usually, it's the case that something has gone wrong with the server supporting the website you're trying to access.
The most common cause of the 503 error is a breakdown in communication between the server and the website it is supporting, resulting in that website being unable to handle any information requests from a user's browser. This could have been due to scheduled server maintenance or some unforeseen technical issue. If the latter, you might find that some websites are down more regularly than others, normally a sign that their hosting provider is inadequate.
A 503 error may also occur if the server is still online but lacks sufficient capacity to support the number of requests hitting a website. This often happens when a website that normally sees low traffic is suddenly hit with an influx of new users. This spike in traffic can be from users flocking to the site, such as when a promotional deal is running, however, it's most often the case that these spikes are caused by malicious traffic, such as a distributed denial of service (DDoS) attack.
Misconfigured web apps may also cause a 503 error to appear, such as a plugin conflict caused by WordPress.
Regular 503 errors could suggest an issue with the domain name system (DNS), whether that's an incorrect server configuration or an issue with the DNS server itself.
Figuring out precisely what's gone wrong is important for ultimately getting a site back online.
How to fix an HTTP error 503
The fastest method to resurrect the site you're trying to access is by refreshing the web page and hoping that this will solve the problem.
However, there are also several other steps you can take to make sure the problem isn't linked to your connection. For example, you can restart your router or computer. If an error message shows "Service Unavailable – DNS Failure", then this usually means there may be an error with your hardware configuration, which thankfully can be corrected by performing a reboot. You might find there is a problem with the allocated DNS server, but this is normally resolved by choosing to use a different DNS server.
IT Pro 20/20: The weak link in cyber security
Issue 19 of IT Pro 20/20 looks at the cyber security problem facing small businesses and what this could mean for wider industriesDOWNLOAD NOW
However, if the 503 error is a result of a problem found on the server's side, then unfortunately there isn't a lot you can do yourself to remedy it. This is where the IT administrator for the site should troubleshoot the issue to find a solution to the fault that users are reporting if they are encountering HTTP 503 errors. If you find yourself in that position and discover that updates need to be applied to a site, it's recommended to schedule them when your site's traffic is likely to be lowest, so your users don't regularly come across errors.
Alternatively, if recurring HTTP 503 errors are regularly caused by traffic spikes, it's best to use this as a sign that you might want to increase your web server resources investment. In addition to this, a surge of traffic could be the result of a denial of service (DoS) attack, in which case it might be a clever idea to approach your hosting provider to ask about the possible mitigations they can offer you to prevent attacks in the future.
Further investing in security protections or increasing the frequency of patch management could also serve to prevent any subsequent incidents from occurring. Several providers already include DDoS protection as part of their default packages, which may restrict the number of users that are allowed to access a site at any one time.
Finally, should the HTTP 503 error be a result of a programming bug, you'll need to undergo further investigation to pinpoint the issue and rectify it permanently.
2021 Thales access management index: Global edition
The challenges of trusted access in a cloud-first worldFree download
Transforming higher education for the digital era
The future is yoursFree download
Building a cloud-native, hybrid-multi cloud infrastructure
Get ready for hybrid-multi cloud databases, AI, and machine learning workloadsFree download
The next biggest shopping destination is the cloud
Know why retail businesses must move to the cloudFree Download