OpenCTI-Platform / opencti

Open Cyber Threat Intelligence Platform
https://opencti.io
Other
6.38k stars 945 forks source link

Status showing disconnected for RabbitMQ on OpenCTI UI platform #7096

Open vaishaliporandla2109 opened 5 months ago

vaishaliporandla2109 commented 5 months ago

Prerequisites

Description

RabbitMQ Status is showing disconnected on OpenCTI platform UI but RabbitMQ is running independently on the instance and also we can hit RabbitMQ dashboard. All the required permissions are set correctly for RabbitMQ directories.

How can we resolve this disconnection issue, Please help..

Environment

  1. OS (where OpenCTI server runs): Ubuntu 22.04
  2. OpenCTI version: 5.12.19 (current version) but also tried with 6.0.10
  3. OpenCTI client: { e.g. frontend or python }
  4. Other environment details:

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. Followed manual steps for the installation process --below are the links

Issue screenshot- highlighted in yellow image

Latest update as follows--->>

As part of this issue, was able to figure out the disconnection issue and it is due to the startup scripts which we had to run for making the opencti app running all the time in the background...before adding that script -RabbitMQ was showing connected.

Questions:

1.How can we make the opencti application running up and available all the time without any session timeouts? we tried to increase the session timeout value in config.php file, is that the only solution? 2.We tried to make it up and running all the time using the startup scripts as below,but with this approach service is available but RabbitMQ is being disconnected..please suggest

https://github.com/OpenCTI-Platform/opencti/issues/1083#issuecomment-780470025

vaishaliporandla2109 commented 3 months ago

As part of this issue, was able to figure out the disconnection issue and it is due to the startup scripts which we had to run for making the opencti app running all the time in the background...before adding that script -RabbitMQ was showing connected.

Questions:

  1. How can we make the opencti application running up and available all the time without any session timeouts? we tried to increase the session timeout value in config.php file, is that the only solution? 2.We tried to make it up and running all the time using the startup scripts as below,but with this approach service is available but RabbitMQ is being disconnected..please suggest https://github.com/OpenCTI-Platform/opencti/issues/1083#issuecomment-780470025