The quick & easy guide to fixing 504 gateway timeout errors

     
Tlặng Fisher has 30+ years' professional công nghệ support experience. He writes troubleshooting content và is the General Manager of web5s.com.vn.

Bạn đang xem: The quick & easy guide to fixing 504 gateway timeout errors


The 504 Gateway Timeout error is an HTTPhường status code that means that one VPS didn"t receive a timely response from another VPS that it was accessing while attempting khổng lồ load the website page or fill another request by the browser.


In other words, 504 errors usually indicate that a different computer, one that the trang web you"re getting the message on doesn"t control but relies on, isn"t communicating with it quickly enough.


*

web5s.com.vn / Ashley Nicole DeLeon

Are You the Web Manager? See the Fixing 504 Errors on Your Own Site section further down the page for some things lớn consider on your kết thúc.


A 504 Gateway Timeout error can appear in any mạng internet browser, on any operating system, và on any device. This means that it"s possible to lớn get the error on your Android or iPhone phone or tablet, in Safari on a Mac, in Chrome on Windows 10 (or 8, or 7, ...), etc.


How You Might See the 504 Error

Individual websites are allowed to customize how they show "gateway timeout" errors, but here are the most common ways you"ll see one spelled out:


504 Gateway TimeoutHTTPhường 504504 ERRORGateway Timeout (504)HTTPhường. Error 504 - Gateway TimeoutGateway Timeout Error

A 504 Gateway Timeout error shows up inside the mạng internet browser window, just lượt thích normal web pages vì chưng. There might be a site"s familiar headers và footers và a nice, English message on the page, or it could show up on an all-White page with a big 504 at the top. It"s all the same message, regardless of how the website happens khổng lồ show it.


Causes of 504 Gateway Timeout Errors

Most of the time, a 504 Gateway Timeout error means that whatever other VPS is taking so long that it"s "timing out," is probably down or not working properly.


Since this error is usually a network error between servers on the internet or an issue with an actual VPS, the problem probably is not with your computer, device, or internet connection.


How khổng lồ Fix the 504 Gateway Timeout Error

Retry the web page by selecting 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, it might only be temporary.


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.


While the order you turn off these devices isn"t important, the order that you turn them back on is. In general, you want to lớn turn devices on from the outside-in. If you"re not sure what that means, kiểm tra out the links at the beginning of this step for a complete tutorial.


Check the proxy hệ thống settings in your browser or application và make sure they"re correct. Incorrect proxy settings can cause 504 errors.


*

Windows 10 Proxy Settings.

Most computers don"t have proxy settings at all, so if yours are empty, just skip this step.


Change your DNS servers, especially if all the devices on your network are getting the same error. It"s possible that the 504 Gateway Timeout error you"re seeing is caused by an issue with the DNS servers you happen khổng lồ be using.

Xem thêm: Facebook Của Bạn - Cách Kiểm Tra Ai Đã Lén Lút Đăng Nhập Vào


Unless you"ve sầu previously changed them, the DNS servers you have sầu configured right now are probably the ones automatically assigned by your ISP. Others are available for your use that you can choose from. See ourFree và Public DNS Servers menu for your options.


If nothing has worked up khổng lồ this point, contacting the website is probably the next best thing lớn vị. 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.

Most major sites have social networking accounts they use lớn help support their services & some even have sầu telephone numbers và email addresses.

If it"s starting to lớn look like the trang web 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 khổng lồ vì chưng this is to lớn search for #websitedown on Twitter. For example, if Facebook might be down, search #facebookdown.


Liên hệ your mạng internet service provider. It"s very likely at this point, after following all the troubleshooting above sầu, that the 504 Gateway Timeout that you"re seeing is a problem caused by a network issue that your ISP.. is responsible for.


Come baông chồng 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 ISPhường. to lớn correct. Check back with the site regularly. No doubt it"ll start working again soon.


Fixing 504 Errors on Your Own Site

A lot of times this isn"t your fault at all, but it"s not the user"s either. Start by checking that your server can properly resolve sầu all the domains that your applications require access lớn.


Very heavy traffic might result in your server serving a 504 error, even though a 503 would probably be a bit more accurate.


In WordPress specifically, 504: Gateway Timeout messages are sometimes due to lớn corrupted databases. Install WP-DBManager and then try the "Repair DB" feature, followed by "Optimize DB," & see if that helps.


Finally, consider contacting your hosting company. It"s possible that the 504 error that your trang web is returning is due to an issue on their over that they"ll need to lớn resolve.


More Ways You Might See a 504 Error

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


In Windows-based programs that inherently access the mạng internet, a 504 error might show up in a small dialog box or window with the HTTP_STATUS_GATEWAY_TIMEOUT error and/or with a The request was timed out waiting for a gateway message.


A less comtháng 504 error is Gateway Time-out: The proxy VPS did not receive sầu a timely response from the upstream server, but the troubleshooting (above) remains the same.


Errors Like 504 Gateway Timeout

A number of error messages are similar lớn the 504 Gateway Timeout error because they all occur on the VPS side. A few include the 500 Internal Server Error, the 502 Bad Gateway error, và the 503 Service Unavailable error, among mỏi a few others.

Xem thêm: Phần Mềm Tự Động Gửi Tin Nhắn Hàng Loạt Trên Fanpage Facebook 2019


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, all of which you can see in ourHTTPhường Status Code Errors page.


Chuyên mục: Website

Dành cho bạn