lightmy.day

Server error

HTTP 504: Gateway Timeout

HTTP 504 means a gateway timed out waiting for an upstream server.

Meaning

A proxy or gateway did not receive a timely response from another server.

Common causes

Slow upstreams, network issues, long database queries, or too-short proxy timeouts can cause it.

What to check

Check upstream latency, gateway timeout settings, database performance, and network health.

Example response

HTTP/1.1 504 Gateway Timeout

References

Related HTTP status codes

Nearby codes often answer the next debugging question.