-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactored Redis connection utilities to share between layers. #352
Conversation
72e0607
to
2273725
Compare
2273725
to
5ef2e65
Compare
5ef2e65
to
ebf47ea
Compare
ebf47ea
to
2ee0feb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
howdy. I was using version 4.1.0 of this library and still receive the error reported in #337 fwiw, I downgraded to v3.4.1 of this library and the error went away. here's the relevant redis config (you can assume the host/port/db params get set correctly):
here's the error trace:
I tried quite a few permutations of the ssl_context object before finally finding #337 and just downgrading this library to 3.4.1. I always got this same error. Is there additional information I can provide to help troubleshoot this? |
Hi @mmllc-jsilverman, it seems your are referencing this #337 (comment). If downgrading to 3.4.1 solved the issue the problem may be in the differences between aioredis and redis libraries (from 4.0 aioredis is no more used since redis has implemented the async wrapper). IMO the problem here is bound to #235 (which was the aim of #342, which was closed be its own author), try to take a look at this #235 (comment). |
@mmllc-jsilverman the problem you are facing is due to redis-py, not to this library. The docs here states:
Unfortunatelly there is no offical documentation on "how to provide SSL arguments to connection" neither in the latest docs. |
Move common methods from core and pubsub layers into utils, adding host parsing also in pubsub layer (see #334 and comment in #335).
This also fixes #331, #337 and #341 by moving the copy mechanism at the top of
create_pool
method.