The 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.
Please check your configuration settings Reference Number - 11.e192117.1754110298.6e7eda2c