Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions pycti/connector/opencti_connector_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -783,9 +783,10 @@ def run(self) -> None: # pylint: disable=too-many-branches
# state can be None if reset from the UI
# In this case, default parameters will be used but SSE Client needs to be restarted
if state is None:
self.exit = True
state["start_from"] = str(msg.id)
self.helper.set_state(state)
self.exit_event.set()
else:
state["start_from"] = str(msg.id)
self.helper.set_state(state)
except Exception as ex:
self.helper.connector_logger.error(
"Error in ListenStream loop, exit.", {"reason": str(ex)}
Expand Down