Netlink socket stream shut down

Issue Report


  • Operating System: Ubuntu
    AMD Ryzen 5, 3600 6-core processor
    1 TB SSD NvMe

  • Advanced CLI


Node cannot finish syncing and reports the following error.

2023-10-10 07:32:56 [Consensus] netlink socket stream shut down
2023-10-10 07:32:56 [Consensus] if watch returned an error: rtnetlink socket closed
2023-10-10 07:32:56 [Consensus] failed to read from netlink socket: Custom { kind: Other, error: "A Tokio 1.x context was found, but it is being shutdown." }

Looks like you have tried to stop the node before it even initialized, in which case you’ll likely hit "netlink socket stream shut down" infinite loop · Issue #4287 · libp2p/rust-libp2p · GitHub. Just kill the process and start again. It will be fixed in one of the future versions once it is fixed upstream in libp2p.