#tunnel credential files not found

20 messages · Page 1 of 1 (latest)

stark kindle
#

im so sick of tunnels lmao. i log in and it still wont run. no idea whats causing it but i have a headache now.

Leave cloudflared running to download the cert automatically.
You have successfully logged in.
If you wish to copy your credentials to a server, they have been saved to:
/home/mc/.cloudflared/cert.pem
mc@DESKTOP-QBUQHKB:~/mc$ cloudflared tunnel run mc
tunnel credentials file not found
keen hemlock
#

I'd recommend remote managed tunnels much easier to use.
What do you see if you run cloudflared tunnel list

stark kindle
#

i see the one for the server and my music server

keen hemlock
#

Is your tunnel config file at ~/.cloudflared/config.yml?

stark kindle
keen hemlock
stark kindle
stark kindle
#

they are remotely managed

keen hemlock
#

Oh in that case you just run sudo cloudflared service install <token>

stark kindle
#
2024-07-06T02:30:25Z INF Using Systemd
2024-07-06T02:30:25Z ERR error generating service template error="cloudflared service is already installed at /etc/systemd/system/cloudflared.service; if you are running a cloudflared tunnel, you can point it to multiple origins, avoiding the need to run more than one cloudflared service in the same machine; otherwise if you are really sure, you can do `cloudflared service uninstall` to clean up the existing service and then try again this command"
cloudflared service is already installed at /etc/systemd/system/cloudflared.service; if you are running a cloudflared tunnel, you can point it to multiple origins, avoiding the need to run more than one cloudflared service in the same machine; otherwise if you are really sure, you can do `cloudflared service uninstall` to clean up the existing service and then try again this command
kind helm
#

can i ask questions on this issue? i just started using cloudflared tunnel yesterday and it worked perfectly, but after restarting computer the tunnel only shows as down

#

i created the tunnel via the web UI/dashboard

#

did the cloudflared windows file install, and then ran the command "cloudflared.exe service install ...." as part of setup

#

today when i turn pc back on and logged into cloudflare i saw the tunnel was down

#

i opened powershell and ran "cloudflared runnel run <name>" and got an error "Cannot determine default origin certification path", and then googled that error

#

so then i ran "cloudflared runnel login" which opened up webpage and i did some re-auth stuff

#

and i got a message in powershell that i have successfully logged in