【发布时间】:2018-10-29 06:33:25
【问题描述】:
我有一个在 AWS 上工作的 Dockerized Celery,它使用来自 AWS 的 ElastiCache(具有多节点的 Redis 集群)作为消息代理,但我收到以下错误。
当我在本地机器上测试我的 Celery worker 时,它与单节点 Redis 通信完全正常。我应该如何解决这个问题?
[I 180518 18:54:20 mixins:224] Connected to redis://....use1.cache.amazonaws.com:6379//
[E 180518 18:54:20 events:123] Failed to capture events: 'CROSSSLOT Keys in request don't hash to the same slot', trying again in 1 seconds.
...
[E 180518 18:54:23 events:123] Failed to capture events: 'Command # 1 (LLEN celeryev....2d788) of pipeline caused error: MOVED 11904 10.0.x.xxx:6379', trying again in 1 seconds.
【问题讨论】:
标签: amazon-web-services redis celery amazon-elasticache