Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Database is not replicating in browser, Error(PublishError.InsufficientPeers) #180

Open
Rammstien-king opened this issue Feb 10, 2023 · 0 comments

Comments

@Rammstien-king
Copy link

I am able to open the database (db.open) on remote machine. But database is not replicating. When i add data in using db.put i receive an error PublishError.InsufficientPeers ...
await ipfs.swarm.peers() indicates i am connected to 5 peers. I am using following configuration:
`const ipfsConfig = {
EXPERIMENTAL: {
pubsub: true,
},
config: {
Addresses: {
Swarm: [
// Use IPFS dev signal server
// Websocket:
// '/dns4/ws-star-signal-1.servep2p.com/tcp/443/wss/p2p-websocket-star',
// '/dns4/ws-star-signal-2.servep2p.com/tcp/443/wss/p2p-websocket-star',
// '/dns4/ws-star.discovery.libp2p.io/tcp/443/wss/p2p-websocket-star',
// WebRTC:
'/dns4/star-signal.cloud.ipfs.team/wss/p2p-webrtc-star',
'/dns4/wrtc-star1.par.dwebops.pub/tcp/443/wss/p2p-webrtc-star/',
'/dns4/wrtc-star2.sjc.dwebops.pub/tcp/443/wss/p2p-webrtc-star/',
'/dns4/webrtc-star.discovery.libp2p.io/tcp/443/wss/p2p-webrtc-star/',
// Use local signal server
// '/ip4/0.0.0.0/tcp/9090/wss/p2p-webrtc-star',
]
}

}
}`

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant