Hello,
I am trying to build a web interface that would add files to IPFS through my IPFS Cluster network.
To do so, I know I should try to reach the cluster by reaching /ip4/anyClusterPeerIpAddress/tcp/9094 or via port 9095.
To test if I can first reach one peer via an other peer’s CLI running ipfs-cluster-ctl -l.
The issue I have doing so, is that whatever peer I try to reach from whatever other peer, I get a connection timeout code 0 error:
An error occurred:
Code: 0
Message: Get "http://clusterPeerIp:9094/peers": dial tcp clusterPeerIp:9094: i/o timeout
My webdev also tried to reach every peer from our web app using https://github.com/ipfs-cluster/js-cluster-client but for every request sent, we got an empty response, as if the server could not be reached or was sending back nothing.
I have tried many thing with firewalls to make sure the ports were open(which they already should be, as the peers have no trouble reaching eachothers via the 9096 port),
I have also tried to edit the service.json to allow API requests from any IP:
"api": {
"ipfsproxy": {
"listen_multiaddress": "/ip4/0.0.0.0/tcp/9095",
"node_multiaddress": "/ip4/127.0.0.1/tcp/5001",
}
}
"restapi": {
"http_listen_multiaddress": "/ip4/0.0.0.0/tcp/9094",
}
But still no success. If anyone has any ideas of what might be going wrong, I’m open to any suggestions!