Skip to main content

504 Gateway Timeout

A gateway or proxy did not receive a timely response from the upstream server it needed to complete the request.

5xx · Server error

Typical causes

Slow handlers, a blocked or unreachable database or API, or requests that run longer than the proxy's timeout.

On Bex

On Bex, look for slow handlers and blocked dependencies in the runtime logs and metrics; a health check that times out points at the same causes.

Read the Bex guide

Defined in RFC 9110, §15.6.5