Hi, This is https://github.com/django/asgi_redis/issues/36 - fix is already committed, should be releasing today.
Andrew On Mon, Apr 3, 2017 at 3:41 PM, <j...@yourlabs.org> wrote: > Hi all ! > > TypeError is raised when asgi_redis tries to open a connection to redis: > > ``` > Traceback (most recent call last): > .... > File "/code/src/event/log.py", line 39, in emit > message(level, source, msg, relations, json, datetime, trace) > File "/usr/local/lib/python2.7/dist-packages/channels/channel.py", line > 44, in send > self.channel_layer.send(self.name, content) > File "/usr/local/lib/python2.7/dist-packages/asgi_redis/core.py", line > 168, in send > client=connection, > File "/usr/local/lib/python2.7/dist-packages/redis/client.py", line > 2694, in __call__ > return client.evalsha(self.sha, len(keys), *args) > File "/usr/local/lib/python2.7/dist-packages/redis/client.py", line > 1944, in evalsha > return self.execute_command('EVALSHA', sha, numkeys, *keys_and_args) > File "/usr/local/lib/python2.7/dist-packages/redis/client.py", line > 570, in execute_command > connection = pool.get_connection(command_name, **options) > File "/usr/local/lib/python2.7/dist-packages/redis/connection.py", line > 897, in get_connection > connection = self.make_connection() > File "/usr/local/lib/python2.7/dist-packages/redis/connection.py", line > 906, in make_connection > return self.connection_class(**self.connection_kwargs) > TypeError: __init__() got an unexpected keyword argument > 'socket_connect_timeout' > ``` > > It looks like there's some package version incompatibility, any clue is > welcome :) > > OS: Ubuntu Xenial > Channels: 1.1.2 > Daphne: 1.2.0 > Django: 1.10.6 > Twisted: 17.1.0 > asgi_redis: 1.2.1 > redis pip package: 2.10.5 > > This issue seems pretty similar too: https://github.com/ > celery/celery/issues/2903#issuecomment-210632688 > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/django-users/837d5a23-51fa-4f2b-a266-c826baa82728%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/837d5a23-51fa-4f2b-a266-c826baa82728%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFwN1uqtF1SS%3DkY%3D-9ncBk9mKe_4Kp8WttG9-xvGEB%2BWkUh4Bg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.