报错:Control command error: OperationalError("\nCannot route message for exchange 'reply.celery.pidbox': Table empty or key no longer exists.\nProbably the key ('_kombu.binding.reply.celery.pidbox') has been removed from the Redis database.\n",)
场景:分别启动两个worker的时候,先起的一个会报这个错。
原因:是kombu的一个bug,它升级到4.6.5之后出现了这个bug,但是一直没有回复。
解决:将kombu退回到 4.6.4 版本: pip install kombu==4.6.4