Cloudflare Error 524 A Timeout Occurred
Cloudflare error 524 means Cloudflare connected to your origin, but the origin did not send an HTTP response within 100 seconds, Cloudflare’s default proxy…
Quick answer
Cloudflare error 524 means Cloudflare connected to your origin, but the origin did not send an HTTP response within 100 seconds, Cloudflare’s default proxy read timeout. The connection worked; the request took too long, usually because of a slow query, report or import.
Last updated · Maintained by FreeAIToolz · How we test
What does Cloudflare Error 524 A Timeout Occurred mean?
Long-running requests (exports, imports, big reports) are the usual trigger. Enterprise plans can raise the timeout, but the better fix is to make the work asynchronous.
| Status code | 524 |
|---|---|
| Name | A Timeout Occurred |
| Class | 5xx Server Error |
| Defined in | Cloudflare (non-standard) |
| Safe to retry automatically? | Yes, with backoff |
What causes Cloudflare Error 524?
- A slow database query or long-running script.
- A slow external API call inside the request.
- Origin overload causing slow responses.
How do I fix Cloudflare Error 524?
- Move long work to a background job and return 202 with a status URL.
- Optimise slow queries (indexes, caching).
- Route very long requests through a subdomain that is not proxied by Cloudflare (grey cloud).
What should a client do after Cloudflare Error 524?
Retry later; for known long tasks, use an async status endpoint.
Does Cloudflare Error 524 affect SEO?
Pages that take this long are effectively unavailable to Googlebot; speed them up.
Other 5xx status codes
The server failed to fulfil a valid request. Retrying later, with backoff, is usually reasonable.
- 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
Frequently asked questions
Can I increase Cloudflare’s 100-second timeout?
524 vs 504?
Is 524 a client or server error?
Related
- 504 Gateway Timeout HTTP 504 Gateway Timeout means a gateway or proxy did not get a response from the upstream server in time.
- 522 Connection Timed Out Cloudflare error 522 means Cloudflare’s TCP connection to your origin server timed out before it was establish.
- 499 Client Closed Request HTTP 499 Client Closed Request is a non-standard code logged by Nginx when the client closed the connection be.
- 202 Accepted HTTP 202 Accepted means the server has accepted the request for processing but has not finished it.
- Open the HTTP Status Codes Reference → Free, no signup.