-
Notifications
You must be signed in to change notification settings - Fork 446
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
WebRTCTransport.dial AbortError #2702
Comments
This might be the same issue I reported in #2462. I'll take a closer look by replacing my However, I don't think that this is the same, as I'm building the application into a docker container with the I'll report back on my findings. |
I carefully deleted my The main target that I'm testing is a libp2p node setup as a Circuit Relay server. |
TURN works for regular internet connections across countries without this error, but it doesn't function properly with restrictive VPNs. This error indicates that WebRTC has failed to establish a connection with the peer. |
I wouldn't mind if webRTC fails to connect, but this error causes the application to crash and exit, and there doesn't seem to be any way to wrap it with try/catch to handle the exception. |
@christroutner while this is not a 'solution' (more of a temporary workaround), you might consider an application level handler and consider not allowing the application to crash if that type of exception goes unhandled... |
I appreciate the tip @cristianmadularu. I ended up just disabling WebRTC in my application until this issue can be resolved. It would be great to have, but it's not a core requirement. |
Version:
libp2p v1.9.1
Platform:
Linux hp-elitedesk01 5.15.0-91-generic Create CODE_OF_CONDUCT.md #101~20.04.1-Ubuntu SMP Thu Nov 16 14:22:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Subsystem:
WebRTC
Severity:
Description:
I had filed this previous issue about issues I was having with the @libp2p/webrtc package. That was resolved and the current package versions can be seen here and the code for initializing libp2p can be found here.
I'm now encountering what appears to be a race condition inside the webRTC libraries. The node will run for a while and then randomly will crash with the following error message:
Steps to reproduce the error:
The error does not occur right away. It will appear at some point within 30 minutes while the node is running. It forces the app to crash and the process manager will restart it. But then the crash will happen again within 30 minutes.
The text was updated successfully, but these errors were encountered: