Tunnel has been deleted at random

My domain has a single tunnel registered to it. I have a script that runs every 15 minutes to check the tunnel’s health, and starting at 1PM PT, getting the tunnel’s status returned:

    {
      "code": 1070,
      "message": "Service is unavailable at this moment. Please try again later."
    }

Attempting to visit my sites is resulting a Bad Gateway 502 page with “Host Error”. When I visit the Tunnels page in the console, my Tunnel is no longer displayed. This appears to have been completely random from my side - I haven’t touched the Tunnel configuration in weeks.

I run cloudflared in a container, and it’s showing:

...
cloudflared  | 2023-10-08T20:16:23Z ERR failed to serve incoming request error="Cloudflared reached the Cloudflare edge, but there was an unknown error registering the connection"
cloudflared  | 2023-10-08T20:16:23Z ERR Register tunnel error from server side error="Cloudflared reached the Cloudflare edge, but there was an unknown error registering the connection" connIndex=0 event=0 ip=...
cloudflared  | 2023-10-08T20:16:23Z INF Retrying connection in up to 2s connIndex=0 event=0 ip=...
cloudflared  | 2023-10-08T20:16:25Z INF Tunnel server stopped
cloudflared  | 2023-10-08T20:16:25Z ERR Initiating shutdown error="Cloudflared reached the Cloudflare edge, but there was an unknown error registering the connection"
...

One more callout which may or may not be relevant - I’m in the Seattle area (both the server and the client).

There is currently a Cloudflare incident impacting the tunnel api: Cloudflare Status - Elevated 5xx HTTP Errors and Availability Issues

It looks like any existing connected tunnels are still working, but any which are restarted cannot reconnect. I would wait out the incident, and then try restarting the tunnel.

1 Like

Thanks. I checked https://www.cloudflarestatus.com/ at around 1 PT, and it was reporting no issues. I see that it’s now showing an incident.

1 Like

This is happening with me also, I didn’t think to look online initially, just thought I’d re-install the tunnel.
Uninstalled the cloudflared tunnel from my server, when I go to zerotrust and try creating a new tunnel I got the error ‘cannot edit tunnel’

Hi guys, I think me and my brother caused this issue! sorry all. We crashed it.
Can someone at cloudflare contact us to check our accounts? we can explain all steps we took.

we crashed it while setting up the tunnels with multiple accounts with non-ascii characters in the domain names. Not sure about anything but we can no longer start the cloudflared services in our linux machines. Inside our accounts all existing tunnels are lost, sometimes they randomly reappear for a few seconds.

Note: after all we are not sure if we were the ones crashed it, but literally it happened in our first account, and then we applied the same steps in another account, and we crashed the second account we have. then we started to hear from everyone that they are down. absolutely confusing.

Welcome to the Cloudflare Community!

Don’t worry, non-ascii characters wouldn’t cause this, it’s a much wider incident then just the tunnel api as well. I would just watch the status page: Cloudflare Status - Elevated 5xx HTTP Errors and Availability Issues

The rest of what you said are known issues, existing tunnel connections continue to work, but if you restart a tunnel, it’ll fail. Wait until the incident is over, and then restart the broken tunnel service (sudo systemctl restart cloudflared if using systemd), and you should be set.

Glad to know it’s not just me. I loaded up the dashboard and my Tunnels are completely gone. I will wait until going into a full panic

1 Like

Seems like services came back for a little bit (worked for about 10 minutes) but is back down now.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.