wsServer icon indicating copy to clipboard operation
wsServer copied to clipboard

Server closes the socket after a time. How do I ensure it stays open?

Open ihmpartners opened this issue 6 months ago • 6 comments

Description

The server socket closes after a time ( varies )

I'm not sure if it's the browser/javascript end that is abandoning the connection or the server itself that's closing it .......

My web page tries to send a query to my socket and I get a 'WebSocket is already in CLOSING o CLOSED state' console message on the browser console.

ihmpartners avatar Feb 05 '24 16:02 ihmpartners