Error 524
Error 524 A Timeout Occurred Error
What This Error Means
Error 524 indicates that Cloudflare made a successful TCP connection to the origin server, but the server did not reply with an HTTP response before the connection timed out (usually 100 seconds).
Common Causes
- A long-running PHP script or database query.
- Server is overloaded and processing requests too slowly.
- Application is waiting for a third-party API that is slow.
- Large file upload taking too long.
How to Fix It (For Users)
- 1 Refresh the page.
- 2 Try again later when the server is less busy.
For Site Owners / Developers
- Optimize your PHP scripts and database queries.
- Increase the timeout limit in Cloudflare (Enterprise only) or your server.
- Use background processing for long tasks.
- Check server load.
When It Is NOT Your Fault
If the server is simply too slow to respond.
Check if this outage affects everyone globally
This error often indicates a wider problem. Use our tool to verify if the site is down for everyone.
Check Website Status →Recommended Tool to Prevent This Error
Fix DNS resolution issues and protect your site from DDoS attacks with Cloudflare.