Rabbitmq becoming inaccessible kills platform instance
See original GitHub issueDescription
RabbitMQ becoming unaccessible kill platform instances running.
|opencti-webError: Channel closed by server: 404 (NOT-FOUND) with message "NOT_FOUND - home node 'rabbit@rabbitmq' of durable queue 'push_2446bb7e-777e-49b7-8f56-001444d403f1' in vhost '/' is down or inaccessible" │
│ opencti-web at OB.bm.accept (/opt/opencti/build/node_modules/amqplib/lib/channel.js:421:17)
│ opencti-web at XNe.mainAccept [as accept] (/opt/opencti/build/node_modules/amqplib/lib/connection.js:63:33)
│ opencti-web at Socket.go (/opt/opencti/build/node_modules/amqplib/lib/connection.js:486:48)
│ opencti-web at Socket.emit (node:events:527:28)
│ opencti-web at emitReadable_ (node:internal/streams/readable:578:12)
│ opencti-web at processTicksAndRejections (node:internal/process/task_queues:82:21)
Environment
- OS (where OpenCTI server runs): 5.3.6 docker image
- OpenCTI version: 5.3.6
- OpenCTI client: Platform
- Other environment details: minikube
Reproducible Steps
Steps to create the smallest reproducible scenario:
- Run platform
- Kill or stop or make inaccessible rabbitmq
Expected Output
Platform keep running
Actual Output
Platform instance is killed with unhandled error
Additional information
Screenshots (optional)
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Networking and RabbitMQ
This guide focuses on Linux when covering OS-specific subjects, as it is the most common platform RabbitMQ is deployed on. There are several...
Read more >Chapter 5. Clustering and dealing with failure - RabbitMQ in ...
So when a cluster node dies, that node's queues and associated bindings disappear. Consumers attached to those queues lose their subscriptions, and any...
Read more >[bitnami/rabbitmq] Connection timeout while trying to ... - GitHub
But i ended up disabling the network policy because it's configured to allow access to the most common ports. But i'm using for...
Read more >Delete all the queues from RabbitMQ? - Stack Overflow
First, list your queues: rabbitmqadmin list queues name. Then from the list, you'll need to manually delete them one by one: rabbitmqadmin delete...
Read more >Networking and RabbitMQ - VMware Docs
In this example RabbitMQ will listen on an IPv6 interface only: ... can be suspended to prevent new client connections from being accepted....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I will try to replicate this again tomorrow and get the additional logs for you.
On Thu, 16 Jun 2022, 8:26 pm Julien Richard, @.***> wrote:
So I have been trying to replicate this and I haven’t been able to come up with a successful/ constant way of replicating it. I actually think it could be related to a queue no longer being present but the rabbit instance still running. I will retest this tomorrow, I have been having to juggle a couple of things.
This would match up with the error which is that the queue is no longer present on the rabbitmq instance. I am now sure I was wrong by stating I stopped the rabbitmq instance. Its the fact the queue is no longer present.
Matt Seymour
On Mon, 20 Jun 2022 at 13:27, Samuel Hassine @.***> wrote: