5xx Server Error

Server error responses

The server failed to fulfil an apparently valid request. The fault is on the server side.

5xx codes are worth reading precisely, because they localize the failure. 500 is the application, 502 means an intermediary got a bad response from upstream, 503 means the service is deliberately unavailable, and 504 means an upstream was too slow.

The unofficial 52x range from Cloudflare narrows this further, distinguishing a refused connection (521) from an unanswered handshake (522), a timeout (524), and TLS problems (525 and 526).

Codes in this class