Giter Site home page Giter Site logo

Comments (2)

p-shahi avatar p-shahi commented on September 24, 2024

This could be an issue for rust-libp2p; noting here for now.
After closing a browser tab that's made a webrtc-direct connection to the rust peer, it seems that the rust webrtc transport sees it's disconnected but no SwarmEvent::ConnectionClosed is received. i.e. rust peer still sends Identify messages at regular intervals

[2023-04-14T04:02:43Z INFO  libp2p_webrtc::tokio::substream::drop_listener] Substream 1 dropped without graceful close, sending Reset
[2023-04-14T04:02:48Z INFO  webrtc_ice::agent::agent_internal] [controlled]: Setting new connection state: Disconnected
[2023-04-14T04:02:48Z INFO  webrtc::peer_connection] ICE connection state changed: disconnected
[2023-04-14T04:02:48Z INFO  webrtc::peer_connection] peer connection state changed: disconnected
[2023-04-14T04:02:58Z INFO  libp2p_webrtc::tokio::substream::drop_listener] Substream 7 dropped without graceful close, sending Reset
[2023-04-14T04:02:59Z WARN  webrtc_mdns::conn] Failed to parse mDNS packet parsing/packing of this type isn't available yet
[2023-04-14T04:03:00Z WARN  webrtc_mdns::conn] Failed to parse mDNS packet parsing/packing of this type isn't available yet
[2023-04-14T04:03:02Z WARN  webrtc_mdns::conn] Failed to parse mDNS packet parsing/packing of this type isn't available yet
[2023-04-14T04:03:03Z WARN  webrtc_mdns::conn] Failed to parse mDNS packet parsing/packing of this type isn't available yet
[2023-04-14T04:03:03Z WARN  webrtc_mdns::conn] Failed to parse mDNS packet parsing/packing of this type isn't available yet
[2023-04-14T04:03:06Z WARN  webrtc_mdns::conn] Failed to parse mDNS packet parsing/packing of this type isn't available yet
[2023-04-14T04:03:12Z WARN  webrtc_mdns::conn] Failed to parse mDNS packet parsing/packing of this type isn't available yet
[2023-04-14T04:03:13Z WARN  webrtc_ice::agent::agent_internal] [controlled]: Failed to close candidate udp4 prflx 127.0.0.1:64041 related :0: the agent is closed
[2023-04-14T04:03:13Z INFO  webrtc_ice::agent::agent_internal] [controlled]: Setting new connection state: Failed
[2023-04-14T04:03:13Z INFO  webrtc::peer_connection] ICE connection state changed: failed
[2023-04-14T04:03:13Z INFO  webrtc::peer_connection] peer connection state changed: failed
[2023-04-14T04:03:13Z INFO  libp2p_webrtc::tokio::substream::drop_listener] Substream 9 dropped without graceful close, sending Reset
[2023-04-14T04:03:28Z INFO  libp2p_webrtc::tokio::substream::drop_listener] Substream 11 dropped without graceful close, sending Reset
[2023-04-14T04:03:43Z INFO  libp2p_webrtc::tokio::substream::drop_listener] Substream 13 dropped without graceful close, sending Reset
[2023-04-14T04:03:43Z INFO  libp2p_webrtc::tokio::substream::drop_listener] Substream 15 dropped without graceful close, sending Reset
[2023-04-14T04:03:43Z INFO  rust_libp2p_webrtc_peer] BehaviourEvent::Identify Error { peer_id: PeerId("12D3KooWRhsuzjdci6Em3SezQADf5eKqRFhiQNk8ZHBTeN2HuJpF"), error: Timeout }
[2023-04-14T04:03:43Z INFO  rust_libp2p_webrtc_peer] Removed 12D3KooWRhsuzjdci6Em3SezQADf5eKqRFhiQNk8ZHBTeN2HuJpF from the routing table (if it was in there).





[2023-04-14T04:04:45Z WARN  webrtc_mdns::conn] Failed to parse mDNS packet parsing/packing of this type isn't available yet
[2023-04-14T04:04:46Z WARN  webrtc_mdns::conn] Failed to parse mDNS packet parsing/packing of this type isn't available yet
[2023-04-14T04:04:49Z WARN  webrtc_mdns::conn] Failed to parse mDNS packet parsing/packing of this type isn't available yet
[2023-04-14T04:04:50Z WARN  webrtc_mdns::conn] Failed to parse mDNS packet parsing/packing of this type isn't available yet
[2023-04-14T04:04:53Z WARN  webrtc_mdns::conn] Failed to parse mDNS packet parsing/packing of this type isn't available yet
[2023-04-14T04:04:53Z INFO  libp2p_webrtc::tokio::substream::drop_listener] Substream 17 dropped without graceful close, sending Reset
[2023-04-14T04:04:53Z INFO  rust_libp2p_webrtc_peer] BehaviourEvent::Identify Error { peer_id: PeerId("12D3KooWRhsuzjdci6Em3SezQADf5eKqRFhiQNk8ZHBTeN2HuJpF"), error: Timeout }
[2023-04-14T04:04:53Z INFO  rust_libp2p_webrtc_peer] Removed 12D3KooWRhsuzjdci6Em3SezQADf5eKqRFhiQNk8ZHBTeN2HuJpF from the routing table (if it was in there).

from universal-connectivity.

p-shahi avatar p-shahi commented on September 24, 2024

MVP was completed

from universal-connectivity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.