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

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

list Class in C++ -