🐛 cloudflared service install hangs out.
Describe the bug sudo cloudflared service install MYKEY 2023-10-27T12:43:53Z INF Using Systemd
To Reproduce Steps to reproduce the behavior:
- Just try to install.
If it's an issue with Cloudflare Tunnel: 4. Tunnel ID : nil 5. cloudflared config: nil
Expected behavior Should have been installed with success message.
Environment and versions
- OS: Ubuntu 22
- Architecture: [AMD 64]
- Version: latest from cloudfared
Logs and errors nil
Additional context nil
now working.
@annihilatorrrr Hi! How did you come up for the solution?
@annihilatorrrr Hi! How did you come up for the solution?
You have to check if the outgoing connection (port 7844) is being blocked by your firewall.
@annihilatorrrr Hi! How did you come up for the solution?
You have to check if the outgoing connection (port 7844) is being blocked by your firewall.
funnily enough I'm having this issue right now. I don't have a firewall on my home server.
Same error here. Everything works fine in my server except this. I even used this same script many times in the past without issues.
After a lot of troubleshooting I ended up re-installing Proxmox. So, fresh install, update-upgrade, then this script and nope!
Ahh i just purged whole cloudflared related stuffs from all over and reinstalled and rebooted the server to fix. Also updated all packages before installing it and insured it's running as sudo.
same error.But i use ipv6 and i think ipv6 is not supported my log:
root@dxipv6243-797128235876:~# cloudflared tunnel run --token Mytoken
2025-06-28T19:52:43Z INF Starting tunnel tunnelID=fe060ce2-3a82-4c55-ad0f-04bfcbd247f3
2025-06-28T19:52:43Z INF Version 2025.6.1 (Checksum 103ff020ffcc4ad6b542948b95ecff417150c70a17bff3a39ac2670b4159c9bb)
2025-06-28T19:52:43Z INF GOOS: linux, GOVersion: go1.24.2, GoArch: amd64
2025-06-28T19:52:43Z INF Settings: map[token:*****]
2025-06-28T19:52:43Z INF cloudflared will not automatically update if installed by a package manager.
2025-06-28T19:52:43Z INF Generated Connector ID: 6e2df513-be3c-4b71-8527-bd3e52b98edd
2025-06-28T19:52:43Z INF Initial protocol quic
2025-06-28T19:52:43Z INF ICMP proxy will use 0.0.0.0 as source for IPv4
2025-06-28T19:52:43Z INF ICMP proxy will use ::1 in zone lo as source for IPv6
2025-06-28T19:52:43Z INF ICMP proxy will use 0.0.0.0 as source for IPv4
2025-06-28T19:52:43Z INF ICMP proxy will use ::1 in zone lo as source for IPv6
2025-06-28T19:52:43Z INF Starting metrics server on 127.0.0.1:20242/metrics
2025-06-28T19:52:43Z INF Tunnel connection curve preferences: [X2M768 CurveID(25497) CurveP256] connIndex=0 event=0 ip=198.41.192.37
2025-06-28T19:52:43Z ERR Failed to dial a quic connection error="failed to dial to edge with quic: write udp [::]:54580->198.41.192.37:7844: sendmsg: network is unreachable" connIndex=0 event=0 ip=198.41.192.37
2025-06-28T19:52:43Z INF Retrying connection in up to 2s connIndex=0 event=0 ip=198.41.192.37
2025-06-28T19:52:44Z INF Tunnel connection curve preferences: [X25519MLKEM768 CurveID(25497) CurveP256] connIndex=0 event=0 ip=198.41.200.63
2025-06-28T19:52:44Z ERR Failed to dial a quic connection error="failed to dial to edge with quic: write udp [::]:54580->198.41.200.63:7844: sendmsg: network is unreachable" connIndex=0 event=0 ip=198.41.200.63
2025-06-28T19:52:44Z INF Retrying connection in up to 4s connIndex=0 event=0 ip=198.41.200.63
2025-06-28T19:52:47Z INF Tunnel connection curve preferences: [X25519MLKEM768 CurveID(25497) CurveP256] connIndex=0 event=0 ip=198.41.192.47
2025-06-28T19:52:47Z ERR Failed to dial a quic connection error="failed to dial to edge with quic: write udp [::]:54580->198.41.192.47:7844: sendmsg: network is unreachable" connIndex=0 event=0 ip=198.41.192.47
2025-06-28T19:52:47Z INF Retrying connection in up to 8s connIndex=0 event=0 ip=198.41.192.47
^C2025-06-28T19:52:49Z INF Initiating graceful shutdown due to signal interrupt ...
2025-06-28T19:52:49Z INF Tunnel server stopped
2025-06-28T19:52:49Z ERR icmp router terminated error="context canceled"
2025-06-28T19:52:49Z INF Metrics server stopped