WebSocket connection to 'ws://xyz.com:1234' failed: Connection closed before receiving a handshake response #124

Closed
opened 2019-11-25 16:11:47 +00:00 by shubham16394 · 1 comment
shubham16394 commented 2019-11-25 16:11:47 +00:00 (Migrated from github.com)

I have setup one domain and forwarding all the subdomain to the IP of my server using A record * -> ip address of server, but on accessing websocket I am getting error "Connection closed before receiving a handshake response", I am sending one stream to local tunnel server that I have setup and using the tunnel URL trying to get the stream data in localhost client but facing this issue, how to resolve this one, please help.

I have setup one domain and forwarding all the subdomain to the IP of my server using A record * -> ip address of server, but on accessing websocket I am getting error "Connection closed before receiving a handshake response", I am sending one stream to local tunnel server that I have setup and using the tunnel URL trying to get the stream data in localhost client but facing this issue, how to resolve this one, please help.
shubham16394 commented 2019-11-28 18:35:42 +00:00 (Migrated from github.com)

This was the issue of opening the ports tunnelAgent.js runs on random port so opened all the ports and it's working now.

This was the issue of opening the ports tunnelAgent.js runs on random port so opened all the ports and it's working now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hoelee/server#124