Closed
Description
So the Duo team (working on OpenBazaar) was all excited that we can now have truly peer-to-peer communications between js-ipfs and go-ipfs using WebSockets. It turns out that, in practice, WebSockets doesn't work direct p2p. The reason is that Firefox (since always) and Chrome (since recently) only allow for wss://
(secure WebSockets) on an https://
page. So the Duo team has to use a wss://
to ws://
proxy, which truly sucks.
Our hope is that go-libp2p will support WebRTC. The Duo team would be happy to review and test the implementation. 👍