1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

504 Gateway Timeout Error

How To Fix a 504 Gateway Timeout Error

By

How You Might See the 504 Error

The 504 Gateway Timeout error message may not be seen exactly as that. While not common, it can be customized by each website and so may be worded differently than some of the common ways I've listed here:

  • "504 Gateway Timeout"
     
  • "HTTP 504"
     
  • "504 ERROR"
     
  • "Gateway Timeout (504)"
     
  • "HTTP Error 504 - Gateway Timeout"
     
  • "Gateway Timeout Error"

The 504 Gateway Timeout error displays inside the Internet browser window, just as web pages do.

A Gateway Timeout error when received in Windows Update generates a 0x80244023 error code or the message WU_E_PT_HTTP_STATUS_GATEWAY_TIMEOUT.

504 Gateway Timeout errors might be seen in any Internet browser, in any operating system, and on any device. This means that it's possible to get a 504 Gateway Timeout error on your Android or iPhone, in Safari on a Mac, in Chrome in Windows, etc.

Cause of 504 Gateway Timeout Errors

The 504 Gateway Timeout error is an HTTP status code that means that one server did not receive a timely response from another server that it was accessing while attempting to load the web page or fill another request by the browser.

Most of the time, this means that the other server is down or not working properly.

How To Fix the 504 Gateway Timeout Error

The 504 Gateway Timeout error is usually a network error between servers on the Internet or an issue with an actual server, meaning the problem is probably not with your computer, device, or Internet connection.

Even though the issue probably isn't yours to fix, it might be, so lets walk through some things you can try:

  1. Retry the web page by clicking the refresh/reload button, pressing F5, or trying the URL from the address bar again.

    Even though the 504 Gateway Timeout error is reporting an error outside of your control, the error might only be temporary. Simply retrying the page is a quick and easy thing to try.
     
  2. Restart all of your network devices. Temporary problems with your modem, router, switches, or other networking hardware could be causing the 504 Gateway Timeout issue you're seeing. Just restarting these devices could help.

    Tip: While the order you turn off these devices isn't important, the order that you turn them back on is. Start by turning on the outermost device on the network first (usually your modem), followed by the device it's connected to (usually your router). Finally would be any devices that connect to the router, like your computers, tablets, smartphones, etc.
     
  3. Change your DNS servers. It's possible that the 504 Gateway Timeout error you're seeing is caused by an issue with the DNS servers you happen to be using.

    Note: Unless you've previously changed them, the DNS servers you have configured right now are probably the ones automatically assigned by your ISP. Fortunately, a number of other DNS servers are available for your use that you can choose from. See my Free & Public DNS Servers list for your options.

    Tip: If not all your network devices are getting an HTTP 504 error but they're all on the same network, changing your DNS servers probably isn't going to work. If this sounds like your situation, move on to the next idea.
     
  4. If nothing has worked up to this point, contacting the website is probably the next best thing to do. There's a good chance the website administrators are already working to fix the root cause of the 504 Gateway Timeout error, assuming they're aware of it, but there's nothing wrong touching base with them.

    See my Website Contact Information page for help figuring out how to contact popular websites. Most major sites have social networking accounts they use to help support their services and some even have telephone numbers and email addresses.

    Tip: If it's starting to look like the website might be giving a 504 error for everyone, searching Twitter for real-time information about the site's outage is often helpful. The best way to do this is to search for #websitedown on Twitter. For example, if Facebook might be down, search #facebookdown.
     
  5. Contact your Internet Service Provider. It's very likely at this point, after following all the troubleshooting above, that the 504 Gateway Timeout that you're seeing is a problem caused by a network issue that your ISP is responsible for.

    Tip: See How To Talk To Tech Support for tips on talking to your Internet Service Provider about this problem.
     
  6. Come back later. You've exhausted all your options at this point and the 504 Gateway Timeout error is either in the hands of the website or your ISP to correct.

    Check back with the site regularly. No doubt it'll start working again soon.

Still Getting 504 Errors?

If you've followed all of the advice above but are still receiving a 504 Gateway Timeout error when accessing a certain webpage or site, see Get More Help for information about contacting me on social networks or via email, posting on tech support forums, and more.

Be sure to let me know that the error is an HTTP 504 error and what steps, if any, you've already taken to fix the problem.

Errors Like 504 Gateway Timeout

The following error messages are similar to the 504 Gateway Timeout error because they all occur on the server side:

500 Internal Server Error | 502 Bad Gateway | 503 Service Unavailable

There are also HTTP status codes that aren't server-side, but instead client-side, like the commonly seen 404 Not Found error. Several others exist as well: List of HTTP Status Code Errors.

©2014 About.com. All rights reserved.