What does 524 A Timeout Occurred mean?
Cloudflare-specific: the connection succeeded but the origin did not send a response within 100 seconds (on most plans).
Common causes
- Long-running request
- Slow database or external API
How to fix it
- Move long work to background jobs
- Return early and poll for the result
524 and webhooks
Typical for slow webhook handlers — answer within a few seconds.
Test how your client handles 524
In the webhook tester you can add a response rule that answers 524 — useful to check retries, error handling and alerts before production.
FAQ
What does HTTP 524 mean?
Cloudflare: origin took longer than 100 seconds. Cloudflare-specific: the connection succeeded but the origin did not send a response within 100 seconds (on most plans).
Is 524 an error?
Yes — a server error: the request may succeed if retried later.
Other 5xx codes
500 Internal Server Error · 501 Not Implemented · 502 Bad Gateway · 503 Service Unavailable · 504 Gateway Timeout · 505 HTTP Version Not Supported · 507 Insufficient Storage · 508 Loop Detected · 511 Network Authentication Required · 520 Web Server Returned an Unknown Error · 521 Web Server Is Down · 522 Connection Timed Out · 523 Origin Is Unreachable · 525 SSL Handshake Failed · 526 Invalid SSL Certificate