Im using websocket that connects to a php process that acts as a chat server.
Upon websocket restart everything goes well , several clients can connect and all is running as expected.
After several hours Suddenly something stops and this is the message shown on chrom console:
WebSocket connection to 'ws://xxx.xxx.xxx.xxx:9000/echobot' failed: Error during WebSocket handshake: net::ERR_CONNECTION_RESET
Cheking the process via SSH
netstat -anp|grep :9000 results are
After that im killing the process and starts it again and everything goes well again.
What might be the problem ?