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
We start to test the websocket library with enabled SSL by using simple websocket server make by using node js 8.11.3 and express-ws 4.0.0.
when the client try to complete the connection the server crash with this error code:
RangeError: Invalid WebSocket frame: FIN must be set
Looking into the library I see that during the connecting a ping message is sent.
The ping can be send only after the connection has been establish. We just comment this line and the connection complete without error..
We start to receive message from the client, but as soon as the client close the connection the server crash again. we see the close method send 2 byte 0x87, 0x00. For my knowing for close the connection, the code is just a single byte equal to 0x8. We made also this update and also the close work properly.
the remain issue that I not was able to figure out are that if I send a ping or a message from the server to the client this replay in a manner that let crash again the server.
We are using nodejs
Kind regard
The text was updated successfully, but these errors were encountered:
We start to test the websocket library with enabled SSL by using simple websocket server make by using node js 8.11.3 and express-ws 4.0.0.
when the client try to complete the connection the server crash with this error code:
RangeError: Invalid WebSocket frame: FIN must be set
Looking into the library I see that during the connecting a ping message is sent.
The ping can be send only after the connection has been establish. We just comment this line and the connection complete without error..
We start to receive message from the client, but as soon as the client close the connection the server crash again. we see the close method send 2 byte 0x87, 0x00. For my knowing for close the connection, the code is just a single byte equal to 0x8. We made also this update and also the close work properly.
the remain issue that I not was able to figure out are that if I send a ping or a message from the server to the client this replay in a manner that let crash again the server.
We are using nodejs
Kind regard
The text was updated successfully, but these errors were encountered: