tunnel credential files not found

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
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
11 Replies
Cyb3r-Jak3
Cyb3r-Jak36mo ago
I'd recommend remote managed tunnels much easier to use. What do you see if you run cloudflared tunnel list
Pyx
PyxOP6mo ago
i see the one for the server and my music server
Cyb3r-Jak3
Cyb3r-Jak36mo ago
Is your tunnel config file at ~/.cloudflared/config.yml?
Pyx
PyxOP6mo ago
there is no config.yml file
Cyb3r-Jak3
Cyb3r-Jak36mo ago
That's why there is the error then. It needs to tunnel config file to be able to run
Pyx
PyxOP6mo ago
how do i generate one bc i already ran the add command
Cyb3r-Jak3
Cyb3r-Jak36mo ago
I do highly recommend remote managed tunnels
Pyx
PyxOP6mo ago
they are remotely managed
Cyb3r-Jak3
Cyb3r-Jak36mo ago
Oh in that case you just run sudo cloudflared service install <token>
Pyx
PyxOP6mo ago
already did that which is why im confused
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
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
Want results from more Discord servers?
Add your server