Causes
- Error 524 indicates that Cloudflare successfully made a TCP connection to the origin web server, but the origin did not provide a HTTP response before the default 100 second connection timed out.
Fixes
Step 1: Contact NET Support
Contact NET to exclude the following common causes at your origin web server:
- A long-running process on the origin web server.
- An overloaded origin web server.
Step 2: Move Processes Behind A Subdomain
If you regularly run HTTP requests that take over 100 seconds to complete (for example large data exports), move those processes behind a subdomain not proxied (grey clouded) in the Cloudflare DNS app.
Step 3: Ensure Timeout Is Set
If occurs for a domain using Cloudflare Railgun, ensure the timeout is set higher than the default of 30 seconds and restart the railgun service.