Redis错误:('_kombu.binding.reply.celery.pidbox')已从Redis数据库中删除

时间:2019-09-08 15:03:02

标签: flask redis celery

使用

flask-caching==1.7.2
flask==1.0.3
redis==3.2.1
celery==4.3.0

我看到网络闪烁错误

Cannot route message for exchange 'reply.celery.pidbox': Table empty or key no longer exists. 
Probably the key ('_kombu.binding.reply.celery.pidbox') has been removed from the Redis database.

我使用

配置烧瓶缓存
# redis
REDIS_URL = os.environ['REDIS_URL']       
# flask-caching
CACHE_TYPE = 'redis'
CACHE_KEY_PREFIX = 'glue_flask_cache_'
CACHE_REDIS_URL = REDIS_URL

任何想法如何解决此错误以及如何解决这些错误?

1 个答案:

答案 0 :(得分:1)

已知问题-https://github.com/celery/kombu/issues/1063-应该已在4.6.x版本之一中修复,但似乎不是...