Unchaught Error: Connection failed (webrtc-star) #662
Labels
exp/novice
Someone with a little familiarity can pick up
kind/bug
A bug in existing code (including security flaws)
P1
High: Likely tackled by core team if no one steps up
status/in-progress
In progress
[email protected]
(pretty sure the same error occurs in[email protected]
)Type: Bug
Severity: Medium
Description:
While running an ipfs node with a webrtc-star server configured often an
Unchaught Error: Connection failed
is often thrown. This error occurs if you're using a VPN and try to connect to a browser peer on the same machine. However it also seems to occur when you're unable to connect to peers in other (unknown) scenarios.It would perhaps be good to have a way to silence these error by setting a log level somewhere. Users don't strictly need to know if a connection to a random peer has failed for whatever reason.
Steps to reproduce the error:
Simply use the html file provided here: https://gist.github.com/oed/8cdabbc75db2a544c46598d065fbc125
For reference: ipfs/js-ipfs#2508
The text was updated successfully, but these errors were encountered: