Skip to content

Obtrusive error message on LoRa sessions #21

Description

@acehoss

LoRa connections, I'm seeing frequent errors like this:

[2023-05-12 10:33:31] [Error]   Decryption failed on link <e1b885eb922404c3882778f70dd1ed47>. The contained exception was: Fernet token HMAC was invalid
[2023-05-12 10:33:31] [Error]   An error ocurred while receiving data on <RNS.Channel.Channel object at 0x103ab1dd0>. The contained exception was: 'NoneType' object is not subscriptable

The data around it seems to be correct--I ran ls /bin over LoRa and that message appeared several times, but it appears that no text was lost. But the error message interrupts the flow of text, and especially in TUI apps really messes up the formatting.

The first error comes from RNS and will probably need an override or option there to suppress that message or reduce its error level.

The second error looks like a channel callback is still called but with a None value rather than data and this is not handled correctly.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions