Comments (2)
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.
MVP was completed
from universal-connectivity.
Related Issues (20)
- License? HOT 1
- In React, Uncaught Error: Cannot find module 'interface-datastore/key'
- Compiling rust-peer to wasm HOT 1
- feat: some chat UX improvement ideas HOT 1
- Rust peer is announcing wrong multiaddrs HOT 9
- Rust peer exhausting resources HOT 1
- CI: Introduce tests for JS-peer HOT 2
- Add ability to connect to peers using only PeerID HOT 2
- Failed to started lib2p HOT 2
- browser-to-browser connectivity with webRTC and pubsub (gossipsub) HOT 4
- Update to Rust v0.52
- Enable dependabot HOT 1
- Create a CODEOWNERS file HOT 2
- JS: update stream mgmt in the new way refactored HOT 1
- JS: use js-libp2p-logger instead of `console.log` HOT 1
- Add a Rust WASM peer? HOT 2
- Rust: Allow for stable identities that don't depend on the file-system HOT 1
- Help js browser peers discover each other out of the box HOT 19
- Go build error HOT 3
- Add CI for Go Peers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from universal-connectivity.