question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Table empty or key no longer exists

See original GitHub issue

The issue with redis key getting evicted every time. I read an old issue link. I have confirmed that my Redis instance is not hacked. In fact, we are using Secured Redis.

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",)

kombu==4.5.0 celery==4.3.0 redis==3.2.1

Is this some issue with redis?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:51
  • Comments:108 (36 by maintainers)

github_iconTop GitHub Comments

23reactions
danleyb2commented, Oct 1, 2019

faced this same issue on the first queue whenever i started a second or more queues

fixed by downgrading kombu==4.5.0 from kombu==4.6.5

had nothing to do with redis. just the missing key _kombu.binding.reply.celery.pidbox that is never created if you redis-cli monitor

14reactions
auvipycommented, Apr 6, 2020

I’ve been running Redis server 5.0.2 with Celery 3.1.25 and then upgraded to Celery 4.3.0, 4.4.0 and 4.4.2. and experienced this error on each 4.x release. Similar to @the01, this issue doesn’t reliably

Unfortunately, I can’t upgrade the Redis server version we use, but I would be surprised if a patch update resolved this, especially since we did not encounter this with Celery 3.x.

you need to find out your problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot route message for exchange 'reply.celery.pidbox'
pidbox': Table empty or key no longer exists. Probably the key ('_kombu.binding.reply.celery.pidbox') has been removed from the Redis database.
Read more >
OperationalError [...] Table empty or key no longer exists.
Imagine you use Kubernetes horizontal-pod-autoscaler: it will happen each time there is a new pod (or a pod is destroyed?)
Read more >
Cannot route message for exchange 'reply.celery.pidbox ...
OperationalError: Cannot route message for exchange 'reply.celery.pidbox': Table empty or key no longer exists.
Read more >
MySQL Foreign Key Prevents Deleting Table — But Table is ...
You shouldn't be able to drop a table that is the parent of another dependent table, even if it has no data. Because...
Read more >
Documentation: 15: TRUNCATE - PostgreSQL
TRUNCATE. TRUNCATE — empty a table or set of tables ... TRUNCATE will not fire any ON DELETE triggers that might exist for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found