Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error: closure invoked recursively or destroyed already #5636

Open
shuning-auki opened this issue Oct 15, 2024 · 2 comments
Open

Uncaught Error: closure invoked recursively or destroyed already #5636

shuning-auki opened this issue Oct 15, 2024 · 2 comments

Comments

@shuning-auki
Copy link

shuning-auki commented Oct 15, 2024

Summary

Browser throws a closure invoked recursively or destroyed already error whenever there are issues with the WebRTC connection.
Can be reproduced by running browser-webrtc example.

Expected behavior

web app won't crash because of closure invoked recursively or destroyed already.

Actual behavior

Screenshot 2024-10-15 at 11 45 56

Relevant log output

2024-10-15T03:32:15.081212Z DEBUG browser_webrtc_example: Serving static file file_path=browser_webrtc_example.js
2024-10-15T03:32:15.122348Z DEBUG browser_webrtc_example: Serving static file file_path=browser_webrtc_example_bg.wasm
2024-10-15T03:32:25.410772Z DEBUG libp2p_ping::handler: Ping failure: Other { error: Custom { kind: TimedOut, error: "ping protocol negotiation timed out" } }
2024-10-15T03:32:25.410893Z  INFO libp2p_webrtc_utils::stream::drop_listener: Stream dropped without graceful close, sending Reset
2024-10-15T03:32:25.423341Z DEBUG libp2p_ping::handler: ping succeeded rtt=1.741167ms
2024-10-15T03:32:40.427055Z DEBUG libp2p_ping::handler: ping succeeded rtt=1.866791ms
2024-10-15T03:32:55.428453Z DEBUG libp2p_ping::handler: Inbound ping error: Kind(UnexpectedEof)
2024-10-15T03:32:55.428623Z DEBUG libp2p_ping::handler: Ping failure: Other { error: Custom { kind: Other, error: "Stream closed" } }
2024-10-15T03:32:55.428669Z  INFO libp2p_webrtc_utils::stream::drop_listener: Stream dropped without graceful close, sending Reset
2024-10-15T03:32:55.428716Z  INFO libp2p_webrtc_utils::stream::drop_listener: Stream dropped without graceful close, sending Reset

Possible Solution

No response

Version

8ceadaa and master

Would you like to work on fixing this bug ?

Yes

@mickvandijke
Copy link

I'm running into the same issue. Did you perhaps find a fix for this?

@shuning-auki
Copy link
Author

These two may be related #5213

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants