Opsis Digital
← Glossary

Code 504

Gateway timeout: a server waited too long for a response from an upstream service and gave up.

In practice

Look for the slow dependency — a database query, an external API, an unindexed search — rather than raising the timeout.

It often appears first on the heaviest pages, which are usually the most commercially important ones.

Why it matters

Timeouts mean the page is effectively unavailable even though nothing is technically broken.

Crawlers back off after repeated timeouts, so recovery takes longer than the outage itself.

Related terms
Work with us
We run this as a service.
SEO service ↗
What is Code 504? | Opsis Digital