This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
Unable to connect two browser tabs with a stand alone js-ipfs node #3235
Labels
need/triage
Needs initial labeling and prioritization
Severity: High
Description:
I've used js-ipfs instance with a default config...
...inside my web app and tried to connect two different browser tabs via pubsub. I've waited for hours, but there was no connection.
ipfs.swarm.peers()
was called every 10s, the result was always the same:ipfs.pubsub.peers(topic)
also was called every 10s and there was no peers at all.I've looked through the web and found this config that make it work - my tabs start to see each other and discovered swarm peers list regularly changes:
Expected behaviour: js-ipfs discovers other peers out of the box without manual configuration, like go-ipfs do.
The text was updated successfully, but these errors were encountered: