asynchronous – Why `tokio::mpsc` Channel Stuck with no Log and no Error

The origin post is here. And it looks like nobody help me there. https://users.rust-lang.org/t/mpsc-sender-stuck/77008 Stuck at this line: https://github.com/hack-ink/subalfred/blob/rc/src/subalfred/core/jsonrpc/websocket/mod.rs#L207 The receiver logic here: https://github.com/hack-ink/subalfred/blob/rc/src/subalfred/core/jsonrpc/websocket/mod.rs#L65 I don’t know why. If I use try_recv()everything works well. If you want to run the code, use: cargo run —release –features debug-websocket — re-genesis wss://darwinia-crab.api.onfinality.io/public-ws –log subalfred And I have … Read more