Jump to content

Recommended Posts

What is 504 Gateway Timeout Error?

HTTP 504 error indicates, the server trying to load the requested page is not getting a timely response from another server. This error can appear in an internet browser on any operating system and on any device. This means 504 Gateway Timeout Error is not OS-dependent.

What causes HTTP 504 error?

There are different variations of 504 Gateway Timeout errors like HTTP 504 Gateway Timeout, HTTP 504 Error, HTTP 504, Gateway Timeout (504), 504 Gateway Timeout NGINx, etc. All of these occur due to the following reasons:

Silent firewall drops.

The origin server is not working properly or is down.

The intermediary server doesn’t respond to the request at a specified time.

The proxy server or router in the local network is overburdened or has crashed.

Incorrect proxy settings.

How to fix 504 Gateway Timeout Error?

If you encounter 504 error instead of loading the page, it means there is a server problem on the part of the website provider. Hence to fix gateway timeout error you can try following the methods explained below:

1. Reload requested web page

Usually, 504 bad gateway error appear for a while. The easiest fix to resolve 504 Gateway Timeout error is to refresh the web page for this you can press F5 or can press Ctrl + R keys. Alternatively, you can also re-enter the URL.

2. Reset/Restart network devices

If Gateway Timeout error occurs within a home network the problem can be resolved by resetting all network devices. There is a possibility that the modem, router, has been configured incorrectly hence the HTTP request cannot be carried. In addition to this, if you face HTTP 504 error on each site you try to access, it is a clear sign that the problem is with the router. This means you need to reset the router to fix 504 bad gateway error message.

3. Check or disable proxy settings

If you are unable to fix 504 error after refreshing the page you should check your browser settings. Usually when the configuration is defective, or you use a different proxy you get Windows could not detect proxy settings. To fix it you can read our guide on how to fix Proxy Settings error.

4. Change DNS server

DNS server helps connect different servers on the Internet. If the DNS server you’re using is down, you can encounter 504 Gateway Timeout error. The easiest way to resolve this error is to change DNS server used by the router. For this head to Control Panel > Network and Sharing Centre screen and change the DNS server settings.

On Mac look for Settings > Network > Advanced button > DNS tab.

After changing DNS server now try to visit the website you should not face 504 bad gateway error.

5. Retry after a while

This may seem too simple, many times 504 error isn’t complicated. By simply reloading the web page after a while you can resolve HTTP 504 error.

6. Try using a different browser

In case the website is working, and you still encounter 504 Gateway Timeout error, try using another browser. In addition to this, you can even try clearing browser cache and cookies or open it in incognito mode.

7. Flush DNS

Sometimes 504 error can be a result of incorrect outdated DNS cache. To flush DNS open run window by pressing Windows + R. Here type cmd and press Ctrl+Shift+Enter. This will open the command prompt in administrator mode.

Next type ipconfig /flushdns. This will help fix 504 Gateway Timeout Error.

In addition to this clear Chrome DNS cache.

8. Adjust proxy settings

If you are connected to the Internet via a proxy server, there are chances the site you are trying to access is unable to get a response. Therefore, to resolve 504 error you need to disabled network proxy settings or can disable it. You can also contact your internet service provider to troubleshoot the issue.

9. Disable VPN

If you are using a VPN service, try disabling it as it can be one of the reasons for HTTP 504 error. If the error disappears this means VPN is the culprit. However, if using a VPN is important, switch to a different VPN.

Link to post
Share on other sites

Avoid unnecessary posts such as 'Thank you', 'Welcome', etc. Such posts will be deleted and user will be warned if it happens again. If caught spamming, the following actions are applicable -

  • First time - Warning
  • Second time - 5000 Points will be deducted
  • Third time - Ban for 7 days
  • Fourth time - Permanent Ban

If the post helped you, reward the user by reacting to the post like this -

download.png

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Ă—
Ă—
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.