StackExchange / StackExchange/StackExchange.Redis
Unable to connect to Heroku Redis
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.2k
- Forks
- 1.6k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 43
Description
Hi,
We use this library in our .NET 5 aspnet application and it works fine in all the places:
Redis inside Docker
AWS Elastic Cache (when we set ssl=true in the connection string)
In Heroku Redis (free tier when we set ssl=false)
But:
In Heroku Redis paid tiers (which has TLS enabled) we get the following error:
Error accepting a client connection: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
So, I updated the connection string (ssl=true):
But now it just times out.
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 connection failure against a paid-tier Heroku Redis instance using the reported TLS and non-TLS connection strings. Compare the behavior and configuration with the working Docker and AWS ElastiCache cases; done means establishing a successful Heroku Redis connection without the SSL error or timeout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, redis
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100