dev-tunnels icon indicating copy to clipboard operation
dev-tunnels copied to clipboard

Websocket over devtunnel not completing connecion (Issues appears to be with cluster ID = use)

Open Wibbbs opened this issue 1 month ago • 9 comments
trafficstars

I am trying to use a websocket over a devtunnel but the connection does not complete. On my local server I can see the incoming request and that my server has opened the websocket but on the client side it looks like the server never responds and the connection times out. This was working fine for me about a month ago. I deleted and recreated a new tunnel and now having these issues. The websocket works fine locally.

https connection works fine and quick this is only a websocket issue.

On my server I can see:

INFO: xxx.xxx.xxx.xxx:0 - "WebSocket /ws" [accepted] INFO: connection open

On the client after exactly 20 seconds I get a "could not connect to websocket" error.

Also when trying devtunnel ping it looks like it connects but takes 40 seconds...

devtunnel ping wss://xxxxxxxxx.use.devtunnels.ms:8000/ws WSS connected -- 40544 ms WSS ping -- 10 ms

I am using the following --version Tunnel CLI version: 1.0.1516+7e996fe917

Tunnel service URI : https://global.rel.tunnels.api.visualstudio.com/ Tunnel service version : 1.0.1514.51724 (0cca4511f6; 2025-09-22 20:39:05Z) Tunnel service cluster : use

Wibbbs avatar Oct 20 '25 20:10 Wibbbs