Neptune-Crypto / neptune-core

anonymous peer-to-peer cash
Apache License 2.0
24 stars 7 forks source link

my node crashed #39

Closed aszepieniec closed 6 months ago

aszepieniec commented 1 year ago

Not sure why this happened or how to interpret the error message:

thread 'tokio-runtime-worker' panicked at 'Failed to read from main loop: channel closed', /home/alan/neptune-core/src/peer_loop.rs:973:35
2023-08-12T21:38:44.434407514Z ERROR ThreadId(02) neptune_core::connect_to_peers: Peer thread (incoming) for 51.15.139.238:40412 panicked. Invoking close connection callback
Error: channel closed
Sword-Smith commented 1 year ago

It looks like the peer thread closed because the connection to main loop was closed. Probably because the main loop was stopped for some reason. I don't think the error happened in the peer_loop thread -- it should crash if the main thread is no longer running.

dan-da commented 6 months ago

stale. Unclear how to reproduce, and the code has changed significantly since this was reported. closing.