socket.io icon indicating copy to clipboard operation
socket.io copied to clipboard

Consistent socket timeout

Open scucchiero opened this issue 3 years ago • 0 comments

Socket client and server version v4.0.2 Socket redis adapter v6.1.0

My socket.io client is creating a new connection consistently every 4-5minutes. It calls the event connection_error with the error ping_timeout. It continues to reconnect immediately without issue.

My setup is the following. Clients connect to server only to listen for messages that are emitted every ~2minutes with no expected response from the client.

I am using AWS EBS with application load balancer with sticky connections.

Screen Shot 2021-05-06 at 17 34 43 image

scucchiero avatar May 06 '21 18:05 scucchiero