Tunnel not working
I have installed cloudflared and when I run "cloudflared service install X" it says
41 Replies
I assume you installed before, did you uninstall using
cloudflared service uninstall
?
I am typing cause I went through my own tunnel troubled today lmaoI tried that, it also gave me an error
And yes, I had it installed before
It gives me this error:
I mean.... I assume the error is thrown because a key already exists, I am inclined to say delete the key, though I think renaming it from
SYSTEM\CurrentControlSet\Services\EventLog\Application\Cloudflared.bck```
will be better.... if this solves your issue be sure to delete this backup.. and make sure no instances of cloudflared are running.
Where do I find this? Is it on my dashboard somewhere or locally?
This is in the registry
Should be somewhere here
I don't have it for some reason.... what version of cloudflared are you using?
I have it and deleted it, it seems to work now
Just testing
Nice
I have the latest version
Weird, I didn't find any registry keys for it.. at least on this system
Let me check on another one
Still isn't working
Says it's healthy but it isn't forwarding the port
What are you forwarding?
Localhost:8000
Is it an SSH port, HTTP, something else?
Http
Says server IP address could not be found.
Hmmmmm....
When you visit the URL thats visible on Zero Trust?
Yes
Cloud flare says domain is active, zero trust says healthy but doesn't work at all
Does it show this when you go to configure?
Yes, shows exactly like that
But with my domain
Let me try to make this locally
Sounds like DNS. Either you visited it too fast and it's being cached or something else. Can you share the url?
There's legitimately no dns record/cname created for that, nothing routing traffic to the tunnel. You setup your public hostname directly on your root/apex and not on a subdomain or anything?
Yes
Adding this worked
What does your public hostname look like?
Public hostname has no subdomain? (is that an issue even?)
it's perfectly fine to use tunnels on your root, but it should have made a DNS record for it
easiest thing to try is just deleting and recreating
The tunnel?
the public hostname
ok
I did not know that.... thats pretty cool!
I'm assuming you already readded it, looks like it works now
first time you added it maybe domain was still activating or something else failed to add the dns record. If it still doesn't work on your end, gotta wait for dns cache to expire or manually clear
How do you do that?
It isn't working on my end but that is what's meant to happen
clear dns cache? It depends on OS. If you wait it out it shouldn't be more then an hour or so at max.
It's usually a matter of two things: 1 clearing local/browser dns cache and 2 switching to a public resolver like 1.1.1.1/8.8.8.8 and not your ISP's default which sometimes have aggressive caching policies ignoring TTLs
It's working on my PC now but not my phone
I'll just wait but thanks for the help