d347h
October 9, 2023, 1:43am
1
I messed up, when my tunnels disappeared today, I tried reinstalling my cloudflare tunnel.
I also accidentally deleted my old tunnel from cloudflare
apt purge cloudflared
then deleted the 3 cloudflared services at /etc/systemd/system
When I run:
sudo cloudflared service install code
It just says:
INF Using Systemd
And nothing more, I let it run several hours. What should I do to install my new tunnel??
Chaika
October 9, 2023, 2:47am
4
The incident is still active: Cloudflare Status - Elevated 5xx HTTP Errors and Availability Issues
We are also working to improve performance to fully restore Warp, Streams, Images, Tunnels.
I believe when it is stuck like that, the service is already installed, just broken. You could check via sudo systemctl status cloudflared
. (assuming using an os which uses systemd)
If so, wait until the incident is over, and then try restarting the service (sudo systemctl restart cloudflared
). Otherwise, you may need to install the tunnel again.
I would continue watching that incident status page. From what others have reported and I have seen, existing tunnels seem to be mostly working now, just any new tunnels fail.
1 Like
d347h
October 9, 2023, 4:36pm
5
I just got home from work, nothing changed no progress.
if i start or restart the service it gets stuck infinitely.
d347h
October 9, 2023, 4:46pm
6
So when I try to install my tunnel, when it hangs indefinitely it does actually install the 3 cloudflared services in /etc/systemd/system. But can’t start
Chaika
October 9, 2023, 5:05pm
7
What do you see in the service logs? i.e journalctl -u cloudflared -f --lines=100
(if using systemd)
d347h
October 9, 2023, 5:49pm
8
Oct 09 12:44:52 location.ratz.pro cloudflared[3128]: 2023-10-09T17:44:52Z ERR Register tunnel error from server side error="Unauthorized: Invalid tunnel secret" connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:44:52 location.ratz.pro cloudflared[3128]: 2023-10-09T17:44:52Z INF Retrying connection in up to 1m4s connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:45:03 location.ratz.pro cloudflared[3128]: 2023-10-09T17:45:03Z ERR failed to serve incoming request error="Unauthorized: Invalid tunnel secret"
Oct 09 12:45:03 location.ratz.pro cloudflared[3128]: 2023-10-09T17:45:03Z ERR Register tunnel error from server side error="Unauthorized: Invalid tunnel secret" connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:45:03 location.ratz.pro cloudflared[3128]: 2023-10-09T17:45:03Z INF Retrying connection in up to 1m4s connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:45:22 location.ratz.pro cloudflared[3128]: 2023-10-09T17:45:22Z ERR failed to serve incoming request error="Unauthorized: Invalid tunnel secret"
Oct 09 12:45:22 location.ratz.pro cloudflared[3128]: 2023-10-09T17:45:22Z ERR Register tunnel error from server side error="Unauthorized: Invalid tunnel secret" connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:45:22 location.ratz.pro cloudflared[3128]: 2023-10-09T17:45:22Z INF Retrying connection in up to 1m4s connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:45:28 location.ratz.pro cloudflared[3128]: 2023-10-09T17:45:28Z ERR failed to serve incoming request error="Unauthorized: Invalid tunnel secret"
Oct 09 12:45:28 location.ratz.pro cloudflared[3128]: 2023-10-09T17:45:28Z ERR Register tunnel error from server side error="Unauthorized: Invalid tunnel secret" connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:45:28 location.ratz.pro cloudflared[3128]: 2023-10-09T17:45:28Z INF Retrying connection in up to 1m4s connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:45:30 location.ratz.pro cloudflared[3128]: 2023-10-09T17:45:30Z ERR failed to serve incoming request error="Unauthorized: Invalid tunnel secret"
Oct 09 12:45:30 location.ratz.pro cloudflared[3128]: 2023-10-09T17:45:30Z ERR Register tunnel error from server side error="Unauthorized: Invalid tunnel secret" connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:45:30 location.ratz.pro cloudflared[3128]: 2023-10-09T17:45:30Z INF Retrying connection in up to 1m4s connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:45:57 location.ratz.pro cloudflared[3128]: 2023-10-09T17:45:57Z ERR failed to serve incoming request error="Unauthorized: Invalid tunnel secret"
Oct 09 12:45:57 location.ratz.pro cloudflared[3128]: 2023-10-09T17:45:57Z ERR Register tunnel error from server side error="Unauthorized: Invalid tunnel secret" connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:45:57 location.ratz.pro cloudflared[3128]: 2023-10-09T17:45:57Z INF Retrying connection in up to 1m4s connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:46:25 location.ratz.pro cloudflared[3128]: 2023-10-09T17:46:25Z ERR failed to serve incoming request error="Unauthorized: Invalid tunnel secret"
Oct 09 12:46:25 location.ratz.pro cloudflared[3128]: 2023-10-09T17:46:25Z ERR Register tunnel error from server side error="Unauthorized: Invalid tunnel secret" connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:46:25 location.ratz.pro cloudflared[3128]: 2023-10-09T17:46:25Z INF Retrying connection in up to 1m4s connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:46:57 location.ratz.pro cloudflared[3128]: 2023-10-09T17:46:57Z ERR failed to serve incoming request error="Unauthorized: Invalid tunnel secret"
Oct 09 12:46:57 location.ratz.pro cloudflared[3128]: 2023-10-09T17:46:57Z ERR Register tunnel error from server side error="Unauthorized: Invalid tunnel secret" connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:46:57 location.ratz.pro cloudflared[3128]: 2023-10-09T17:46:57Z INF Retrying connection in up to 1m4s connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:47:13 location.ratz.pro cloudflared[3128]: 2023-10-09T17:47:13Z ERR failed to serve incoming request error="Unauthorized: Invalid tunnel secret"
Oct 09 12:47:13 location.ratz.pro cloudflared[3128]: 2023-10-09T17:47:13Z ERR Register tunnel error from server side error="Unauthorized: Invalid tunnel secret" connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:47:13 location.ratz.pro cloudflared[3128]: 2023-10-09T17:47:13Z INF Retrying connection in up to 1m4s connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:47:38 location.ratz.pro cloudflared[3128]: 2023-10-09T17:47:38Z ERR failed to serve incoming request error="Unauthorized: Invalid tunnel secret"
Oct 09 12:47:38 location.ratz.pro cloudflared[3128]: 2023-10-09T17:47:38Z ERR Register tunnel error from server side error="Unauthorized: Invalid tunnel secret" connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:47:38 location.ratz.pro cloudflared[3128]: 2023-10-09T17:47:38Z INF Retrying connection in up to 1m4s connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:47:40 location.ratz.pro cloudflared[3128]: 2023-10-09T17:47:40Z ERR failed to serve incoming request error="Unauthorized: Invalid tunnel secret"
Oct 09 12:47:40 location.ratz.pro cloudflared[3128]: 2023-10-09T17:47:40Z ERR Register tunnel error from server side error="Unauthorized: Invalid tunnel secret" connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:47:40 location.ratz.pro cloudflared[3128]: 2023-10-09T17:47:40Z INF Retrying connection in up to 1m4s connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:47:44 location.ratz.pro cloudflared[3128]: 2023-10-09T17:47:44Z ERR failed to serve incoming request error="Unauthorized: Invalid tunnel secret"
Oct 09 12:47:44 location.ratz.pro cloudflared[3128]: 2023-10-09T17:47:44Z ERR Register tunnel error from server side error="Unauthorized: Invalid tunnel secret" connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:47:44 location.ratz.pro cloudflared[3128]: 2023-10-09T17:47:44Z INF Retrying connection in up to 1m4s connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:47:46 location.ratz.pro cloudflared[3128]: 2023-10-09T17:47:46Z ERR failed to serve incoming request error="Unauthorized: Invalid tunnel secret"
Oct 09 12:47:46 location.ratz.pro cloudflared[3128]: 2023-10-09T17:47:46Z ERR Register tunnel error from server side error="Unauthorized: Invalid tunnel secret" connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:47:46 location.ratz.pro cloudflared[3128]: 2023-10-09T17:47:46Z INF Retrying connection in up to 1m4s connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:48:10 location.ratz.pro cloudflared[3128]: 2023-10-09T17:48:10Z ERR failed to serve incoming request error="Unauthorized: Invalid tunnel secret"
Oct 09 12:48:10 location.ratz.pro cloudflared[3128]: 2023-10-09T17:48:10Z ERR Register tunnel error from server side error="Unauthorized: Invalid tunnel secret" connIndex=0 event=0 ip=198.41.192.227
Oct 09 12:48:10 location.ratz.pro cloudflared[3128]: 2023-10-09T17:48:10Z INF Retrying connection in up to 1m4s connIndex=0 event=0 ip=198.41.192.227
I do not know that ip address
Chaika
October 9, 2023, 5:58pm
9
That’s Cloudflare’s edge IP, normal to see.
It looks like your tunnel never got properly created, or you rotated the secret. It would probably be simplest to just uninstall the service (sudo cloudflared service uninstall
), delete the tunnel, recreate it, and try to reinstall
d347h
October 9, 2023, 6:12pm
10
Deleted the service files, deleted my tunnel, started a new one.
Tried installing it, it still gets stuck.
Log says:
Oct 09 13:11:33 location.ratz.pro cloudflared[3128]: 2023-10-09T18:11:33Z ERR Register tunnel error from server side error="Unauthorized: Failed to get tunnel" connIndex=0 event=0 ip=198.41.192.227
Oct 09 13:11:33 location.ratz.pro cloudflared[3128]: 2023-10-09T18:11:33Z INF Retrying connection in up to 1m4s connIndex=0 event=0 ip=198.41.192.227`
type or paste code here
```
d347h
October 11, 2023, 7:28pm
11
Anybody? Is cloudflare still working on it??
Since 4 or 5 days I have a similar problem on mobile with warp tunnel on 1.1.1.1 application.
Chaika
October 11, 2023, 11:41pm
13
I can create a new tunnel without any issue.
If you’re still getting that error, is it possible you didn’t reload systemctl (systemctl daemon-reload
) when you deleted the service files, or somehow are trying to use the old tunnel still? That error sounds like that tunnel doesn’t exist at all. If you manually delete the service files, reload systemctl, and then grab the install command from the tunnel you created, it shouldn’t have any issues.
d347h
October 12, 2023, 3:02am
14
Last night i did that but it was still stuck.
Great news, it works now!
Thanks
2 Likes