Although the '504 Gateway Timeout' error is out of your control, it may be temporary. Therefore reloading the page is the quickest and easiest way to fix it.
Restart all your network devices. Temporary problems with routers, modems, switches or other network hardware can cause the '504 Gateway Timeout' error you are seeing. Just restarting these devices can help you fix this error.
Check the proxy server settings in your browser or application and make sure they work normally. Incorrect proxy settings can cause 504 errors. Tip : Go to Proxy.org for a list of updated proxy servers. There are also several websites that provide a list of free proxy server downloads. Note : Most computers do not have proxy settings, so if your computer is not installed, don't worry, just skip this step.
Change DNS server. There may be a '504 Gateway Timeout' error due to an issue with the DNS server you are using. Note : Unless you have previously changed and the DNS servers you have configured at the moment are probably servers that are automatically assigned by ISPs. Fortunately, there are several other DNS servers available for you to use. Tip: If not all of your network devices have an HTTP 504 error even though they all use the same network, changing the DNS server will not work. If you encounter this situation, move on to the next section.
If you can't do anything else at this point, contacting the website is probably the next thing to do. This is a good opportunity for site administrators to fix the root cause of the '504 Gateway Timeout' error. Most large websites have social networking accounts to support the service and you can find phone numbers and email addresses to contact. Tip: If you find that you are not only experiencing 504 errors, it is often useful to find information about the site's downtime on Twitter. The best way to do this is to search for #websitedown on Twitter. For example, if Facebook stops working, search for #facebookdown.
Contact your Internet Service Provider, after trying everything and you notice the '504 Gateway Timeout' error caused by your ISP.
Try again after you have tried all the ways that the '504 Gateway Timeout' error has not been fixed. Regularly check back with the website as it will soon work again.
Fix 504 errors on your own website
Again, it is not your fault or the user. Start by checking whether your server can properly resolve all domains your application requires access to.
Excessive traffic can lead to your server having a 504 error, although the 503 error may be more accurate.
Specifically in WordPress, the '504: Gateway Timeout' message is sometimes caused by a corrupted database. Install WP-DBManager and then try the "Repair DB" feature, followed by "Optimize DB" and see if it helps. Also, make sure your HTACCESS file doesn't matter, especially if you've just reinstalled WordPress.
Finally, consider contacting the host company. It is possible that the 504 error that your site is having is due to their problem and they will have to resolve it.
Other ways that 504 errors may appear
Gateway Timeout error in Windows Update, create error code 0x80244023 or message WU_E_PT_HTTP_STATUS_GATEWAY_TIMEOUT.
In Internet-based Windows-based programs, 504 errors may be displayed in a small dialog box or window with HTTP_STATUS_GATEWAY_TIMEOUT error and / or with the message 'The request was timed out for a gateway'.
A less common 504 error is 'Gateway Time-out: The server proxy did not receive a response time from the upstream server', but the fix is still the same as above.
Still haven't fixed the 504 error?
If you have read all the above tips but still have a '504 Gateway Timeout error' error when accessing a website, please contact us via social networks or via email, post on support forums. techniques, etc.
Before that, make sure it's an HTTP 504 error and make it clear what you've done to fix the problem. If there are specific related sites, or specific steps that encounter errors, you should also specify.
Errors similar to '504 Gateway Timeout'
Some error messages are similar to the '504 Gateway Timeout' because they all appear on the server side. A few include the 500 Internal Server error, 502 Bad Gateway error and 503 Service Unavailable error, etc.
There are also HTTP status codes that are not server-side, but rather on the client side, as the 404 Not Found error often finds.
See more:
Summary of a way to fix Play Store error: "Connection Timed Out" during application download and installation
How to fix error 1016: "System boot timeout, temporarily exit any security software and try again" in NoxPlayer