504 Gateway Time Out | Fix http 504 Error | Updated 2022
  • info@comparecheapssl.com
504 Gateway Timeout

05/06/2021 by admin with 0 comments

How to Fix the 504 Gateway Timeout Error?

Incorrect proxy settings on your computer can sometimes cause 504 timeout errors. To determine if this is the issue, try reviewing your proxy settings or disabling the proxy server. To turn off proxy settings in Windows 10, access the Settings page by clicking the Start button and selecting the gear icon.

The 504 Gateway Timeout Error occurs when your web server does not receive a timely response from an upstream server while trying to load a web page. This means that the communication between your web servers is not fast enough. This error results in the display of an error page to visitors accessing your website. It is a generic error and does not necessarily pinpoint the root cause of the problem.

What is 504 Gateway Timeout errors?

There are hundreds of people who are using one or the other browser to surf through the internet. The amount of people is not less and the number of people facing an error on the browser they use is also not less. The error faced by the users which might eh most common would be the 504 gateway Timeout error. Internet being a complex and a very vast platform error are a very small part of it and can occur on the account of server or unstable internet. There is a chain in which the word which involves the process of getting required webpages on the browser. The request sent to the server takes time to process and if it takes a lot of time to load the webpage the 504 Gateway Timeout error occurs.

The HTTP 504 Gateway Timeout error code indicates that a server acting as a gateway or proxy failed to receive a timely response from an upstream server, causing it to be unable to complete a client’s request. This error is related to the HyperText Transfer Protocol (HTTP).

The 504 Gateway Timeout error is a prevalent issue encountered by both website owners and users. It is one of the most frequently occurring HTTP 5xx error codes.

There are many other common errors you might have an encounter –


  • The white death screens
  • Error establishing a database connection
  • Too many redirect error
  • 502 Error Bad Gateway


There are numerous other ways in which you will face the error. We have jotted down some popular version of HTTP error 504 for you to have a look –


  • 504 Gateway Timeout
  • 504 Gateway Timeout NGINX
  • NGINX 504 Gateway Timeout
  • Gateway Timeout Error
  • Error 504
  • 504 Error Code
  • 504 Status Code
  • HTTP Error 504
  • Gateway Timeout Error 504
  • HTTP 504
  • 504 Error
  • Gateway Timeout (504)
  • 504 Gateway Timeout – The server didn’t respond in time


When the 504 Gateway Timeout error is faced by the users 50% of them get worried about it and make a panic movement with the computers. There is nothing to worry about as it’s a very common error faced by numerous users every day. The solution to resolve the error are not at all complex and are can be solved by self.


Fix for the 504 Gateway Timeout Error are –

Fix 1. Reload the page


The quickest way to resolve the error is to reload the webpage.To initiate the fix press F4 on your keyboard or press the arrow in a circle form to reload the webpage or you make a right-click on your mouse and the option pops-up from the select Reload or press CTRL + R on the keyboard.These keys will reload the webpage and the browser will also try to deflect the 504 Gateway Timeline error.The error might have also caused because of the traffic or the webpage is broken or something similar to that. 


Note: Do not refresh while you are on a payment gateway, it may lead to double payment because the payment might have been done before the timeout happens.


Fix 2. Check the site 


The site’s code can be broken because it might not be updated for a longer time. The site needs to be updated and correspondingly keep going with technology. The problem if not fixed by the provided the site can block will ever be unblocked unless it’s fixed or updated. You can close the browser shut down the pc and come back later and check whether the error is gone or not as it the reason behind it can also be that the browser was not closed properly.

Microsoft Exchange SAN UCC SSL

Fix 3. Restart the modem or the router –


The issue can also from the ISP’s end as there are times when the ISP also faces technical error from their source and that can affect the users the ISP is providing. You can contact your ISP and ask for confirmation. From your end, you also check your modem if there are any wires gone loose or have been broken if there is something you see make them right and start your modem and wait for it to restart. After it restarts open the website and check whether the website is resolved or not.


Fix 4. Accessing blocked resource 


There might be a website that has been blocked by the ISP to gain access to. These sites such as porn sites are not accessible and are block by the ISP. To know if the website you are trying to get access to is blocked or not you need to contact him and ask your query. For example, if you try accessing Facebook in china it may take a lot of time to open because the Facebook app is service is blocked in China, or sometimes it will directly show you the 504 Gateway Timeout error on your screen. You can use VPN to access a site that is blocked by the ISP or in your country.


Fix 5. Try different browser


The browser you are using to gain access to the website might have some broken code problem from the backend of the browser and that is why it might be showing you the 504 Gateway Timeout error. You can use an alternative website such as Firefox, google chrome, internet explorer, opera min, and many others. If you face the same error in other browsers too then the reason behind the error can be the network or a fault in your PC which might be affecting the browser.

Fix 6. Clear browsing history


The browser’s history can be filled with malicious or suspicious data. This data is saved on your computer while you jump from one website to another website. Websites provide cookies when someone visits their site and those cookies can be fraudulent too. the cookies being malicious can affect the browser too.

Follow the step to clear the browsing data –


  • Open google chrome and click on three vertical dots on the top right corner of the page
  • From the options click on more tools and from sub option select clear browsing data
  • On the page select browsing history, cookies, and data from other sites, download history, cache images, and files from the basic and advanced slide
  • Select all time from the time range drop-down list and then click on clear data
  • In few minutes the data will be cleared and your browser will be back on track and run smoothly. 
  • Restart your browser and check if the error still exists on the webpage you are trying to gain access to.


There can occur many faults in a browser and it will make you go mad and frustrate if you can’t resolve it quickly. The error 502 Bad Gateway error is nothing like the 504 Gateway Timeout error. I hope one of the above steps will help you resolve the error.



ssl.com logo

Basic SSL Certificate

Buy Now

ssl.com logo

Wildcard SSL Certificate

Buy Now

ssl.com logo

Multi Domain SSL

Buy Now

Leave Comment