Client hangs indefinitely with no logs when SSL config missing
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 17.6k
- Forks
- 2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 40
Description
Issue
When SSL config is missing from client config but SSL only is enabled on the redis server, the client hangs indefinitely with no logs or errors. It would be great to have some sort of log when the client initially tries to connect and then another after a few seconds if it still cannot for whatever reason.
Happy to PR if there is any interest this.
Environment
-
Node.js Version:
12.14 -
Redis Version:
5.0.6 (elasticache redis) -
Platform:
Mac and Linux
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
Start by reproducing the client connection with SSL-only Redis while the client SSL configuration is missing, using the Node.js 12.14 and Redis 5.0.6 environment described. Trace the initial connection attempt and determine what logs or errors appear; done means the hang is replaced by useful connection diagnostics, including a later message if the connection remains unresolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, redis, typescript
- Domain
- database, networking, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100