The HyperText Transfer Protocol (HTTP) 504 Gateway Timeout server error response code indicates that the server, while acting as a gateway or proxy, did not get a response in time from the upstream server that it needed in order to complete the request.
How do I get rid of 504 Gateway Timeout?
How to 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. ...
- Restart all of your network devices. ...
- Check the proxy server settings in your browser or application and make sure they're correct.
What causes a 504 Gateway Timeout?
A 504 Gateway Timeout error indicates that the web server is waiting too long to respond from another server and “timing out.” There can be many reasons for this timeout: the other server is not functioning properly, overloaded, or down. The other server need not always be external (e.g. CDN, API gateway).