MISP / misp-dashboard

A live dashboard for a real-time overview of threat intelligence from MISP instances
GNU Affero General Public License v3.0
194 stars 65 forks source link

Unable to connect to the MISP Dashboard, zmq_Dispatcher crashes after publishing events #162

Closed EonCyr closed 2 years ago

EonCyr commented 2 years ago

The issue that I am currently facing is that I am unable to connect to the MISP Dashboard "http://127.0.0.1:8001". When I execute the ./diagnostics.py, it would be stuck on "Trying to connect to http://127.0.0.1:8001/_get_log_head" command line and doesn't proceed any further.

image

I followed the steps from https://github.com/MISP/misp-dashboard/blob/main/README.md till the ./install_dependencies.sh From here on, I entered the following commands:

sudo apt-get install python3-flask python3-redis -y sudo pip install halo

redis-server --port 6250 --daemonize yes ps aux | grep redis-server

. ./DASHENV/bin/activate ./zmq_subscriber.py & ./zmq_dispatcher.py & ./server.py &

./diagnostic.py

EonCyr commented 2 years ago

Currently I am having a different error after trying to debug it manually. image This occurs when I attempt to push an event to the MISP dashboard, not really sure what is causing the issue. The zmq_dispatcher.py automatically crashes whenever I attempt to publish an event to the dashboard.

After some testing, this issue only seems to occur whenever any sort of IP address is published to the MISP dashboard, hashes and other information does not trigger this error.

whoisroot commented 2 years ago

The error is what I was getting before fixing the redis GEOADD command.

Since my PR has been merged, please pull the latest version from git and try again.

EonCyr commented 2 years ago

Thank you, this issue has been fixed by pulling the update.