---
title: "Cloudflare Error 524 on WordPress: cause and fix"
description: "Cloudflare closes the connection after 100 seconds. Long WordPress jobs — imports, backups, WooCommerce reports — exceed that even though they eventually…"
canonical: "https://lemwatch.com/errors/cloudflare-524/in-wordpress"
source: "https://lemwatch.com"
---

# Cloudflare Error 524 on WordPress

> Cloudflare closes the connection after 100 seconds. Long WordPress jobs — imports, backups, WooCommerce reports — exceed that even though they eventually finish.

## Why it happens on WordPress

 Cloudflare closes the connection after 100 seconds. Long WordPress jobs — imports, backups, WooCommerce reports — exceed that even though they eventually finish.

## The fix on WordPress

 Move long jobs to WP-Cron or a queue and return immediately. For admin-side imports, run them over a Grey-clouded (DNS-only) subdomain so Cloudflare's timeout does not apply.

## If that didn't fix it

 WordPress has its own failure mode, but Cloudflare Error 524 has a wider set of causes. The most common one overall is: A single request genuinely takes longer than 100 seconds.

 Move the work to a background job and return immediately with a status the client can poll. Long synchronous requests are fragile regardless of the CDN.

## Check your own domain

 An external probe reports actual response time, which tells you how close normal requests are running to the limit before they tip over.

## Frequently asked questions

### Why does Cloudflare Error 524 happen on WordPress?

 Cloudflare closes the connection after 100 seconds. Long WordPress jobs — imports, backups, WooCommerce reports — exceed that even though they eventually finish.

### How do I fix Cloudflare Error 524 on WordPress?

 Move long jobs to WP-Cron or a queue and return immediately. For admin-side imports, run them over a Grey-clouded (DNS-only) subdomain so Cloudflare's timeout does not apply.

### What does Cloudflare Error 524 mean?

 Cloudflare connected to the origin successfully, but the origin took longer than 100 seconds to send a complete response. The request is too slow, not unreachable.


## Related

- [All causes of Cloudflare Error 524](https://lemwatch.com/errors/cloudflare-524)
- [All website error codes](https://lemwatch.com/errors)
- [Free Uptime & response check](https://lemwatch.com/tools/website-uptime)
- [Cloudflare Error 525: SSL handshake failed with the origin](https://lemwatch.com/errors/cloudflare-525)
- [All monitoring checks](https://lemwatch.com/features)
