Cloudflare Error 521: A Small-Business Triage Card
What should a small business check when Cloudflare displays Error 521?
Host-Tracker says Cloudflare Error 521 appears as an “Error 521: web server is down” page with a Ray ID. Keep it separate from 522 and 520: Host-Tracker describes 522 as receiving no answer within Cloudflare's timeout window and 520 as a successful connection followed by a broken HTTP response. Investigate firewall blocking or a struggling origin only as hypotheses, and confirm any explanation from relevant logs before changing configuration.
Recognise the 521 page
Host-Tracker says visitors see Cloudflare’s “Error 521: web server is down” page with a Ray ID. Copy those displayed details, the affected URL and the observed time into an incident note so a technical contact can match the report to available records.
Sources: Cloudflare Error 521: web server is down - causes and fixes.
- Record the wording.
- Record the Ray ID.
- Record the URL and observed time.
Keep 521 separate from 522 and 520
Host-Tracker describes error 522 as receiving no answer within Cloudflare’s timeout window and error 520 as a successful connection followed by a broken HTTP response. Keep these descriptions separate in the incident note because they identify different reported conditions, although none establishes the root cause.
Sources: Cloudflare Error 521: web server is down - causes and fixes.
Review the two-connection boundary when the available evidence suggests that the origin connection needs closer attention.
- Do not call 521 a 522 condition.
- Do not call 521 a 520 condition.
- Use the displayed code as the starting point.
Choose the first explanations to verify
A Google Search Central Community member suggested that origin firewalls could block Cloudflare nodes and that an origin may be overloaded or struggling to serve requests. Ask the person with access to verify those possibilities from the relevant records rather than making a broad configuration change.
Use an origin readiness checklist if the review also raises questions about secure origin connectivity.
- Check for firewall evidence.
- Check whether the origin is struggling.
- Do not assume either explanation is proven.
Use logs to confirm the next action
Cloudflare advises checking logs for load balancers, caches, proxies and firewalls between Cloudflare and the origin web server. Use matching records to decide whether the next action belongs with the host, firewall manager, developer or another provider.
Sources: Cloudflare 5xx errors · Cloudflare Support docs.
Use the nameserver recovery post when the 521 failure began immediately after a Cloudflare delegation change.
- Check the origin log.
- Check intermediary logs.
- Change only what the records support.
521, 522 and 520 comparison card
Use this card to keep the displayed error descriptions accurate while collecting evidence. It does not diagnose the cause of an incident.
| Displayed condition | How Host-Tracker describes it | First record to preserve |
|---|---|---|
| 521 | “Error 521: web server is down” page with a Ray ID | Page details, affected URL and observed time |
| 522 | No answer within Cloudflare’s timeout window | Displayed code and matching origin or intermediary records |
| 520 | Connection succeeds, then the HTTP response is broken | Displayed code and matching origin or intermediary records |
Confirm the provider’s current requirements in its own documentation and use relevant logs before making a service-affecting change.
When this is not the right approach: This card is not a substitute for provider incident support when the website is unavailable and you lack access to the origin or intermediary records.
Related guidance
What follow-up questions matter most?
- What does Cloudflare Error 521 look like?
- Host-Tracker says visitors see Cloudflare's “Error 521: web server is down” page with a Ray ID. Record the displayed details before investigating possible causes.
- How is 521 different from 522 and 520?
- Host-Tracker describes 522 as receiving no answer within Cloudflare's timeout window and 520 as a connection that succeeds before a broken HTTP response follows.
- Does Error 521 prove my firewall is blocking Cloudflare?
- No. A community member suggested firewall blocking and a struggling origin as possibilities, not confirmed causes. Check the relevant records before deciding.
What steps does this workflow follow?
Error 521 triage card
- Record the displayed page: Capture the 521 wording, Ray ID, affected URL and observed time.
- Keep the code distinct: Do not substitute the descriptions of 522 or 520 for the 521 incident you observed.
- Verify possible causes: Check relevant firewall and origin evidence before changing configuration.
- Check the delivery path: Review origin and intermediary logs to decide what a technical contact should investigate next.