-
Notifications
You must be signed in to change notification settings - Fork 2
Make waku-web browser work more reliably #8
Comments
cc @decanus who might know more about this wrt wrtc etc |
I in-fact do, so when negotating a webrtc connection you need to have a set of TURN servers. This is essentially a relay if a direct connection cannot be established. |
Isn't this what the signaling server is already doing? Just badly |
No, the signaling server is used to establish connections. The TURN server is a proxy if a direct connection cannot be established. See Turn. |
For some reason I thought TURN was provided for by https://github.com/libp2p/js-libp2p-webrtc-star It is also worth noting that the *-star family is not recommended |
@oskarth I wouldn't assume it is, as it would need to be some node / server that can be accessed. Not the browser. |
I don't mean the browser, I mean the Node JS bootstrap node. https://github.com/vacp2p/waku-web-chat/tree/master/nodejs/bootstrap |
Problem
Currently this setup is quite janky with browser. NodeJS and nim-waku generally works. But for browser we often get:
ICE failed, add a TURN server and see about:webrtc for more details
errors and similar, where browser can't establish a connection/discover the node js version.Acceptance criteria
Make browser work more reliably, as well as documented caveats of why things might fail etc.
The text was updated successfully, but these errors were encountered: