5×× SERVER ERROR

504 GATEWAY TIMEOUT

The server, while acting as a gateway or proxy, did not receive a timely response from an upstream server it needed to access in order to complete the request.

504 GATEWAY TIMEOUT Source: RFC7231 Section 6.6.5

 

504 CODE REFERENCES

Rails HTTP Status Symbol :gateway_timeout

Go HTTP Status Constant http.StatusGatewayTimeout

Symfony HTTP Status Constant Response::HTTP_GATEWAY_TIMEOUT

Python2 HTTP Status Constant httplib.GATEWAY_TIMEOUT

Python3+ HTTP Status Constant http.client.GATEWAY_TIMEOUT

Python3.5+ HTTP Status Constant http.HTTPStatus.GATEWAY_TIMEOUT

 

Recommended: