< HTTP/1.1 523 Origin Is Unreachable523 Origin Is Unreachable
Cloudflare-specific error when the origin server's IP address is unreachable. Learn about DNS and routing issues causing 523 errors.
- Cacheable
- No
- Retry?
- No, until DNS or routing is fixed
- Usually sent by
- Cloudflare edge
TL;DR: Cloudflare has no working network path to your origin IP. Check that the DNS record in Cloudflare points to a public, current address (not 10.x, 172.16-31.x or 192.168.x) and that your host’s routing or CDN-facing network is healthy.
What it means
523 means Cloudflare could not route to the IP your DNS record resolves to. Unlike 522, where Cloudflare reaches the network and waits, here the destination cannot be reached at all, so the error is usually quick. Typical causes:
- The A/AAAA record holds a private (RFC 1918) address or a stale IP after a migration.
- The record is an IPv6 address the origin network does not route to Cloudflare.
- A routing or BGP problem at the hosting provider, or an ISP outage.
- The origin is behind a tunnel or load balancer that was deleted.
Who sent it?
server: cloudflare, a cf-ray header and the page “Origin is unreachable”. Your servers see nothing.
Fix it
-
Check what Cloudflare resolves. In the dashboard, DNS, confirm the record for the hostname (and any CNAME target) is correct and proxied only if intended.
dig +short example.com @1.1.1.1 # proxied records show Cloudflare IPs dig +short origin.example.com # an unproxied record shows the origin IP -
Reject private addresses. Public Cloudflare cannot reach
192.168.1.10. Use a public IP or Cloudflare Tunnel (cloudflared) for origins that have none. -
Test the IP directly from outside your network:
ping -c 3 203.0.113.10 mtr -rwc 20 203.0.113.10 curl -sv --resolve example.com:443:203.0.113.10 https://example.com/ -o /dev/null -
Check AAAA records. An AAAA record pointing at an unreachable IPv6 address breaks Cloudflare’s IPv6 path even though IPv4 works. Remove it or fix the origin’s IPv6.
-
Contact the hosting provider if traceroutes die inside their network; check their status page for outages.
-
Cloud load balancers. Verify the ALB/ELB, Elastic IP or forwarding rule still exists and the subnet route table has an internet gateway.
523 vs the others
| Code | Meaning |
|---|---|
| 521 | Reached the host; connection refused |
| 522 | Reached the network; no reply (timeout) |
| 523 | No route to the origin IP at all |
| 530 | Cloudflare error response with an error 1xxx code in the body (for example 1016 Origin DNS error) |
For 530 and 1xxx codes the number shown in the page body, such as “Error 1016”, is the one to look up in Cloudflare’s documentation.
Related
Frequently asked questions
What does Cloudflare error 523 mean?
A 523 error means Cloudflare cannot reach your origin server at all. This is typically a DNS or routing issue where the origin IP address is unreachable.
How do I fix a 523 error?
Verify your DNS records in Cloudflare point to the correct origin IP, check that your origin server IP is publicly routable, and ensure no network issues between Cloudflare and your server.
What causes 523 errors?
Common causes include incorrect origin IP in DNS settings, origin server IP changed, network routing issues, or origin server on a private network not accessible from internet.
How do I check my Cloudflare DNS settings?
Log into Cloudflare dashboard, go to DNS settings, and verify the A or AAAA record for your domain points to your actual origin server IP address.
Sources
Related
530 Error with 1xxx Codes (Cloudflare)
Cloudflare 530 never appears alone: it comes with a 1xxx error such as 1016 Origin DNS error or 1033 Tunnel error. Read the code in the page body and fix it.
520 Web Server Returned an Unknown Error
Cloudflare-specific error when the origin server returns an unexpected response. Learn about 520 errors and how to troubleshoot them.
521 Web Server Is Down
Cloudflare-specific status code indicating the origin server refused the connection. Learn about this proxy error and how to troubleshoot it.
522 Connection Timed Out
Cloudflare-specific error when unable to establish a TCP connection to the origin server. Learn how to diagnose and fix 522 timeout errors.