524 A Timeout Occurred

Cloudflare connected to the origin but the origin did not send a complete response within the time limit.

Status

HTTP/1.1 524 A Timeout Occurred

Details

524 is Cloudflare's version of a gateway timeout. The TCP connection succeeded and the request was delivered, but the origin did not finish responding within Cloudflare's proxy timeout, which is 100 seconds on standard plans.

It points at slow application work rather than at connectivity: long database queries, blocking third-party calls, or a request that is simply doing too much synchronously.

Common causes

How to fix it

As the client

As the server

Examples

GET /export/full-catalog HTTP/1.1
Host: www.example.com

HTTP/1.1 524
Server: cloudflare

See also