Skip to content

update_event() method resulting in gateway timeouts #1347

@mhpchaves

Description

@mhpchaves

MISP version: 2.5.19
PyMISP version: 2.5.17

I have a MISP instance connected to multiple remote instances, where I push events to them.

I retrieve a pythonified object of an event, called e. I change the last_seen value of an attribute of this event, and keep the Published key of the event e as True. When I call the misp.update_event(e) method, after some period of time, I receive a gateway timeout message while trying to push the event to a remote instance. Sometimes it happens with the third remote instance, sometimes with the fifth... it doesn't have a pattern. It's not always the same remote instance.

If I change the Published key of the event e to False, call the misp.update_event(e) method, and finally call the misp.publish(e) method, everything works fine!

Is this behavior expected?

Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    S: needs change in MISPStatus: needs change in MISP. For this issue to be fixed, a change in MISP is requiredT: bugType: bug report: This issue describes unexpected behaviour

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions