Allow the hosted node to accept secure websocket connections #85
Labels
👩💻👨💻 DX
Developer experience
💗 enhancement
New feature or request
🚠 infrastructure
What we use to run our services
Summary
Problem
In-browser nodes can only communicate via WebRTC and Websocket connections and therefore can't reach our hosted node.
Impact
If a user does not use an ipfs-enabled browser and falls back to an in-browser
js-ipfs
node, their node will be siloed from our network.Solution
go-ipfs
only supportsws
notwss
wss
through something likenginx
js-ipfs
supportswss
Detail
Enable websockets
Add an address of the format
/ip4/127.0.0.1/tcp/4002/ws
to~/.ipfs/config
or~/.jsipfs/config
Some relevant threads
libp2p/go-libp2p#188
ipfs/kubo#3907
INFURA/infura#101
To test with User settings app
peerID
of hosted node to bootstrap list insrc/ipfs/preferences.js(8)
hostless.dev
to check that it can find CIDjs-ipfs
node after connect and make sure it includes the relevantpeerID
. Something like:(in
src/ipfs/preferences
)The text was updated successfully, but these errors were encountered: