© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•2y ago•
31 replies
Manuel Ogomigo

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!
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Cloudflare for SaaS Custom Hostname Limit
Cloudflare DevelopersCDCloudflare Developers / general-help
15mo ago
Cloudflare SaaS custom hostname 525
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
cloudflare for SaaS fallback origin(522 error)
Cloudflare DevelopersCDCloudflare Developers / general-help
5mo ago
SSL for SaaS: Users are getting status 522 error responses
Cloudflare DevelopersCDCloudflare Developers / general-help
12mo ago