All status codes

5xx Server errors · Cloudflare (not part of the HTTP standard)

524 A Timeout Occurred

Cloudflare connected to the origin, but it didn't respond within 100 seconds.

Common causes

  • A long-running request: big reports, slow queries, imports.

How to fix it

  • Make the request faster, or run the work in the background and poll for the result.
Full troubleshooting guideCloudflare error 524: a timeout occurredYour server took longer than Cloudflare's 100-second limit to respond. Find the slow part and move long tasks to background jobs.

Find out the moment your site returns 524

Spot Downtime monitors count this as down and alert you, since visitors see an error. (The public “Is it down?” checker treats 4xx answers from big sites as online, because many refuse automated requests.)