You just enabled the Cloudflare proxy and users get "Error 521: Web server is down" or "Error 525: SSL handshake failed".

IntermediateTroubleshootingSite down
Answer

Likely causes → 521: origin refuses connections from Cloudflare IPs (firewall allows only old IPs or blocks them). 525: SSL mode is "Full" or "Full (strict)" but the origin has no valid cert on 443 or the SNI doesn't match.

Diagnose →

curl -vk --resolve app.example.com:443:<origin-ip> https://app.example.com
openssl s_client -connect <origin-ip>:443 -servername app.example.com </dev/null | head -20

Fix → Allow Cloudflare's IP ranges on the origin, install a valid or Cloudflare Origin CA cert, and match SSL mode to what the origin supports.

Prevent → Change proxy and SSL modes in a maintenance window with a direct-to-origin test first, and keep the origin allowlist automated from Cloudflare's published IP list.

All Real-World Interview questions Roadmap: Interview readiness

More on Site down