const ipfs = new Ipfs({
repo: '/orbitdb/examples/browser/new/ipfs/0.33.1',
start: true,
preload: {
enabled: false
},
EXPERIMENTAL: {
pubsub: true,
},
config: {
Addresses: {
Swarm: [
// Use IPFS dev signal server
// '/dns4/star-signal.cloud.ipfs.team/wss/p2p-webrtc-star',
'/dns4/ws-star.discovery.libp2p.io/tcp/443/wss/p2p-websocket-star',
// Use local signal server
// '/ip4/0.0.0.0/tcp/9090/wss/p2p-webrtc-star',
]
},
}
})
But now that results in a no valid addresses were provided for transports [WebSockets,WebRTCStar,Circuit]
Thank you for the thorough reply! I was getting a 502 from the webrtc rendevous the other day and I knw from before that the ws one worked which is why I was checking out.
I’ll go back to trying webrtc. Thank you for the links and info!
Hi @zorillosdev, I did get something to work (with my own deployed server), but it’s been a while and I’m not sure I could remember or reproduce (using webrtc-star). I think there’s a long way to go before browsers actually get to be p2p on libp2p as far as I can tell though.