Error AtlasError Documentation and Resolution

HTTP 504 Gateway Timeout

504 Gateway Timeout

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

504 Gateway Timeoutnetworking
504 Gateway Timeout
  • The upstream service is too slow to respond.
  • A proxy or load balancer timeout is shorter than the backend processing time.
  • Network problems are delaying or preventing the upstream response.
  1. Check backend response times and whether the upstream is overloaded.
  2. Review gateway and proxy timeout settings against real request duration.
  3. Investigate network path and dependency latency between the proxy and upstream.
MDN: 504 Gateway Timeout
504 Gateway Timeout: what it means and how to fix it | Error Atlas