storage: π€ [Question]: Panic when using Redis with TLS endpoint
Question Description
I have an existing remote redis connection on a upstash account, but when I tried to create a new redis connection with the same connection string I get
panic: EOF
My code looks like this:
storage := redis.New(redis.Config{
URL: "redis://xxx:xxxxxxxx@exciting-grouse-30789.upstash.io:12345",
Reset: false,
})
when I switch to using only redis.New()
on localhost it seems to work properly. Does this package only run on localhost?
(I also tried to comment out my other redis connection but the above error still exits.)
Thanks a lot!
Code Snippet (optional)
No response
Checklist:
- I agree to follow Fiberβs Code of Conduct.
- I have checked for existing issues that describe my questions prior to opening this one.
- I understand that improperly formatted questions may be closed without explanation.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 15 (8 by maintainers)
@louisunlimited Awesome to hear. I will add a TLS example and new test case today. To cover this case without x509 pair