This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Nodes disconnect - can't retrieve files after period of time #920
Closed
Description
We have three servers running js-ipfs via node.js applications. As soon as the applications start, the servers can retrieve files from one another. After a couple of minutes, however, it seems as though they disconnect as files can't be pulled. The time is takes for this issue to arise ranges anything from 10 minutes to 30 minutes, it is not quite clear.
Our config contains addresses in the form of -> /ip4/ip.address./tcp/4002/ipfs/Qm... Server 1 and server 2 represents the other two nodes the node should connect to.
Our config is as follows:
Addresses: {
Swarm: [
"/ip4/0.0.0.0/tcp/4002",
"/ip4/server1.ip.address/tcp/4002/ipfs/Qm...",
"/ip4/server2.ip.address/tcp/4002/ipfs/Qm..."
]
},
Bootstrap: [
"/ip4/server1.ip.address/tcp/4002/ipfs/Qm...",
"/ip4/server2.ip.address/tcp/4002/ipfs/Qm..."
]
Any help would be appreciated!