cloudflare tunnel 404 forbidden that affect on website without zerotrust too

Hey how can I fix the error 403 forbidden with cloudflare tunnel? Subdomain without access to polish / mirage it's on freeplan so no paid features. The cloudflare tunnel only works on two of my domains on my main domain host me.co.il and on linux.repair, all my other 9 domains get 404 forbidden while trying to reach them, the traffic most of the time doesn't arrive to my server it got stuck in CF. What can I do to fix this issue once for all? I already had this issue but now I can see the rocket loader working on my main domain.
19 Replies
Erina Nakiri
Erina NakiriOP17mo ago
Update: I moved one of my domains to a new cloudflare account and now the access to this domain works perfect ??
Chaika
Chaika17mo ago
What's the 403 look like? a blank page? normal cf block page? do you see anything in your tunnel logs (journalctl -u cloudflared -f --lines=100 if on a systemd linux server)?
Erina Nakiri
Erina NakiriOP17mo ago
it does it with and without cloudflared For now the domain already moved to the new cloudflare account so I can't see it because its working now
Chaika
Chaika17mo ago
Still, what did it look like? What it a blank 403 page? or a Cloudflare looking one? 403s can come from a lot of places, CF, the tunnel, or your origin
Erina Nakiri
Erina NakiriOP17mo ago
yes blank white page with 404 Forbidden I'll try to replicated it with other domain give me a sec
Chaika
Chaika17mo ago
404 is not found, 403 is forbidden
Erina Nakiri
Erina NakiriOP17mo ago
yes 403*
Chaika
Chaika17mo ago
If it was entirely blank, it makes me think you enabled Cloudflare Access on that Public Hostname under Adv. Settings, or otherwise the tunnel may be rejecting it in some way, I would check tunnel logs to start
Erina Nakiri
Erina NakiriOP17mo ago
Last time I head something similar to it that was the Rocket loader I think. Or something that does something similar to it but 'm not sure because I can't find the history of the chat here
Chaika
Chaika17mo ago
I've never heard of Rocket Loader doing that. You could check the headers if you get the issue again, if there's no cf-cache-status it's something within CF doing it, maybe check Security Events. If there is, it's downstream
Erina Nakiri
Erina NakiriOP17mo ago
there wasn't any events last time it was Ralgun now I don't know what it can be
Chaika
Chaika17mo ago
Railgun doesn't work with tunnels yea Do you have a url of a page that doesn't work?
Erina Nakiri
Erina NakiriOP17mo ago
Railgun wasn't configured it just was enabled
Chaika
Chaika17mo ago
yea, I think just having it enabled would do that
Erina Nakiri
Erina NakiriOP17mo ago
Now its working since its on new Cf account How can I completely disable it for all of my account ?
Chaika
Chaika17mo ago
looks like I was wrong, I looked up old messages and it looks like it just needs to be disabled/not configured I would be more curious about your configuration. You have Public Hostnames set up for each domain you want to use, right? Keep in mind tunnels only work on the same account as they are created on as well
Erina Nakiri
Erina NakiriOP17mo ago
I know I have more than 6 domains reverting back the problematic domain to the old account
cheshirecat
cheshirecat17mo ago
Btw, Railgun is going EOL (full plug-pull) in January, so it may be worth investigating alternate tools/solutions around caching server-side and in CF, since it will break on that date. I don’t think Railgun will ever become officially supported with Tunnels because of this.
cheshirecat
cheshirecat17mo ago
The Cloudflare Blog
Cloudflare is deprecating Railgun
Cloudflare will deprecate Railgun on January 2024
Want results from more Discord servers?
Add your server