I have installed misp-dashboard and published around 20k events to ZMQ to update it( it tooks some time having some events with thounsands of attributes ) .
In the mainwhile I did some tests and I had to restart the dashboard many times . I did it this way :
After some time I had zmq_dispatcher.py crashing with error below :
Traceback (most recent call last):
File "./zmq_dispatcher.py", line 299, in <module>
main(args.sleeptime)
File "./zmq_dispatcher.py", line 274, in main
process_log(zmqName, content)
File "./zmq_dispatcher.py", line 256, in process_log
dico_action[topic](zmq_name, jsonevent)
File "./zmq_dispatcher.py", line 170, in handler_event
eventName = jsonevent['info']
TypeError: string indices must be integers
After some debugging I found that dump.rdb was corrupted
Indeed after remaming the dump.rdb file start_all.sh activated all the components with success.
Stopping redis with the shutdown command can avoid corrupted snapshots :
Hi All,
I have installed misp-dashboard and published around 20k events to ZMQ to update it( it tooks some time having some events with thounsands of attributes ) .
In the mainwhile I did some tests and I had to restart the dashboard many times . I did it this way :
After some time I had zmq_dispatcher.py crashing with error below :
After some debugging I found that dump.rdb was corrupted
Indeed after remaming the dump.rdb file start_all.sh activated all the components with success.
Stopping redis with the shutdown command can avoid corrupted snapshots :
this problem brings out the following:
Best Regards, Daniele Denisi