Tunnel stopped working

I have been using the tunnel for 2+ years and today it suddenly stopped working. When I check the service status on the VM (Debian 12) this is what I get. root@tunnel:~# systemctl status cloudflared ● cloudflared.service - cloudflared Loaded: loaded (/etc/systemd/system/cloudflared.service; enabled; preset: enabled) Active: activating (start) since Thu 2025-04-17 19:24:17 CDT; 37min ago Main PID: 495 (cloudflared) Tasks: 9 (limit: 4583) Memory: 46.9M CPU: 793ms CGroup: /system.slice/cloudflared.service └─495 /usr/bin/cloudflared --no-autoupdate tunnel run --token eyJhIjoiYjJjMDUy... Apr 17 20:00:21 tunnel cloudflared[495]: 2025-04-18T01:00:21Z INF Retrying connection in up to 1m4s connIndex=0 event=0 ip=198.41.192.77 Apr 17 20:00:53 tunnel cloudflared[495]: 2025-04-18T01:00:53Z ERR failed to serve incoming request error="Unauthorized: Invalid tunnel secret" Apr 17 20:00:53 tunnel cloudflared[495]: 2025-04-18T01:00:53Z ERR Register tunnel error from server side error="Unauthorized: Invalid tunnel secret" connIndex=0 event=0 ip=198.41.192.77 Apr 17 20:00:53 tunnel cloudflared[495]: 2025-04-18T01:00:53Z INF Retrying connection in up to 1m4s connIndex=0 event=0 ip=198.41.192.77
2 Replies
Chaika
Chaika4d ago
That --token ey... string is your Tunnel Secret, with that value anyone can run your tunnel and mitm/hijack traffic. Be very careful with exposing it. It looks like it's invalid anyway though I'd go to the zero trust page for your tunnel, three dots -> configure, Refresh the token from the overview page, and then run sudo cloudflared service uninstall and then copy the install command that Zero trust gives you, from the overview page
🍻𝓢𝓾𝓭𝓼𝓜𝓪𝓴𝓮𝓻🍻
Thank you I'll give it a try. All good, appreciate your help. Something to remember too.

Did you find this page helpful?