I'm using RabbitMQ with Celery(Django) for the last couple of months now but recently we faced an unexpected issue where RabbitMQ is not accepting tasks in its queues and error in logs say:
INTERNAL_ERROR — aess to prod_vhost ‘/’ refused for user ‘prod’: prod_vhost ‘/’ is down.`
Now, how to solve this problem:
From the Rabbitmq log file you can get the destination file URL, in my case it was
If you have problem with vhost '/', most probably the file url will be
- Stop 'rabbitmq-server'.
- delete the folder that contains the corrupt files. In this case: 784WB90CIFDYO9LJI6DKMI78L
- Start 'rabbitmq-server'. It should work fine now.
Thanks!!! Enjoy Programming!!!!!!! :)