Closed cudeso closed 4 years ago
Could you run the diagnostic.py
and post the output here?
Thanks!
ssl_verify = False
✔ Virtual environment and packages
✔ Configuration
✔ File permission
✔ Redis
✔ Zmq
✔ Processes status: Both processes are running
✔ Subscriber status: subscriber is running and populating the buffer
ℹ Buffer queue: Currently 1 items in the buffer
✔ Buffer change rate: Buffer is consumed faster than being populated
✔ Dispatcher status: Took 0.92s to complete
--------------- %s http://192.168.171.121:8001/_get_log_head
✔ Server listening: http://192.168.171.121:8001/_get_log_head reached. Status code [200]
✖ Server dynamic enpoint: Redirected to `loging` caused by: MISP cannot be reached for authentication
Hi folks, apologies for not seeing this sooner. Authentication is failing due to lines 113 and 143 in server.py
. Debug should be turned on on a production instance which means that data[_Token][debug]
is always NoneType
.
The error can be seen here:
File "/var/www/misp-dashboard/server.py", line 143, in misp_login
post_data["data[_Token][debug]"] = token_debug.group(1)
AttributeError: 'NoneType' object has no attribute 'group'
To fix this just comment out lines 113 and 143.
potentially fixed.
I set the authentication to the localhost MISP, public IP and hostname but always getting the message 'MISP cannot be reached for authentication'.
Setting the Flask server in debug does not return error messages. Logging in to MISP via the org-admin or test user works.
Any locations to look for debugging?