Cloudflared lxc loses connection to cloudflare after container or host reboot. #1817
Replies: 11 comments 15 replies
-
I've never encountered that issue with cloudflared. I've rebooted many times without any problems. |
Beta Was this translation helpful? Give feedback.
-
After inserting the token I'm unable to use the console and enter any command |
Beta Was this translation helpful? Give feedback.
-
Yes and cloudflare is showing the tunnel as healthy. |
Beta Was this translation helpful? Give feedback.
-
Running this command opens the file and the token is stored in the file. But after a reboot cloudflare is showing the tunnel is down. |
Beta Was this translation helpful? Give feedback.
-
Yes. I did then rebooted the container. |
Beta Was this translation helpful? Give feedback.
-
I entered the tunnel id instead of the token within the docker command on cloudflare. I changed the file to include the token but it still isn't up after enabling the service and rebooting the container. |
Beta Was this translation helpful? Give feedback.
-
This docker command. docker run cloudflare/cloudflared:latest tunnel --no-autoupdate run --token eyJhIjo....... |
Beta Was this translation helpful? Give feedback.
-
Running that command every time i reboot is the only thing that establishes a "healthy" tunnel, but then i have to enter it after every reboot. |
Beta Was this translation helpful? Give feedback.
-
It seems that the installation you have does not match this repository. |
Beta Was this translation helpful? Give feedback.
-
Ok seems to be working now. I created a new container from your script, created the file, inserted my token and rebooted. Works!! |
Beta Was this translation helpful? Give feedback.
-
Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I was wondering if there was a way to store the token from cloudflare in the lxc instead of having to re enter it in the lxc console after every reboot.
Beta Was this translation helpful? Give feedback.
All reactions