Error 524
Error 524
indicates that Cloudflare successfully connected to the origin web server, but the origin did not provide an HTTP response before the default 100 seconds Proxy Read Timeout.
This can happen if the origin server is taking too long because it has too much work to do, for example, a large data query, or because the server is struggling for resources and cannot return any data in time.
The error 524
occurs if the origin web server acknowledges (ACK) the resource request after the connection has been established, but does not send a timely response (within the Proxy Read Timeout delay, 100s by default).
Error 524
can also indicate that Cloudflare successfully connected to the origin web server to write data, but the write did not complete before the 30 seconds Proxy Write Timeout (or 6.5 seconds in the case of Cloudflare Images). This timeout cannot be adjusted.
Here are the options we suggest to work around this issue:
-
Contact your hosting provider to exclude the following common causes at your origin web server:
- A long-running process on the origin web server.
- An overloaded origin web server.
-
Implement status polling of large HTTP processes to avoid hitting this error.
Here are some other actions you can take on the Cloudflare side:
- If you regularly run HTTP requests that take over 100 seconds to complete (for example, large data exports), move those processes behind a subdomain not proxied (DNS-only, grey clouded) in the Cloudflare DNS app.
- Enterprise customers can increase the
524
timeout up to 6,000 seconds:- If your content can be cached, you can create a Cache Rule with the
Proxy Read Timeout
setting. - You can increase the
proxy_read_timeout
setting for the whole zone using the using the Edit zone setting API endpoint.
- If your content can be cached, you can create a Cache Rule with the
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark