flask - 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
任何想法如何处理这些错误以及如何解决它们?
解决方案
已知问题 - https://github.com/celery/kombu/issues/1063 - 应该已在发布的 4.6.x 之一中修复,但似乎不是......
推荐阅读
- r - 融化输出意外,所有0值
- amazon-web-services - 为什么 VPC 中公有子网内的 AWS lambda 函数无法连接到 Internet?
- spring-boot - Corda Springboot Webserver 可执行 Jar 创建
- .net - 如何将 FormData 对象中的文件从 AngularJS 发布到 ASP.NET
- opengl - 是否有增加 GL_MAX_ARRAY_TEXTURE_LAYERS 的解决方法?
- php - 如何使用 Laravel 在控制器中捕获 500 错误
- php - Codeigniter,Ajax,根据他们的id删除员工不起作用
- postgresql - Apache Airflow 数据库后端需要哪些 postgres 权限?
- dc.js - dc.js 设置子条形图的颜色
- firebase - Firebase 数据库规则以防止重复