HTTP 504 Error, aka 504 Gataway Timeout, means that the server is a gateway or proxy server, and it is not receiving a response from the backend servers within the allowed time period. This typically occurs in the following situations where (1) The network connection between the servers is poor (2) The backend server that is fulfilling the request is too slow, due to poor performance (3) The gateway or proxy server’s timeout duration is too short