network-management-client icon indicating copy to clipboard operation
network-management-client copied to clipboard

Client stops decoding packets with "Failed to send decoded packet: channel closed"

Open KodinLanewave opened this issue 2 years ago • 2 comments

After a while, the client stops decoding updates and sends the following to console:

called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[2024-01-12T00:08:56Z ERROR meshtastic::connections::stream_buffer] Failed to send decoded packet: channel closed
[2024-01-12T00:09:00Z ERROR meshtastic::connections::stream_buffer] Failed to send decoded packet: channel closed
[2024-01-12T00:09:11Z ERROR meshtastic::connections::stream_buffer] Failed to send decoded packet: channel closed
[2024-01-12T00:09:17Z ERROR meshtastic::connections::stream_buffer] Failed to send decoded packet: channel closed
[2024-01-12T00:09:45Z ERROR meshtastic::connections::stream_buffer] Failed to send decoded packet: channel closed

This is when connected to a t-beam via wifi. (serial doesn't work at all as the wrong dev list is populated on Ubuntu)

KodinLanewave avatar Jan 12 '24 00:01 KodinLanewave

Interesting, thanks for the report! How long does it take (approximately) for this to happen?

ajmcquilkin avatar Jan 12 '24 00:01 ajmcquilkin

@ajmcquilkin Approximately 5-10 minutes or so. Somewhat random.

KodinLanewave avatar Jan 12 '24 01:01 KodinLanewave