Cloudflare for SaaS Connection timed out issues

I have been trying to implement Custom Domains for my SaaS

I have been stuck with it for weeks now

I’m using Cloudflare for SaaS, I have created a worker and pointed accordingly

But when a user points to my CName, it shows “connection timeout out”

The CName works if visited directly.