One useful email every Monday

New free tools, AI and network threats that matter, and one quick challenge. No spam, unsubscribe in one click.

Questions people ask

What does HTTP 504 mean?

A proxy waited too long for the server behind it.

What causes a 504 error?

Slow database queries, long-running requests, network problems between proxy and app.

How do I fix 504?

Speed up the slow request or raise the proxy timeout (proxy_read_timeout, idle timeout).

Helped you? Share it with your teamXLinkedInWhatsAppReddit
Link to this tool

Found it useful? Paste this into your blog, wiki or runbook.

<a href="https://toolbini.com/net/http-status/504/">HTTP 504 Gateway Timeout</a>

Reviewed by the editorial team · Last reviewed 2026-11 · Report an error