-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
'UnixDomainSocketConnection' object has no attribute 'socket_timeout' #2629
Comments
Thanks @woutdenolf ... I won't lie, as a Star Wars fan, I loved everything ewok releated here :D |
@chayim Then you'll love this project: https://ewoks.readthedocs.io |
Wouldn't it make sense to nuke 4.5.2 altogether? This is a critical bug for those who use socket connections. |
In that case you can nuke 4.5.0 as well. |
We've hit both #2581 and this one in our CI testing. Those tests use redislite to avoid needing a "real" Redis instance to test our code against. Hence these bugs only affect us when testing: they wouldn't affect our live code. Just an idea: could using redislite help this project to include a high-level test that UnixDomainSocketConnection is fit for use? Or is that not a reasonable test dependency? It does have a big restriction, which is that it doesn't install on Windows. |
FYI I added connection tests for TCP, TCP-SSL and UDS in another PR: #2631. So at least the issues with 4.5.0 and 4.5.2 would be covered by those tests. |
Also seeing this in testing with 4.5.2/4.5.3, and feel it may be related. #2636 may also be related. Error received is as follows:
|
It seems that in the mean time, 4.5.3 and 5.0.0b1 have been released. So you can nuke 4.5.0, 4.5.2, 4.5.3 and 5.0.0b1. They all have broken UDS connections. Please merge #2630 (fixes the issue) and #2631 (adds tests so this doesn't happen again) before making new releases @dvora-h @shacharPash . |
Redis python is currently broken with UnixDomainSocketConnection: redis/redis-py#2629
As a temporary workaround for redis/redis-py#2629
Caused by the refactoring in #2588. I'll make a PR to fix it.
The text was updated successfully, but these errors were encountered: