Connection timed out Error code 522

Hello, I have created a pages and completed all steps through the SaaS function. Everything is as shown in the tutorial effect, including fallback origin and Custom Hostnames. However, when opening www.mystore.com and customers.saasprovider.com, it shows: Connection timed out Error code 522. proxy-fallback.saasprovider.com can be used normally. What should I do?
No description
1 Reply
Chaika
Chaika2mo ago
Pages uses CF For SaaS under the hood for custom domains as well, basically has its own host header allowlist, it can't directly be your fallback origin. Your options are: 1. Directly add Customer Domains up to the limit under the Pages Project Custom Domains tab 2. Use a Worker to proxy all the requests to your pages.dev (would have to pay per request), Snippets would be an option for Pro or higher too but they're in alpha
Want results from more Discord servers?
Add your server