node.js - WebSocket connection to 'wss://site.com/socket.io/1/websocket/6CFI8y7Ls3LgCqLCeX5k' failed -


I wanted to test the server on a VPS. I am using Express.io in the background. There is no problem with localhost but I get this error in the VPS:

  WebSocket Connection 'wss: //site.com/socket.io/1 / Websocket / 6CFI8y7Ls3LgCqLCeX5k 'Failure: Error during WebSketting handshake: Unexpected response code: 520  

I am able to send / receive data from socket.io but It needs to be fixed, what can be the reason?

Thank you.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -