Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save cosmikwolf/1789d708c428140972806627185daafd to your computer and use it in GitHub Desktop.
Save cosmikwolf/1789d708c428140972806627185daafd to your computer and use it in GitHub Desktop.
This is a set of debug logs I collected from my implementation of the dcutr hole punching example. My connection is failing, and I don't know why. The example I am following is available here: https://docs.rs/libp2p/latest/src/libp2p/tutorials/hole_punching.rs.html#21-183 I am using the latest rust libp2p2 git tag v0.50.0
Finished dev [unoptimized + debuginfo] target(s) in 0.25s
Running `target/debug/examples/dcutr --secret-key-seed 2 --mode dial --relay-address /ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN --remote-peer-id 12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X`
[2023-02-12T22:08:54Z INFO dcutr] Local peer id: PeerId("12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3")
[2023-02-12T22:08:54Z DEBUG libp2p_tcp] listening on 0.0.0.0:0
[2023-02-12T22:08:54Z DEBUG libp2p_tcp] New listen address: /ip4/127.0.0.1/tcp/59669
[2023-02-12T22:08:54Z DEBUG libp2p_swarm] Listener ListenerId(8267532924553300634); New address: "/ip4/127.0.0.1/tcp/59669"
[2023-02-12T22:08:54Z INFO dcutr] Listening on "/ip4/127.0.0.1/tcp/59669"
[2023-02-12T22:08:54Z DEBUG libp2p_tcp] New listen address: /ip4/192.168.50.16/tcp/59669
[2023-02-12T22:08:54Z DEBUG libp2p_swarm] Listener ListenerId(8267532924553300634); New address: "/ip4/192.168.50.16/tcp/59669"
[2023-02-12T22:08:54Z INFO dcutr] Listening on "/ip4/192.168.50.16/tcp/59669"
[2023-02-12T22:08:55Z DEBUG libp2p_dns] Dialing /ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN
[2023-02-12T22:08:55Z DEBUG libp2p_tcp] dialing x.x.x.x:4008
[2023-02-12T22:08:55Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /noise
[2023-02-12T22:08:55Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /noise
[2023-02-12T22:08:55Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:55Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /yamux/1.0.0
[2023-02-12T22:08:56Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /yamux/1.0.0
[2023-02-12T22:08:56Z DEBUG yamux::connection] new connection: 3667c05e (Client)
[2023-02-12T22:08:56Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:56Z DEBUG libp2p_swarm] Connection established: PeerId("12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN") Dialer { address: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN", role_override: Dialer }; Total (peer): 1. Total non-banned (peer): 1
[2023-02-12T22:08:56Z DEBUG multistream_select::listener_select] Listener: confirming protocol: /ipfs/ping/1.0.0
[2023-02-12T22:08:56Z DEBUG multistream_select::listener_select] Listener: sent confirmed protocol: /ipfs/ping/1.0.0
[2023-02-12T22:08:56Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:56Z DEBUG yamux::connection] 3667c05e: new outbound (Stream 3667c05e/1) of (Connection 3667c05e Client (streams 1))
[2023-02-12T22:08:56Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /ipfs/ping/1.0.0
[2023-02-12T22:08:56Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0
[2023-02-12T22:08:56Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:56Z DEBUG libp2p_ping] Ping received from PeerId("12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN")
[2023-02-12T22:08:56Z DEBUG libp2p_ping] Ping sent to PeerId("12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN")
[2023-02-12T22:08:56Z DEBUG yamux::connection] 3667c05e: new outbound (Stream 3667c05e/3) of (Connection 3667c05e Client (streams 2))
[2023-02-12T22:08:56Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /ipfs/id/1.0.0
[2023-02-12T22:08:56Z DEBUG multistream_select::listener_select] Listener: confirming protocol: /ipfs/id/1.0.0
[2023-02-12T22:08:56Z DEBUG multistream_select::listener_select] Listener: sent confirmed protocol: /ipfs/id/1.0.0
[2023-02-12T22:08:56Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:56Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /ipfs/id/1.0.0
[2023-02-12T22:08:56Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:56Z INFO dcutr] Told relay its public address.
[2023-02-12T22:08:56Z INFO dcutr] Relay told us our public address: "/ip4/y.y.y.y/tcp/59669"
[2023-02-12T22:08:56Z DEBUG yamux::connection] 3667c05e: new outbound (Stream 3667c05e/5) of (Connection 3667c05e Client (streams 2))
[2023-02-12T22:08:56Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /libp2p/circuit/relay/0.2.0/hop
[2023-02-12T22:08:56Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /libp2p/circuit/relay/0.2.0/hop
[2023-02-12T22:08:56Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:56Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /noise
[2023-02-12T22:08:56Z INFO dcutr] OutboundCircuitEstablished { relay_peer_id: PeerId("12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN"), limit: None }
[2023-02-12T22:08:56Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /noise
[2023-02-12T22:08:57Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:57Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /yamux/1.0.0
[2023-02-12T22:08:57Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /yamux/1.0.0
[2023-02-12T22:08:57Z DEBUG yamux::connection] new connection: 5e318ad0 (Client)
[2023-02-12T22:08:57Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:57Z DEBUG libp2p_swarm] Connection established: PeerId("12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X") Dialer { address: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X", role_override: Dialer }; Total (peer): 1. Total non-banned (peer): 1
[2023-02-12T22:08:57Z INFO dcutr] Established connection to PeerId("12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X") via Dialer { address: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X", role_override: Dialer }
[2023-02-12T22:08:57Z DEBUG multistream_select::listener_select] Listener: confirming protocol: /ipfs/ping/1.0.0
[2023-02-12T22:08:57Z DEBUG multistream_select::listener_select] Listener: sent confirmed protocol: /ipfs/ping/1.0.0
[2023-02-12T22:08:57Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:57Z DEBUG yamux::connection] 5e318ad0: new outbound (Stream 5e318ad0/1) of (Connection 5e318ad0 Client (streams 1))
[2023-02-12T22:08:57Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /ipfs/ping/1.0.0
[2023-02-12T22:08:57Z DEBUG multistream_select::listener_select] Listener: confirming protocol: /libp2p/dcutr
[2023-02-12T22:08:57Z DEBUG multistream_select::listener_select] Listener: sent confirmed protocol: /libp2p/dcutr
[2023-02-12T22:08:57Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0
[2023-02-12T22:08:57Z DEBUG libp2p_ping] Ping received from PeerId("12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X")
[2023-02-12T22:08:57Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:57Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:57Z INFO dcutr] RemoteInitiatedDirectConnectionUpgrade { remote_peer_id: PeerId("12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X"), remote_relayed_addr: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X" }
[2023-02-12T22:08:57Z DEBUG libp2p_ping] Ping sent to PeerId("12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X")
[2023-02-12T22:08:57Z DEBUG libp2p_dns] Dialing /ip4/y.y.y.y/tcp/59664/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X
[2023-02-12T22:08:57Z DEBUG libp2p_tcp] dialing y.y.y.y:59664
[2023-02-12T22:08:57Z DEBUG libp2p_dns] Dial error: Transport(Os { code: 61, kind: ConnectionRefused, message: "Connection refused" }).
[2023-02-12T22:08:57Z DEBUG libp2p_swarm] Connection attempt to PeerId("12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X") failed with Transport([("/ip4/y.y.y.y/tcp/59664/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X", Other(Custom { kind: Other, error: A(A(B(Transport(Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })))) }))]).
[2023-02-12T22:08:57Z INFO dcutr] Outgoing connection error to Some(PeerId("12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X")): Transport([("/ip4/y.y.y.y/tcp/59664/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X", Other(Custom { kind: Other, error: A(A(B(Transport(Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })))) }))])
[2023-02-12T22:08:57Z DEBUG multistream_select::listener_select] Listener: confirming protocol: /libp2p/dcutr
[2023-02-12T22:08:57Z DEBUG multistream_select::listener_select] Listener: sent confirmed protocol: /libp2p/dcutr
[2023-02-12T22:08:57Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:57Z INFO dcutr] RemoteInitiatedDirectConnectionUpgrade { remote_peer_id: PeerId("12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X"), remote_relayed_addr: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X" }
[2023-02-12T22:08:57Z DEBUG libp2p_dns] Dialing /ip4/y.y.y.y/tcp/59664/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X
[2023-02-12T22:08:57Z DEBUG libp2p_tcp] dialing y.y.y.y:59664
[2023-02-12T22:08:57Z DEBUG libp2p_dns] Dial error: Transport(Os { code: 61, kind: ConnectionRefused, message: "Connection refused" }).
[2023-02-12T22:08:57Z DEBUG libp2p_swarm] Connection attempt to PeerId("12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X") failed with Transport([("/ip4/y.y.y.y/tcp/59664/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X", Other(Custom { kind: Other, error: A(A(B(Transport(Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })))) }))]).
[2023-02-12T22:08:57Z INFO dcutr] Outgoing connection error to Some(PeerId("12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X")): Transport([("/ip4/y.y.y.y/tcp/59664/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X", Other(Custom { kind: Other, error: A(A(B(Transport(Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })))) }))])
[2023-02-12T22:08:57Z DEBUG multistream_select::listener_select] Listener: confirming protocol: /ipfs/id/1.0.0
[2023-02-12T22:08:57Z DEBUG multistream_select::listener_select] Listener: sent confirmed protocol: /ipfs/id/1.0.0
[2023-02-12T22:08:57Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:57Z DEBUG multistream_select::listener_select] Listener: confirming protocol: /libp2p/dcutr
[2023-02-12T22:08:57Z DEBUG multistream_select::listener_select] Listener: sent confirmed protocol: /libp2p/dcutr
[2023-02-12T22:08:57Z DEBUG yamux::connection] 5e318ad0: new outbound (Stream 5e318ad0/3) of (Connection 5e318ad0 Client (streams 4))
[2023-02-12T22:08:57Z INFO dcutr] Sent { peer_id: PeerId("12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X") }
[2023-02-12T22:08:57Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /ipfs/id/1.0.0
[2023-02-12T22:08:57Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /ipfs/id/1.0.0
[2023-02-12T22:08:57Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:57Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:57Z INFO dcutr] Received { peer_id: PeerId("12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X"), info: Info { public_key: Ed25519(PublicKey(compressed): cecc157dc1ddd7295951c29888f095adb944d1b73d696e6df65d683bd4fc), protocol_version: "/TODO/0.0.1", agent_version: "rust-libp2p/0.41.0", listen_addrs: ["/ip4/y.y.y.y/tcp/59664", "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X", "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X", "/ip4/127.0.0.1/tcp/59664", "/ip4/192.168.50.16/tcp/59664"], protocols: ["/libp2p/circuit/relay/0.2.0/stop", "/ipfs/ping/1.0.0", "/ipfs/id/1.0.0", "/ipfs/id/push/1.0.0", "/libp2p/dcutr"], observed_addr: "/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN" } }
[2023-02-12T22:08:57Z INFO dcutr] RemoteInitiatedDirectConnectionUpgrade { remote_peer_id: PeerId("12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X"), remote_relayed_addr: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X" }
[2023-02-12T22:08:57Z DEBUG libp2p_dns] Dialing /ip4/y.y.y.y/tcp/59664/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X
[2023-02-12T22:08:57Z DEBUG libp2p_tcp] dialing y.y.y.y:59664
[2023-02-12T22:08:57Z DEBUG libp2p_dns] Dial error: Transport(Os { code: 61, kind: ConnectionRefused, message: "Connection refused" }).
[2023-02-12T22:08:57Z DEBUG libp2p_swarm] Connection attempt to PeerId("12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X") failed with Transport([("/ip4/y.y.y.y/tcp/59664/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X", Other(Custom { kind: Other, error: A(A(B(Transport(Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })))) }))]).
[2023-02-12T22:08:57Z INFO dcutr] Outgoing connection error to Some(PeerId("12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X")): Transport([("/ip4/y.y.y.y/tcp/59664/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X", Other(Custom { kind: Other, error: A(A(B(Transport(Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })))) }))])
[2023-02-12T22:09:00Z DEBUG yamux::connection::stream] 3667c05e/5: eof
[2023-02-12T22:09:00Z DEBUG yamux::connection] 5e318ad0: socket eof
[2023-02-12T22:09:00Z DEBUG libp2p_swarm] Connection closed with error IO(Custom { kind: Other, error: YamuxError(Closed) }): Connected { endpoint: Dialer { address: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X", role_override: Dialer }, peer_id: PeerId("12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X") }; Total (peer): 0.
[2023-02-12T22:09:10Z DEBUG libp2p_swarm] Connection closed with error KeepAliveTimeout: Connected { endpoint: Dialer { address: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN", role_override: Dialer }, peer_id: PeerId("12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN") }; Total (peer): 0.
Finished dev [unoptimized + debuginfo] target(s) in 0.25s
Running `target/debug/examples/dcutr --secret-key-seed 1 --mode listen --relay-address /ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN`
[2023-02-12T22:08:43Z INFO dcutr] Local peer id: PeerId("12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X")
[2023-02-12T22:08:43Z DEBUG libp2p_tcp] listening on 0.0.0.0:0
[2023-02-12T22:08:43Z DEBUG libp2p_tcp] New listen address: /ip4/127.0.0.1/tcp/59664
[2023-02-12T22:08:43Z DEBUG libp2p_swarm] Listener ListenerId(7375908948247646137); New address: "/ip4/127.0.0.1/tcp/59664"
[2023-02-12T22:08:43Z INFO dcutr] Listening on "/ip4/127.0.0.1/tcp/59664"
[2023-02-12T22:08:43Z DEBUG libp2p_tcp] New listen address: /ip4/192.168.50.16/tcp/59664
[2023-02-12T22:08:43Z DEBUG libp2p_swarm] Listener ListenerId(7375908948247646137); New address: "/ip4/192.168.50.16/tcp/59664"
[2023-02-12T22:08:43Z INFO dcutr] Listening on "/ip4/192.168.50.16/tcp/59664"
[2023-02-12T22:08:44Z DEBUG libp2p_dns] Dialing /ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN
[2023-02-12T22:08:44Z DEBUG libp2p_tcp] dialing x.x.x.x:4008
[2023-02-12T22:08:44Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /noise
[2023-02-12T22:08:44Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /noise
[2023-02-12T22:08:45Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:45Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /yamux/1.0.0
[2023-02-12T22:08:45Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /yamux/1.0.0
[2023-02-12T22:08:45Z DEBUG yamux::connection] new connection: 3e33c06c (Client)
[2023-02-12T22:08:45Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:45Z DEBUG libp2p_swarm] Connection established: PeerId("12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN") Dialer { address: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN", role_override: Dialer }; Total (peer): 1. Total non-banned (peer): 1
[2023-02-12T22:08:45Z DEBUG multistream_select::listener_select] Listener: confirming protocol: /ipfs/ping/1.0.0
[2023-02-12T22:08:45Z DEBUG multistream_select::listener_select] Listener: sent confirmed protocol: /ipfs/ping/1.0.0
[2023-02-12T22:08:45Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:45Z DEBUG yamux::connection] 3e33c06c: new outbound (Stream 3e33c06c/1) of (Connection 3e33c06c Client (streams 1))
[2023-02-12T22:08:45Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /ipfs/ping/1.0.0
[2023-02-12T22:08:45Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0
[2023-02-12T22:08:45Z DEBUG libp2p_ping] Ping received from PeerId("12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN")
[2023-02-12T22:08:45Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:45Z DEBUG libp2p_ping] Ping sent to PeerId("12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN")
[2023-02-12T22:08:45Z DEBUG multistream_select::listener_select] Listener: confirming protocol: /ipfs/id/1.0.0
[2023-02-12T22:08:45Z DEBUG multistream_select::listener_select] Listener: sent confirmed protocol: /ipfs/id/1.0.0
[2023-02-12T22:08:45Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:45Z DEBUG yamux::connection] 3e33c06c: new outbound (Stream 3e33c06c/3) of (Connection 3e33c06c Client (streams 3))
[2023-02-12T22:08:45Z INFO dcutr] Told relay its public address.
[2023-02-12T22:08:45Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /ipfs/id/1.0.0
[2023-02-12T22:08:45Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /ipfs/id/1.0.0
[2023-02-12T22:08:45Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:45Z INFO dcutr] Relay told us our public address: "/ip4/y.y.y.y/tcp/59664"
[2023-02-12T22:08:45Z DEBUG yamux::connection] 3e33c06c: new outbound (Stream 3e33c06c/5) of (Connection 3e33c06c Client (streams 2))
[2023-02-12T22:08:45Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /libp2p/circuit/relay/0.2.0/hop
[2023-02-12T22:08:45Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /libp2p/circuit/relay/0.2.0/hop
[2023-02-12T22:08:45Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:45Z INFO dcutr] Relay accepted our reservation request.
[2023-02-12T22:08:45Z DEBUG libp2p_swarm] Listener ListenerId(16458309771902576261); New address: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X"
[2023-02-12T22:08:45Z INFO dcutr] Listening on "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X"
[2023-02-12T22:08:56Z DEBUG multistream_select::listener_select] Listener: confirming protocol: /libp2p/circuit/relay/0.2.0/stop
[2023-02-12T22:08:56Z DEBUG multistream_select::listener_select] Listener: sent confirmed protocol: /libp2p/circuit/relay/0.2.0/stop
[2023-02-12T22:08:56Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:56Z INFO dcutr] InboundCircuitEstablished { src_peer_id: PeerId("12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN"), limit: Some(Limit { duration: Some(120s), data_in_bytes: Some(131072) }) }
[2023-02-12T22:08:56Z DEBUG multistream_select::listener_select] Listener: confirming protocol: /noise
[2023-02-12T22:08:56Z DEBUG multistream_select::listener_select] Listener: sent confirmed protocol: /noise
[2023-02-12T22:08:57Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:57Z DEBUG multistream_select::listener_select] Listener: confirming protocol: /yamux/1.0.0
[2023-02-12T22:08:57Z DEBUG multistream_select::listener_select] Listener: sent confirmed protocol: /yamux/1.0.0
[2023-02-12T22:08:57Z DEBUG yamux::connection] new connection: 70c2b91e (Server)
[2023-02-12T22:08:57Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:57Z DEBUG yamux::connection] 70c2b91e: new outbound (Stream 70c2b91e/2) of (Connection 70c2b91e Server (streams 0))
[2023-02-12T22:08:57Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /ipfs/ping/1.0.0
[2023-02-12T22:08:57Z DEBUG libp2p_swarm] Connection established: PeerId("12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3") Listener { local_addr: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit", send_back_addr: "/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN" }; Total (peer): 1. Total non-banned (peer): 1
[2023-02-12T22:08:57Z INFO dcutr] Established connection to PeerId("12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3") via Listener { local_addr: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit", send_back_addr: "/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN" }
[2023-02-12T22:08:57Z DEBUG yamux::connection] 70c2b91e: new outbound (Stream 70c2b91e/4) of (Connection 70c2b91e Server (streams 1))
[2023-02-12T22:08:57Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /libp2p/dcutr
[2023-02-12T22:08:57Z INFO dcutr] InitiatedDirectConnectionUpgrade { remote_peer_id: PeerId("12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3"), local_relayed_addr: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit" }
[2023-02-12T22:08:57Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0
[2023-02-12T22:08:57Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:57Z DEBUG multistream_select::listener_select] Listener: confirming protocol: /ipfs/ping/1.0.0
[2023-02-12T22:08:57Z DEBUG multistream_select::listener_select] Listener: sent confirmed protocol: /ipfs/ping/1.0.0
[2023-02-12T22:08:57Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:57Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /libp2p/dcutr
[2023-02-12T22:08:57Z DEBUG libp2p_ping] Ping received from PeerId("12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3")
[2023-02-12T22:08:57Z DEBUG libp2p_ping] Ping sent to PeerId("12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3")
[2023-02-12T22:08:57Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:57Z DEBUG libp2p_dns] Dialing /ip4/y.y.y.y/tcp/59669/p2p/12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3
[2023-02-12T22:08:57Z DEBUG libp2p_tcp] dialing y.y.y.y:59669
[2023-02-12T22:08:57Z DEBUG libp2p_dns] Dial error: Transport(Os { code: 61, kind: ConnectionRefused, message: "Connection refused" }).
[2023-02-12T22:08:57Z DEBUG libp2p_swarm] Connection attempt to PeerId("12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3") failed with Transport([("/ip4/y.y.y.y/tcp/59669/p2p/12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3", Other(Custom { kind: Other, error: A(A(B(Transport(Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })))) }))]).
[2023-02-12T22:08:57Z INFO dcutr] Outgoing connection error to Some(PeerId("12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3")): Transport([("/ip4/y.y.y.y/tcp/59669/p2p/12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3", Other(Custom { kind: Other, error: A(A(B(Transport(Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })))) }))])
[2023-02-12T22:08:57Z DEBUG yamux::connection] 70c2b91e: new outbound (Stream 70c2b91e/6) of (Connection 70c2b91e Server (streams 3))
[2023-02-12T22:08:57Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /libp2p/dcutr
[2023-02-12T22:08:57Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /libp2p/dcutr
[2023-02-12T22:08:57Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:57Z DEBUG yamux::connection] 70c2b91e: new outbound (Stream 70c2b91e/8) of (Connection 70c2b91e Server (streams 3))
[2023-02-12T22:08:57Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /ipfs/id/1.0.0
[2023-02-12T22:08:57Z DEBUG libp2p_dns] Dialing /ip4/y.y.y.y/tcp/59669/p2p/12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3
[2023-02-12T22:08:57Z DEBUG libp2p_tcp] dialing y.y.y.y:59669
[2023-02-12T22:08:57Z DEBUG libp2p_dns] Dial error: Transport(Os { code: 61, kind: ConnectionRefused, message: "Connection refused" }).
[2023-02-12T22:08:57Z DEBUG libp2p_swarm] Connection attempt to PeerId("12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3") failed with Transport([("/ip4/y.y.y.y/tcp/59669/p2p/12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3", Other(Custom { kind: Other, error: A(A(B(Transport(Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })))) }))]).
[2023-02-12T22:08:57Z INFO dcutr] Outgoing connection error to Some(PeerId("12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3")): Transport([("/ip4/y.y.y.y/tcp/59669/p2p/12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3", Other(Custom { kind: Other, error: A(A(B(Transport(Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })))) }))])
[2023-02-12T22:08:57Z DEBUG yamux::connection] 70c2b91e: new outbound (Stream 70c2b91e/10) of (Connection 70c2b91e Server (streams 3))
[2023-02-12T22:08:57Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /libp2p/dcutr
[2023-02-12T22:08:57Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /ipfs/id/1.0.0
[2023-02-12T22:08:57Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:57Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /libp2p/dcutr
[2023-02-12T22:08:57Z DEBUG multistream_select::listener_select] Listener: confirming protocol: /ipfs/id/1.0.0
[2023-02-12T22:08:57Z DEBUG multistream_select::listener_select] Listener: sent confirmed protocol: /ipfs/id/1.0.0
[2023-02-12T22:08:57Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:57Z INFO dcutr] Received { peer_id: PeerId("12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3"), info: Info { public_key: Ed25519(PublicKey(compressed): 6b79c57e6a95239282c4818e96112f3f3a401ba97a564c23852a3f1ea5fc), protocol_version: "/TODO/0.0.1", agent_version: "rust-libp2p/0.41.0", listen_addrs: ["/ip4/y.y.y.y/tcp/59669", "/ip4/127.0.0.1/tcp/59669", "/ip4/192.168.50.16/tcp/59669"], protocols: ["/libp2p/circuit/relay/0.2.0/stop", "/ipfs/ping/1.0.0", "/ipfs/id/1.0.0", "/ipfs/id/push/1.0.0", "/libp2p/dcutr"], observed_addr: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X" } }
[2023-02-12T22:08:57Z INFO dcutr] Sent { peer_id: PeerId("12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3") }
[2023-02-12T22:08:57Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:08:57Z DEBUG libp2p_dns] Dialing /ip4/y.y.y.y/tcp/59669/p2p/12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3
[2023-02-12T22:08:57Z DEBUG libp2p_tcp] dialing y.y.y.y:59669
[2023-02-12T22:08:57Z DEBUG libp2p_dns] Dial error: Transport(Os { code: 61, kind: ConnectionRefused, message: "Connection refused" }).
[2023-02-12T22:08:57Z DEBUG libp2p_swarm] Connection attempt to PeerId("12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3") failed with Transport([("/ip4/y.y.y.y/tcp/59669/p2p/12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3", Other(Custom { kind: Other, error: A(A(B(Transport(Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })))) }))]).
[2023-02-12T22:08:57Z INFO dcutr] Outgoing connection error to Some(PeerId("12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3")): Transport([("/ip4/y.y.y.y/tcp/59669/p2p/12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3", Other(Custom { kind: Other, error: A(A(B(Transport(Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })))) }))])
[2023-02-12T22:08:57Z INFO dcutr] DirectConnectionUpgradeFailed { remote_peer_id: PeerId("12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3"), error: Dial }
[2023-02-12T22:08:57Z DEBUG libp2p_swarm] Connection closed with error KeepAliveTimeout: Connected { endpoint: Listener { local_addr: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit", send_back_addr: "/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN" }, peer_id: PeerId("12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3") }; Total (peer): 0.
[2023-02-12T22:09:00Z DEBUG libp2p_ping] Ping received from PeerId("12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN")
[2023-02-12T22:09:00Z DEBUG libp2p_ping] Ping sent to PeerId("12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN")
[2023-02-12T22:09:15Z DEBUG libp2p_ping] Ping received from PeerId("12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN")
Finished dev [unoptimized + debuginfo] target(s) in 0.33s
Running `target/debug/examples/relay_v2 --port 4008 --secret-key-seed 0`
opt: Opt { use_ipv6: None, secret_key_seed: 0, port: 4008 }
Local peer id: PeerId("12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN")
Listening on "/ip4/127.0.0.1/tcp/4008"
Listening on "/ip4/x.x.x.x/tcp/4008"
Listening on "/ip4/192.168.246.1/tcp/4008"
ReservationReqAccepted { src_peer_id: PeerId("12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X"), renewed: false }
CircuitReqAccepted { src_peer_id: PeerId("12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3"), dst_peer_id: PeerId("12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X") }
CircuitClosed { src_peer_id: PeerId("12D3KooWH3uVF6wv47WnArKHk5p6cvgCJEb74UTmxztmQDc298L3"), dst_peer_id: PeerId("12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X"), error: Some(Kind(ConnectionAborted)) }
RUST_LOG=debug cargo run --example dcutr -p libp2p-dcutr -- --secret-key-seed 1 --mode listen --relay-address /ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN
Finished dev [unoptimized + debuginfo] target(s) in 0.59s
Running `target/debug/examples/dcutr --secret-key-seed 1 --mode listen --relay-address /ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN`
[2023-02-12T22:36:05Z INFO dcutr] Local peer id: PeerId("12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X")
[2023-02-12T22:36:05Z DEBUG libp2p_tcp] listening on 0.0.0.0:0
[2023-02-12T22:36:05Z DEBUG libp2p_tcp] New listen address: /ip4/127.0.0.1/tcp/60605
[2023-02-12T22:36:05Z DEBUG libp2p_swarm] Listener ListenerId(9480898041044553357); New address: "/ip4/127.0.0.1/tcp/60605"
[2023-02-12T22:36:05Z INFO dcutr] Listening on "/ip4/127.0.0.1/tcp/60605"
[2023-02-12T22:36:05Z DEBUG libp2p_tcp] New listen address: /ip4/192.168.50.16/tcp/60605
[2023-02-12T22:36:05Z DEBUG libp2p_swarm] Listener ListenerId(9480898041044553357); New address: "/ip4/192.168.50.16/tcp/60605"
[2023-02-12T22:36:05Z INFO dcutr] Listening on "/ip4/192.168.50.16/tcp/60605"
[2023-02-12T22:36:06Z DEBUG libp2p_dns] Dialing /ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN
[2023-02-12T22:36:06Z DEBUG libp2p_tcp] dialing x.x.x.x:4008
[2023-02-12T22:36:06Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /noise
[2023-02-12T22:36:06Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /noise
[2023-02-12T22:36:06Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:36:06Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /yamux/1.0.0
[2023-02-12T22:36:06Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /yamux/1.0.0
[2023-02-12T22:36:06Z DEBUG yamux::connection] new connection: 146cc402 (Client)
[2023-02-12T22:36:06Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:36:06Z DEBUG libp2p_swarm] Connection established: PeerId("12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN") Dialer { address: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN", role_override: Dialer }; Total (peer): 1. Total non-banned (peer): 1
[2023-02-12T22:36:06Z DEBUG multistream_select::listener_select] Listener: confirming protocol: /ipfs/ping/1.0.0
[2023-02-12T22:36:06Z DEBUG multistream_select::listener_select] Listener: sent confirmed protocol: /ipfs/ping/1.0.0
[2023-02-12T22:36:06Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:36:06Z DEBUG yamux::connection] 146cc402: new outbound (Stream 146cc402/1) of (Connection 146cc402 Client (streams 1))
[2023-02-12T22:36:06Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /ipfs/ping/1.0.0
[2023-02-12T22:36:06Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0
[2023-02-12T22:36:06Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:36:06Z DEBUG libp2p_ping] Ping received from PeerId("12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN")
[2023-02-12T22:36:07Z DEBUG libp2p_ping] Ping sent to PeerId("12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN")
[2023-02-12T22:36:07Z DEBUG multistream_select::listener_select] Listener: confirming protocol: /ipfs/id/1.0.0
[2023-02-12T22:36:07Z DEBUG multistream_select::listener_select] Listener: sent confirmed protocol: /ipfs/id/1.0.0
[2023-02-12T22:36:07Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:36:07Z DEBUG yamux::connection] 146cc402: new outbound (Stream 146cc402/3) of (Connection 146cc402 Client (streams 3))
[2023-02-12T22:36:07Z INFO dcutr] Told relay its public address.
[2023-02-12T22:36:07Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /ipfs/id/1.0.0
[2023-02-12T22:36:07Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /ipfs/id/1.0.0
[2023-02-12T22:36:07Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:36:07Z INFO dcutr] Relay told us our public address: "/ip4/47.155.95.254/tcp/60605"
[2023-02-12T22:36:07Z DEBUG yamux::connection] 146cc402: new outbound (Stream 146cc402/5) of (Connection 146cc402 Client (streams 2))
[2023-02-12T22:36:07Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /libp2p/circuit/relay/0.2.0/hop
[2023-02-12T22:36:07Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /libp2p/circuit/relay/0.2.0/hop
[2023-02-12T22:36:07Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:36:07Z INFO dcutr] Relay accepted our reservation request.
[2023-02-12T22:36:07Z DEBUG libp2p_swarm] Listener ListenerId(13000802557488929410); New address: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X"
[2023-02-12T22:36:07Z INFO dcutr] Listening on "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X"
[2023-02-12T22:36:22Z DEBUG libp2p_ping] Ping received from PeerId("12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN")
[2023-02-12T22:36:22Z DEBUG libp2p_ping] Ping sent to PeerId("12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN")
[2023-02-12T22:36:30Z DEBUG multistream_select::listener_select] Listener: confirming protocol: /libp2p/circuit/relay/0.2.0/stop
[2023-02-12T22:36:30Z DEBUG multistream_select::listener_select] Listener: sent confirmed protocol: /libp2p/circuit/relay/0.2.0/stop
[2023-02-12T22:36:30Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:36:30Z INFO dcutr] InboundCircuitEstablished { src_peer_id: PeerId("12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN"), limit: Some(Limit { duration: Some(120s), data_in_bytes: Some(131072) }) }
[2023-02-12T22:36:30Z DEBUG multistream_select::listener_select] Listener: confirming protocol: /noise
[2023-02-12T22:36:30Z DEBUG multistream_select::listener_select] Listener: sent confirmed protocol: /noise
[2023-02-12T22:36:30Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:36:30Z DEBUG multistream_select::listener_select] Listener: confirming protocol: /yamux/1.0.0
[2023-02-12T22:36:30Z DEBUG multistream_select::listener_select] Listener: sent confirmed protocol: /yamux/1.0.0
[2023-02-12T22:36:30Z DEBUG yamux::connection] new connection: da255183 (Server)
[2023-02-12T22:36:30Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:36:30Z DEBUG libp2p_swarm] Connection established: PeerId("12D3KooWJCKyRJN7vbyvBkfD9B3MuTMmuKre1TEAe2gELV5e6uNU") Listener { local_addr: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit", send_back_addr: "/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN" }; Total (peer): 1. Total non-banned (peer): 1
[2023-02-12T22:36:30Z DEBUG yamux::connection] da255183: new outbound (Stream da255183/2) of (Connection da255183 Server (streams 0))
[2023-02-12T22:36:30Z INFO dcutr] Established connection to PeerId("12D3KooWJCKyRJN7vbyvBkfD9B3MuTMmuKre1TEAe2gELV5e6uNU") via Listener { local_addr: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit", send_back_addr: "/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN" }
[2023-02-12T22:36:30Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /ipfs/ping/1.0.0
[2023-02-12T22:36:30Z INFO dcutr] InitiatedDirectConnectionUpgrade { remote_peer_id: PeerId("12D3KooWJCKyRJN7vbyvBkfD9B3MuTMmuKre1TEAe2gELV5e6uNU"), local_relayed_addr: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit" }
[2023-02-12T22:36:30Z DEBUG yamux::connection] da255183: new outbound (Stream da255183/4) of (Connection da255183 Server (streams 1))
[2023-02-12T22:36:30Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /libp2p/dcutr
[2023-02-12T22:36:31Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0
[2023-02-12T22:36:31Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:36:31Z DEBUG multistream_select::dialer_select] Dialer: Received rejection of protocol: /libp2p/dcutr
[2023-02-12T22:36:31Z DEBUG multistream_select::listener_select] Listener: confirming protocol: /ipfs/ping/1.0.0
[2023-02-12T22:36:31Z DEBUG multistream_select::listener_select] Listener: sent confirmed protocol: /ipfs/ping/1.0.0
[2023-02-12T22:36:31Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:36:31Z INFO dcutr] DirectConnectionUpgradeFailed { remote_peer_id: PeerId("12D3KooWJCKyRJN7vbyvBkfD9B3MuTMmuKre1TEAe2gELV5e6uNU"), error: Handler(Upgrade(Select(Failed))) }
[2023-02-12T22:36:31Z DEBUG libp2p_ping] Ping received from PeerId("12D3KooWJCKyRJN7vbyvBkfD9B3MuTMmuKre1TEAe2gELV5e6uNU")
[2023-02-12T22:36:31Z DEBUG libp2p_ping] Ping sent to PeerId("12D3KooWJCKyRJN7vbyvBkfD9B3MuTMmuKre1TEAe2gELV5e6uNU")
[2023-02-12T22:36:31Z DEBUG yamux::connection] da255183: new outbound (Stream da255183/6) of (Connection da255183 Server (streams 2))
[2023-02-12T22:36:31Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /ipfs/id/1.0.0
[2023-02-12T22:36:31Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /ipfs/id/1.0.0
[2023-02-12T22:36:31Z DEBUG libp2p_core::upgrade::apply] Successfully applied negotiated protocol
[2023-02-12T22:36:31Z INFO dcutr] Received { peer_id: PeerId("12D3KooWJCKyRJN7vbyvBkfD9B3MuTMmuKre1TEAe2gELV5e6uNU"), info: Info { public_key: Ed25519(PublicKey(compressed): 7c7dca80efa8de4cd9249b5b3eabd8b3daed6149fe4cff24cba1d9c26d7a245), protocol_version: "/substrate/1.0", agent_version: "substrate-node/v2.0.0-e3245d49d-x86_64-linux-gnu (unknown)", listen_addrs: [], protocols: ["/ipfs/kad/1.0.0", "/ipfs/ping/1.0.0", "/ipfs/id/1.0.0", "/ipfs/id/push/1.0.0", "/libp2p/circuit/relay/0.2.0/stop"], observed_addr: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X" } }
[2023-02-12T22:36:31Z DEBUG libp2p_swarm] Connection closed with error KeepAliveTimeout: Connected { endpoint: Listener { local_addr: "/ip4/x.x.x.x/tcp/4008/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN/p2p-circuit", send_back_addr: "/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN" }, peer_id: PeerId("12D3KooWJCKyRJN7vbyvBkfD9B3MuTMmuKre1TEAe2gELV5e6uNU") }; Total (peer): 0.
[2023-02-12T22:36:37Z DEBUG libp2p_ping] Ping received from PeerId("12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN")
[2023-02-12T22:36:37Z DEBUG libp2p_ping] Ping sent to PeerId("12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment