cloudflare / cloudflare/cloudflared

🐛Unable to connect to tunnel on ipv4 only network

Open
#1,324 2 comments 2 reactions 0 assignees View on GitHub
Priority: Normal Type: Bug
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.