Custom Hostname Error 522 - Cloudflare SSL for SaaS

Hi Cloudflare community,

I'm encountering an Error 522 (Connection timed out) when trying to access my custom hostname through Cloudflare SSL for SaaS. Here are the details:

  1. Main domain (falback-origin): worker.domain.com (shows "Hello World" when accessed directly)
  2. Custom Host name(custom domain): files.otherdomain.com
  3. Setup:
    • Using Cloudflare SSL for SaaS
    • CNAME and TXT records added and showing as active
    • DNS checkers confirm correct pointing
  4. Issue: When accessing files.otherdomain.com, I get Error 522
I've verified the following:
  • DNS configuration appears correct
  • SSL/TLS encryption mode is set appropriately
  • No obvious firewall rules blocking the connection,
  • the cname record is connected
What else should I check to resolve this timeout issue? Any guidance would be greatly appreciated.

Thank you!
Was this page helpful?