504

Gateway Timeout

Server errors (5xx)·RFC 9110

What 504 means

A gateway server did not receive a timely response from an upstream server.

The upstream is too slow or unreachable. Check backend health, timeouts and network between the proxy and origin.

Server errors (5xx)

The server failed to fulfil an apparently valid request.

Other 5xx codes

FAQ — 504

What does HTTP 504 mean?

504 Gateway Timeout: A gateway server did not receive a timely response from an upstream server. The upstream is too slow or unreachable. Check backend health, timeouts and network between the proxy and origin.

Which class does status code 504 belong to?

504 is a Server errors (5xx) code. The server failed to fulfil an apparently valid request.

Where is the 504 code defined?

Status code 504 is defined in RFC 9110 and is part of the IANA HTTP Status Code Registry.

← All HTTP status codes