HTTP Errors

504 Gateway Timeout

The gateway didn’t receive a timely response from upstream.

Wording may vary by service

Meaning

The upstream server didn’t respond in time.

Causes

  • Upstream latency
  • Network delays
  • Long-running operations

How to fix

  • Retry later
  • Contact the owner if it repeats

Example

HTTP/1.1 504 Gateway Timeout

Official references

FAQ

  • How is it different from 502? — 502 is invalid response, 504 is timeout.
  • What if it persists? — Check upstream server health.

When to contact support

Check status/support if it’s urgent.