← All status codes

504

Gateway Timeout

The upstream took too long. Time's up.

When to actually use it

Proxies report this when the upstream doesn't respond in time.

Where people mess up

Setting timeouts too aggressively, then blaming clients for 504s your own infrastructure caused.

The joke

The proxy waited, checked its watch, and left. Someone set a timeout too short — or a query is running away.