socket.io-client not connecting with server after deployment #4086
Replies: 2 comments 1 reply
-
Hi! Did you check https://socket.io/docs/v4/troubleshooting-connection-issues/? |
Beta Was this translation helpful? Give feedback.
-
Hi @darrachequesne, Can you please here ? I am also facing the same issue. Also checked https://socket.io/docs/v4/troubleshooting-connection-issues/. Right now when the request is sent from the browser it fails. Following is the the client side logs. This request never reaches server. Everything works properly locally.
We have deployed this app in k8s. Do we need to configure k8s to support it wss/ws ? Any help is appreciated. Thanks., |
Beta Was this translation helpful? Give feedback.
-
In the local environment, it's working fine but after deployment but I'm getting error when trying to handshake with the server
websocket.js:88 WebSocket connection to 'wss://secure-url-without-port.com/socket.io/?EIO=4&transport=websocket
for transports i'm using 'websocket' only. socket.io-client c and socket.io on server versions are 4.2.0, on server it's running with docker and Kubernetes. Not sure what's wrong.
Beta Was this translation helpful? Give feedback.
All reactions