Skip to content

1.6.0-rc5-1 Notification errors #906

Closed as not planned
Closed as not planned
@BetweenTheKeyboardAndChair

Description

I'm seeing a number of errors in the shell where I started opensnitchd and the UI of the form:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 232, in maybe_handle_message
self._handler(*args, **kwargs)
File "/usr/lib/python3/dist-packages/notify2.py", line 154, in _closed_callback
n = notifications_registry[nid]
KeyError: 160

The KeyError appears to increment. The rest is always the same.

It seems to trigger some of the time when I create a new rule in the UI as a response to something trying to open a connection. It is a small percentage of the time. I have not been able to find a pattern.

Include the following information:
opensnitch/now 1.6.0-rc.5-1 amd64
python3-opensnitch-ui/now 1.6.0-rc.5-1 all
OS: Ubuntu 20.04
WM: cinnamon-common/focal,focal,now 4.4.8-4 all
Kernel: Linux ucin 5.4.0-137-generic #154-Ubuntu SMP Thu Jan 5 17:03:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

To Reproduce
The errors seems to trigger some of the time when I create a new rule in the UI as a response to something trying to open a connection. It is a small percentage of the time. I have not been able to find a pattern.

Looking at the logs, all I see are entries for "Added new rule", and some "Saved new rule". There are no errors.

Possibly related: Some of the forever rules seem to get lost every few days. (IP related?)

Configuration:
Database: In Memory
Nodes: Proc method: proc (ebpf gives a warning on start on ubunutu 20.04)
Rules: Don't save/Delete rules of duration is UNchecked
Pop-ups: Filter connections also by Destination IP

Anything I can enable to get you better debugging info? (Explicit instructions please.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions