---
title: "524 A Timeout Occurred in Cloudflare"
canonical: "https://lemwatch.com/http-status-codes/524/in-cloudflare"
platform: "Cloudflare"
last_verified: "2026-08-11"
source: "https://lemwatch.com"
---

# HTTP 524 A Timeout Occurred in Cloudflare

**Platform** — Cloudflare — CDN, WAF, and edge network in front of your origin.

**Where it surfaces** — The Cloudflare edge before your origin ever sees the request. Look at the Ray ID in the response.

## Cause on this platform

Origin took longer than 100s to send headers.

## Fix on this platform

Move the long task to a background queue, or upgrade to Enterprise for a longer timeout.


## Generic reference

Cloudflare established a TCP connection to the origin but the origin did not reply with an HTTP response in time.

_Canonical HTML page: https://lemwatch.com/http-status-codes/524/in-cloudflare_
