
Causes of the 504 Gateway Timeout ErrorĪs the 504 error is due to a timeout between servers, the problem probably isn’t with the client’s device or internet connection. Google Search Console is one of the best SEO tools to monitor your website’s HTTP 5xx errors. Viewing the crawl errors in Google Search Console

They wouldn’t even notice it.īut if your site is down for 6+ hours or more, then Google will consider the 504 error as a serious site-wide issue that you need to fix as soon as possible. If your site is down for just a few minutes, and if the spiders are trying to crawl it multiple times every minute, they’ll try to serve the page from their cache. Thus, they’ll try to crawl the page again later.Ī 504 Gateway Timeout error isn’t necessarily temporary as it can be due to multiple reasons. If the error persists for a long duration, it may even lead to deindexing the webpage from the search engine results.įor example, when Google spiders stumble upon a 503 Service Unavailable error, they’ll understand that it’s a temporary issue as it’s mostly used to enable site maintenance mode. Hence, search engines like Google take these errors seriously. SEO Impact of the 504 Gateway Timeout ErrorĪll 5xx errors prevent a webpage from loading, making them detrimental to user experience. Some of them can be cool! It’s an excellent tactic to quell their visitors’ disappointment. Web servers and websites can customize how they show the 504 Gateway Timeout error to users.
INCREASE NGINX GATEWAY TIMEOUT CODE
The ‘504 GATEWAY TIMEOUT’ status code in Chrome DevTools. The 504 Gateway Timeout error is similar to the 502 Bad Gateway error, which indicates that the first server received an invalid response from the second server (upstream server). Here are some ways it usually shows up: The ‘HTTP ERROR 504’ in the Chrome browser. The 504 Gateway Timeout error manifests itself in various forms.

The first server (typically the main server) times out, waiting for a response from the second server (upstream server). To simplify it further, this error occurs when two servers are involved in processing a request. The 504 (Gateway Timeout) status code indicates that the server, while acting as a gateway or proxy, did not receive a timely response from an upstream server it needed to access in order to complete the request. The Internet Engineering Task Force (IETF) defines the 504 Gateway Timeout error as: You may come upon many unofficial codes too ( 506, 507, 509, 520, etc.). Officially, five status codes are specified under the 5xx class ( 500, 501, 502, 503, 504). As a result, they’re also referred to as Server Error 5xx status codes. The 5xx class of HTTP status codes indicates that something’s wrong with the server, the server is aware of it, and it cannot carry out the client request. For instance, a 200 OK status code means that the server processed the request successfully and “Everything is OK.”

But not all these HTTP status codes are errors. The server response includes one of many HTTP status codes to indicate the response’s status to the browser. The server processes the request and responds with the requested resources. ⬇️ Click to Tweet What Is the 504 Gateway Timeout Error?Įvery time you visit a website in your browser, the browser sends a request to the web server where the site is hosted.
INCREASE NGINX GATEWAY TIMEOUT HOW TO
🤔 Learn how to fix it with this guide quickly. The 504 Gateway Timeout error is one of the most common HTTP 5xx errors faced by website owners and site visitors.
