524
- Who defines it
- Cloudflare
- Meaning
- Connected, origin acknowledged the request, but no response within the Proxy Read Timeout (125 seconds by default)
Cloudflare error 524 means the origin connected but sent no response within 125 seconds. See the causes, the Enterprise timeout setting and workarounds.
Cloudflare error 524 means Cloudflare connected to your origin server, but the origin sent no HTTP response before the default 125-second Proxy Read Timeout. It is a Cloudflare-defined status, not standard HTTP. The cause is a slow request or a struggling origin. Speed up the work, poll long jobs, or move them off the proxy.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
The origin side is the cause. Cloudflare gives two examples: the server has too much work to do, such as a large data query, or it is short of resources and cannot return data in time. A related 524 can appear when Cloudflare connects to write data but the write does not finish within the 30-second Proxy Write Timeout (6.5 seconds for Cloudflare Images); that timeout cannot be adjusted. Cloudflare's connection limits page lists both timeouts with 524 as the status at the limit, and marks only the Proxy Read Timeout as configurable, for Enterprise zones.
A reload may work if the server was briefly overloaded. If it times out again, the owner needs to act.
If the page loads on mobile data or on someone else's connection, the problem is local. If it fails everywhere, the site has the fault.
Send the exact URL, the time with your timezone and the error code. Cloudflare lists those details for owners to give a hosting provider. Add the Ray ID if the error page shows one, since Cloudflare's log tools can filter by it.
The Cache Rule route needs cacheable content for the rule to trigger, although the content does not need to be cached already. Cloudflare also notes you may see a 1 second difference between the timeout you set and when the 524 is returned, and suggests setting it one second higher, for example 126 instead of 125.
# log_format is valid in the http context: add request time and upstream time
log_format timed '$remote_addr "$request" $status '
'rt=$request_time urt=$upstream_response_time';
access_log /var/log/nginx/access.log timed;Then look for requests near the limit. Cloudflare's Origin Analytics can show P95 response times close to the Proxy Read Timeout; if they are, identify the slow paths in its Top endpoints table and optimize them, or increase the timeout if you are on an Enterprise zone. In the nginx format, $request_time is the time to process the whole request and $upstream_response_time is the time spent receiving the response from the upstream server.
A 524 differs from a 504 you may see from your own proxy, and from a 522, where the TCP connection or its acknowledgment never completed. If your origin returns a real 502 or 504, see 502 Bad Gateway.
Google treats 5xx responses as server errors: its crawlers slow down, content returned with them is ignored, and URLs already indexed are kept for a while but eventually dropped if the errors persist. Slow pages that end in a 524 are served to crawlers as server errors. See 5xx server errors for how to trace the pattern and confirm recovery, and Google's documentation on how HTTP status codes affect its crawlers.
4 questions people ask next, answered from the sources on this page.
Cloudflare connected to your origin web server, but the origin sent no HTTP response before the Proxy Read Timeout, 125 seconds by default. It is a Cloudflare-specific status, not part of the HTTP standard.
Find and speed up the slow request, poll status for large jobs, or serve long-running processes from a non-proxied (DNS-only) subdomain. Enterprise customers can raise the timeout up to 6,000 seconds.
Only on Enterprise plans, per Cloudflare: up to 6,000 seconds through a Cache Rule with the Proxy Read Timeout setting or the zone setting API. The 30-second Proxy Write Timeout cannot be adjusted.
No. A 504 Gateway Timeout is a standard HTTP status. A 524 is Cloudflare's own status for a connected origin that did not respond within the Proxy Read Timeout.
Run the free audit, then approve the fixes. Every change can be undone.