cloudflare / cloudflare/cloudflared
🐛 Long lived websocket seems to disconnect consistently
- Dominant language
- Go
- Stars
- 15.6k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug** and **To Reproduce**
A service is being exposed via a cloudflared tunnel (http endpoint).
Clients connect to the service via the exposed tunnel which then upgrades the connection to a websocket.
The clients consistently disconnect - and a successful reconnect happens since our clients can reconnect.
**Expected behavior**
This only happens when the client connects via the tunnel, if no tunnel is being used the disconnect behavior does not happen.
**Environment and versions**
- OS: Service: Linux and Macos
- Architecture: arm64
- Version: cloudflared version 2024.6.0 (built 2024-06-03T18:29:11Z)
**Logs and errors**
When the socket disconnects we do get this output: `Read error: websocket: close 1006 (abnormal closure): unexpected EOF`
Contributor guide
Assessment
This issue has not been assessed yet.