首页 > 解决方案 > Redis 错误:('_kombu.binding.reply.celery.pidbox') 已从 Redis 数据库中删除

问题描述

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

任何想法如何处理这些错误以及如何解决它们?

标签: flaskrediscelery

解决方案


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


推荐阅读