You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to connect a websocket over the devtunnel but the connection is not fully established.
I am trying using the wss:// protocol over the https:// endpoint.
I am running a simple java websocket server locally on port 8080.
My websocket client is postman for testing purposes.
I can connect to ws://localhost:8080 with no issues.
Also I am able to use ngrok for this port but I want to switch to using devtunnels.
For devtunnels I use: wss://TUNNELID-8080.use.devtunnels.ms.
This tunnel has port 8080 set to auto.
Should I explicitly add the wss protocol for port 8080?
When trying to connect over devtunnels, I get the callback for connectionEstablished in my ws server but nothing after that.
No message can be received. Also no callback for closing the ws.
The connection never moves past Connecting in the postman client.
What am I missing?
What other details should I provide to help debug this issue?
Activity
derekbekoe commentedon Aug 15, 2023
Yes websockets are supported.
Can you share more information to help us resolve your issue?
flvcode commentedon Aug 15, 2023
I am running a simple java websocket server locally on port 8080.
My websocket client is postman for testing purposes.
I can connect to ws://localhost:8080 with no issues.
Also I am able to use ngrok for this port but I want to switch to using devtunnels.
For devtunnels I use: wss://TUNNELID-8080.use.devtunnels.ms.
This tunnel has port 8080 set to auto.
Should I explicitly add the wss protocol for port 8080?
When trying to connect over devtunnels, I get the callback for connectionEstablished in my ws server but nothing after that.
No message can be received. Also no callback for closing the ws.
The connection never moves past Connecting in the postman client.
What am I missing?
What other details should I provide to help debug this issue?
Here is my verbose output:
derekbekoe commentedon Aug 15, 2023
Is the tunnel (or the specific port 8080) set to public?
flvcode commentedon Aug 16, 2023
Yes. Here are my details
flvcode commentedon Aug 31, 2023
Issue got solved without any changes on my end. Also no devtunnels update.
Maybe a network issue solved a reboot.