This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
Getting an IPFS instance to connect to a swarm doesn't work (or docs incomplete) #1534
Labels
kind/support
A question or request for support
I've been looking at this for a while, and as far as I can tell this is a bug and not bad code. Essentially, outside of using p2p-websocket-star or similar there does not appear to be a working way of setting up a personal swarm. Either that or everything that I've read in the documentation here and elsewhere is incomplete.
I have a detailed write up on stack overflow (https://stackoverflow.com/questions/52130383/ipfs-swarm-address-malformed) which I will not reproduce here. But in essence the point where I've gotten stuck is that after using https://github.com/libp2p/js-libp2p-websocket-star (as mentioned in the docs to use) to set up a websocket server and pointing the IPFS command to that swarm
ie:
I just get errors, and I can't broadcast a message between two open tabs.
Again, I've been on stack overflow and IRC quite a bit trying to resolve this and have come to the conclusion that it appears that I'm doing everything correctly at the API level, so there is something most likely going wrong under the hood.
Thanks!
The text was updated successfully, but these errors were encountered: