Anyone here familiar with js-ipfs? Specifically webrtc-star features and/or circuit-relay. I've been having a hell of a time getting p2p going in browser over the Internet. I've been working on this for several hours, and haven't gotten even one connection rolling over the Internet. I'd really appreciate someone looking over this, I will write a tutorial after I get this all hammered down and try to jumpstart others: ## Setup: * Browser A: Home connection * Browser B: VPN connection * Star: star.thedisco.zone * RelayNode: ipfs.thedisco.zone Testing here: http://portal.thedisco.zone/testing/chat.html ## Scenario 1: Browser config: ```js await Ipfs.create({ repo: 'ok' + Math.random(), config: { Addresses: { Swarm: [ '/dns4/star.thedisco.zone/tcp/9090/wss/p2p-webrtc-star', '/dns6/star.thedisco.zone/tcp/9090/wss/p2p-webrtc-star', "/ip4/0.0.0.0/tcp/4002", "/ip4/127.0.0.1/tcp/4003/ws" ] } }}); ``` ### Result: If multiple browser sessions are launched on home connection nodes discover eachother fine over star however remote peers are not discovered (Browser A cannot discover or connect to Browser B). Additionally, Browser B and Browser A are 100% connected to the star node. The nodes however will not connect to eachother. ## Scenario 2: Browser config: ```js await Ipfs.create({ repo: 'ok' + Math.random(), relay: { enabled: true, hop: { enabled: true } }, config: { Bootstrap: [ '/dns6/ipfs.thedisco.zone/tcp/4430/wss/p2p/12D3KooWChhhfGdB9GJy1GbhghAAKCUR99oCymMEVS4eUcEy67nt', '/dns4/ipfs.thedisco.zone/tcp/4430/wss/p2p/12D3KooWChhhfGdB9GJy1GbhghAAKCUR99oCymMEVS4eUcEy67nt' ] }}); ``` go-ipfs config: https://pastebin.com/dMMqgNjZ ### Result: Multiple home connection nodes fail to discover eachother, likewise Browser A never connects to Browser B, connection is not relayed. The RelayNode shows up in the swarm list, but that's about it. There are no addresses listed on Browser A or Browser B under `ipfs.id()`. Additionally when trying to connect between nodes, there is no error, or any output at all for that matter (not even "undefined"). They don't show up in the `ipfs.swarm.peers();` list.