Consistent socket timeout
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 63.2k
- Forks
- 10.3k
- Avg merge
- 11d 20h
- Merged PRs (30d)
- 2
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is identified. Begin by reproducing the v4.0.2 client/server setup with the AWS EBS application load balancer and observing the connection_error and ping_timeout timing. Done means explaining the recurring reconnect and documenting a verified resolution or narrowed-down cause.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100