-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Summary
I dont know if this is considered as a bug in the handler in the ping protocol, or if something is going on between go-libp2p and rust-libp2p, but when dialing a node of go-libp2p that is discovered via mdns (in my case, indirectly by adding an explicit peer to gossipsub) would cause one or more of the connections to report a "connection is closed" and/or "eof" error from the ping event. This other node does support the ping protocol, but event with the error would continue to be emitted unless the connection is closed via Swarm::close_connection. However, this may or may not yield undesirable results when interacting with the node in some way if the connection handler is operational in a different behaviour or protocol.
Debug Output
A lot is omitted due to it repeating the error and can provide a sample code used if requested
[2023-08-30T00:46:02Z DEBUG libp2p_tcp] listening on 0.0.0.0:0
[2023-08-30T00:46:02Z INFO libp2p_mdns::behaviour::iface] creating instance on iface 10.0.24.180
[2023-08-30T00:46:02Z DEBUG libp2p_tcp] New listen address: /ip4/127.0.0.1/tcp/41635
[2023-08-30T00:46:02Z DEBUG libp2p_swarm] Listener ListenerId(1); New address: "/ip4/127.0.0.1/tcp/41635"
Listening on /ip4/127.0.0.1/tcp/41635
[2023-08-30T00:46:02Z DEBUG libp2p_tcp] New listen address: /ip4/10.0.24.180/tcp/41635
[2023-08-30T00:46:02Z DEBUG libp2p_swarm] Listener ListenerId(1); New address: "/ip4/10.0.24.180/tcp/41635"
Listening on /ip4/10.0.24.180/tcp/41635
[2023-08-30T00:46:02Z INFO libp2p_mdns::behaviour] discovered: 12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx /ip4/10.0.24.180/udp/4001/quic
[2023-08-30T00:46:02Z INFO libp2p_mdns::behaviour] discovered: 12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx /ip4/10.0.24.180/udp/4001/quic-v1
[2023-08-30T00:46:02Z INFO libp2p_mdns::behaviour] discovered: 12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx /ip4/10.0.24.180/tcp/4001
[2023-08-30T00:46:02Z DEBUG libp2p_gossipsub::behaviour] Adding explicit peer 12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx
[2023-08-30T00:46:02Z DEBUG libp2p_gossipsub::behaviour] Connecting to explicit peer PeerId("12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx")
[2023-08-30T00:46:02Z DEBUG libp2p_gossipsub::behaviour] Adding explicit peer 12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx
[2023-08-30T00:46:02Z DEBUG libp2p_gossipsub::behaviour] Connecting to explicit peer PeerId("12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx")
[2023-08-30T00:46:02Z DEBUG libp2p_gossipsub::behaviour] Adding explicit peer 12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx
[2023-08-30T00:46:02Z DEBUG libp2p_gossipsub::behaviour] Connecting to explicit peer PeerId("12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx")
[2023-08-30T00:46:02Z DEBUG libp2p_tcp] dialing 10.0.24.180:4001
[2023-08-30T00:46:02Z DEBUG libp2p_tcp] dialing 10.0.24.180:4001
[2023-08-30T00:46:02Z DEBUG libp2p_tcp] dialing 10.0.24.180:4001
[2023-08-30T00:46:02Z DEBUG libp2p_kad::handler] Operating in client-mode on new outbound connection to 12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx
[2023-08-30T00:46:02Z DEBUG libp2p_swarm] Connection established: PeerId("12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx") Dialer { address: "/ip4/10.0.24.180/tcp/4001/p2p/12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx", role_override: Dialer }; Total (peer): 1.
[2023-08-30T00:46:02Z DEBUG libp2p_gossipsub::behaviour] New peer connected: 12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx
PeerId: 12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx - Connection ConnectionId(2) - point Dialer { address: "/ip4/10.0.24.180/tcp/4001/p2p/12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx", role_override: Dialer }
[2023-08-30T00:46:02Z DEBUG libp2p_kad::handler] Operating in client-mode on new outbound connection to 12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx
[2023-08-30T00:46:02Z DEBUG libp2p_swarm] Connection established: PeerId("12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx") Dialer { address: "/ip4/10.0.24.180/tcp/4001/p2p/12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx", role_override: Dialer }; Total (peer): 2.
PeerId: 12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx - Connection ConnectionId(1) - point Dialer { address: "/ip4/10.0.24.180/tcp/4001/p2p/12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx", role_override: Dialer }
[2023-08-30T00:46:02Z DEBUG libp2p_kad::handler] Operating in client-mode on new outbound connection to 12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx
[2023-08-30T00:46:02Z DEBUG libp2p_swarm] Connection established: PeerId("12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx") Dialer { address: "/ip4/10.0.24.180/tcp/4001/p2p/12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx", role_override: Dialer }; Total (peer): 3.
PeerId: 12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx - Connection ConnectionId(3) - point Dialer { address: "/ip4/10.0.24.180/tcp/4001/p2p/12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx", role_override: Dialer }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] latency to 12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx is 0ms
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Kind(UnexpectedEof) }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] latency to 12D3KooWNynQdTDFKLFRQTCZD4VxCis7RYXbBmd5Mtt57VpZ6Gtx is 0ms
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/5: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/7: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/9: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/11: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/13: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/15: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/17: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/19: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/21: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/23: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/25: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/27: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/29: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/31: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/33: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/35: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/37: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/39: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/41: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/43: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/45: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/47: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/49: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/51: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/53: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/55: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/57: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/59: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/61: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/63: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/65: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/67: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/69: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/71: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/73: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/75: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/77: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/79: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/81: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/83: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/85: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/87: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/89: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/91: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/93: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/95: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/97: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/99: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/101: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/103: connection is closed" } }
[2023-08-30T00:46:02Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/105: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/107: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/109: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/111: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/113: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/115: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/117: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/119: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/121: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/123: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/125: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/127: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/129: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/131: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/133: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/135: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/137: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/139: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/141: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/143: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/145: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/147: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/149: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/151: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/153: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/155: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/157: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/159: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/161: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/163: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/165: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/167: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/169: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/171: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/173: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/175: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/177: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/179: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/181: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/183: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/185: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/187: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/189: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/191: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/193: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/195: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/197: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/199: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/201: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/203: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/205: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/207: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/209: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/211: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/213: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/215: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/217: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/219: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/221: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/223: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/225: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/227: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/229: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/231: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/233: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/235: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/237: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/239: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/241: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/243: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/245: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/247: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/249: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/251: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/253: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/255: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/257: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/259: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/261: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/263: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/265: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/267: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/269: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/271: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/273: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/275: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/277: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/279: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/281: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/283: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/285: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/287: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/289: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/291: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/293: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/295: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/297: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/299: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/301: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/303: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/305: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/307: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/309: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/311: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/313: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/315: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/317: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/319: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/321: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/323: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/325: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/327: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/329: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/331: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/333: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/335: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/337: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/339: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/341: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/343: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/345: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/347: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/349: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/351: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/353: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/355: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/357: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/359: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/361: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/363: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/365: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/367: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/369: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/371: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/373: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/375: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/377: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/379: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/381: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/383: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/385: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/387: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/389: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/391: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Kind(UnexpectedEof) }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/395: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/397: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/399: connection is closed" } }
[2023-08-30T00:46:03Z DEBUG libp2p_ping::handler] Ping failure: Other { error: Custom { kind: WriteZero, error: "7474e9b7/401: connection is closed" } }
Possible Solution
Maybe change the state of the connection handler to inactive to prevent more errors from being reported to swarm especially if there is no change in failure rate or if the failure rate is high (anything over 10 might be worth making inactive?), though this doesnt exactly target the cause of "connection is closed" error.
Version
- libp2p version (version number, commit, or branch): 0.52.3
Would you like to work on fixing this bug?
Maybe, depending on the best way to go about this besides changing the state