cypsela / sailplane-web

Collaborative p2p file sharing in the browser
https://cypsela.github.io/sailplane-web
GNU General Public License v3.0
77 stars 31 forks source link

console error about ipfs.io #23

Open guotao opened 1 year ago

guotao commented 1 year ago

There is error in console

WebSocket connection to 'wss://node1.preload.ipfs.io/p2p/XXXXX' failed:

So why it need to connect to ipfs? is'nt it a p2p ?

tabcat commented 1 year ago

These are preload nodes which just cache content on the network. There are a few of them that the ipfs instance automatically connects to if a default flag is set.

So why it need to connect to ipfs? is'nt it a p2p ?

It's not needed and the app should still work just fine without any of these. Connection errors being logged are not uncommon and usually don't mean anything is broken.