cloudflare / cloudflare/cloudflared
🐛Unable to connect to tunnel on ipv4 only network
- Dominant language
- Go
- Stars
- 15.6k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Unable to connect to a cloudflare tunnel using cloudflared in a ipv4 only network.
**To Reproduce**
Steps to reproduce the behavior:
1. Configure ssh service based on cloudflare tunnel according to on server machine.
2. Connect to tunnel from client machine using commend
```
cloudflared access ssh --hostname $HOSTNAME --log-level debug --logfile /dev/stdout
```
Giving error output
```
{"level":"debug","time":"2024-09-04T12:40:34Z","message":"Websocket request: GET / HTTP/1.1\r\nHost: HOSTNAME\r\nUser-Agent: cloudflared/2024.8.2\r\n\r\n"}
{"level":"error","error":"dial tcp [fd10:aec2:5dae::]:443: connect: network is unreachable","originURL":"https://HOSTNAME","time":"2024-09-04T12:40:36Z","message":"failed to connect to origin"}
```
**Expected behavior**
The tunnel should connect without a problem
**Environment and versions**
- OS: WSL2 Arch Linux
- Architecture: AMD64
- Version: Linux desktop 5.15.153.1-microsoft-standard-WSL2
Contributor guide
Assessment
This issue has not been assessed yet.