meshtastic / network-management-client

A Meshtastic desktop client, allowing simple, offline deployment and administration of an ad-hoc mesh communication network. Built in Rust and TypeScript.
GNU General Public License v3.0
142 stars 12 forks source link

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

Open KodinLanewave opened 6 months ago

KodinLanewave commented 6 months ago

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)

ajmcquilkin commented 6 months ago

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

KodinLanewave commented 6 months ago

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