You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Celery 4.4.0 using redis as broker and backend fails to start. Reverting to redis client 3.3.11 fixes the issue.
Redis 3.4.0
Running on Alpine
Unrecoverable error: "TypeError("unhashable type: 'Redis'")"
Stack Trace:
TypeError: unhashable type: 'Redis'
File "celery/worker/worker.py", line 205, in start
self.blueprint.start(self)
File "celery/bootsteps.py", line 119, in start
step.start(parent)
File "celery/bootsteps.py", line 369, in start
return self.obj.start()
File "celery/worker/consumer/consumer.py", line 318, in start
blueprint.start(self)
File "celery/bootsteps.py", line 119, in start
step.start(parent)
File "celery/worker/consumer/mingle.py", line 40, in start
self.sync(c)
File "celery/worker/consumer/mingle.py", line 44, in sync
replies = self.send_hello(c)
File "celery/worker/consumer/mingle.py", line 57, in send_hello
replies = inspect.hello(c.hostname, our_revoked._data) or {}
File "celery/app/control.py", line 154, in hello
return self._request('hello', from_node=from_node, revoked=revoked)
File "celery/app/control.py", line 106, in _request
pattern=self.pattern, matcher=self.matcher,
File "celery/app/control.py", line 477, in broadcast
limit, callback, channel=channel,
File "kombu/pidbox.py", line 352, in _broadcast
channel=chan)
File "kombu/pidbox.py", line 391, in _collect
self.connection.drain_events(timeout=timeout)
File "kombu/connection.py", line 323, in drain_events
return self.transport.drain_events(self.connection, **kwargs)
File "kombu/transport/virtual/base.py", line 963, in drain_events
get(self._deliver, timeout=timeout)
File "kombu/transport/redis.py", line 374, in get
self._register_BRPOP(channel)
File "kombu/transport/redis.py", line 311, in _register_BRPOP
if not self._client_registered(channel, channel.client, 'BRPOP'):
File "kombu/transport/redis.py", line 306, in _client_registered
(channel, client, cmd) in self._chan_to_sock)
The text was updated successfully, but these errors were encountered:
Celery 4.4.0 using redis as broker and backend fails to start. Reverting to redis client 3.3.11 fixes the issue.
Redis 3.4.0
Running on Alpine
Unrecoverable error: "TypeError("unhashable type: 'Redis'")"
Stack Trace:
TypeError: unhashable type: 'Redis'
File "celery/worker/worker.py", line 205, in start
self.blueprint.start(self)
File "celery/bootsteps.py", line 119, in start
step.start(parent)
File "celery/bootsteps.py", line 369, in start
return self.obj.start()
File "celery/worker/consumer/consumer.py", line 318, in start
blueprint.start(self)
File "celery/bootsteps.py", line 119, in start
step.start(parent)
File "celery/worker/consumer/mingle.py", line 40, in start
self.sync(c)
File "celery/worker/consumer/mingle.py", line 44, in sync
replies = self.send_hello(c)
File "celery/worker/consumer/mingle.py", line 57, in send_hello
replies = inspect.hello(c.hostname, our_revoked._data) or {}
File "celery/app/control.py", line 154, in hello
return self._request('hello', from_node=from_node, revoked=revoked)
File "celery/app/control.py", line 106, in _request
pattern=self.pattern, matcher=self.matcher,
File "celery/app/control.py", line 477, in broadcast
limit, callback, channel=channel,
File "kombu/pidbox.py", line 352, in _broadcast
channel=chan)
File "kombu/pidbox.py", line 391, in _collect
self.connection.drain_events(timeout=timeout)
File "kombu/connection.py", line 323, in drain_events
return self.transport.drain_events(self.connection, **kwargs)
File "kombu/transport/virtual/base.py", line 963, in drain_events
get(self._deliver, timeout=timeout)
File "kombu/transport/redis.py", line 374, in get
self._register_BRPOP(channel)
File "kombu/transport/redis.py", line 311, in _register_BRPOP
if not self._client_registered(channel, channel.client, 'BRPOP'):
File "kombu/transport/redis.py", line 306, in _client_registered
(channel, client, cmd) in self._chan_to_sock)
The text was updated successfully, but these errors were encountered: