What it means
By default Cloudflare waits 100 seconds for the origin server to respond. If the application doesn't return a response in that time, a 524 is shown. It's typical of long exports, reports, imports or slow queries.
Most common causes
- A long-running task in the application (export, import, report generation).
- A slow database query.
- An overloaded origin server.
- Locking or waiting on an external service.
What you can do as a visitor
- Try again later. For exports, try a smaller data range.
What the site owner or developer should do
- Run long tasks asynchronously (job queue) and deliver the result by email or notification.
- Optimise queries and add indexes.
- For long-running endpoints, use a subdomain that bypasses the Cloudflare proxy (grey cloud), or the Enterprise timeout setting.
Impact on SEO and Google
A 524 usually affects backend functions; if it appears on public pages, it points to serious slowness.
Frequently asked questions
Can I extend the 100 seconds?
Not on the Free and Pro plans; on Enterprise, yes. It's better to run the task asynchronously.
524 or 504?
Both mean a timeout. 524 is specific to Cloudflare.