Hello, everybody. I have a question.
Based on the page of Quickstart, I started two AWS servers and tested the IPFS cluster.
I have trouble with Step1.
I get the following error with $ ipfs-cluster-service daemon --bootstrap /ip4/10.1.1.224/tcp/9096/ipfs/QmaCdUbxKHehSiL5yb2MG9Nm5GhVWNBRDbB9bXHgpPSFCf
16:37:09.501 INFO service: Initializing. For verbose output run with "-l debug". Please wait... daemon.go:45
16:37:09.502 INFO consensus: cleaning empty Raft data folder (/home/ubuntu/.ipfs-cluster/raft) raft.go:678
16:37:09.502 WARNI service: the /home/ubuntu/.ipfs-cluster/raft folder has been rotated. Next start will use an empty state state.go:191
16:37:09.511 INFO cluster: IPFS Cluster v0.9.0 listening on:
/ip4/127.0.0.1/tcp/9096/ipfs/QmPW3wMhiF2Ds32dPWCt7rkcdkC8e3JA25Bst7rZCrHCwy
/ip4/10.1.1.226/tcp/9096/ipfs/QmPW3wMhiF2Ds32dPWCt7rkcdkC8e3JA25Bst7rZCrHCwy
/p2p-circuit/ipfs/QmPW3wMhiF2Ds32dPWCt7rkcdkC8e3JA25Bst7rZCrHCwy
cluster.go:114
16:37:09.512 INFO restapi: REST API (HTTP): /ip4/127.0.0.1/tcp/9094 restapi.go:443
16:37:09.512 INFO restapi: REST API (libp2p-http): ENABLED. Listening on:
/p2p-circuit/ipfs/QmPW3wMhiF2Ds32dPWCt7rkcdkC8e3JA25Bst7rZCrHCwy
/ip4/127.0.0.1/tcp/9096/ipfs/QmPW3wMhiF2Ds32dPWCt7rkcdkC8e3JA25Bst7rZCrHCwy
/ip4/10.1.1.226/tcp/9096/ipfs/QmPW3wMhiF2Ds32dPWCt7rkcdkC8e3JA25Bst7rZCrHCwy
restapi.go:460
16:37:09.513 INFO ipfsproxy: IPFS Proxy: /ip4/127.0.0.1/tcp/9095 -> /ip4/127.0.0.1/tcp/5001 ipfsproxy.go:272
16:37:09.513 INFO consensus: peer is ready to join a cluster raft.go:222
16:37:09.514 INFO service: Bootstrapping to /ip4/10.1.1.224/tcp/9096/ipfs/QmaCdUbxKHehSiL5yb2MG9Nm5GhVWNBRDbB9bXHgpPSFCf daemon.go:172
16:37:14.515 ERROR p2p-gorpc: dial backoff call.go:63
16:37:14.515 ERROR cluster: dial backoff cluster.go:732
16:37:14.515 ERROR service: bootstrap to /ip4/10.1.1.224/tcp/9096/ipfs/QmaCdUbxKHehSiL5yb2MG9Nm5GhVWNBRDbB9bXHgpPSFCf failed: dial backoff daemon.go:175
16:37:29.514 ERROR cluster: ***** ipfs-cluster consensus start timed out (tips below) ***** cluster.go:411
16:37:29.514 ERROR cluster:
**************************************************
This peer was not able to become part of the cluster.
This might be due to one or several causes:
- Check the logs above this message for errors
- Check that there is connectivity to the "peers" multiaddresses
- Check that all cluster peers are using the same "secret"
- Check that this peer is reachable on its "listen_multiaddress" by all peers
- Check that the current cluster is healthy (has a leader). Otherwise make
sure to start enough peers so that a leader election can happen.
- Check that the peer(s) you are trying to connect to is running the
same version of IPFS-cluster.
**************************************************
cluster.go:412
16:37:29.514 INFO cluster: shutting down Cluster cluster.go:483
16:37:29.514 INFO consensus: stopping Consensus component consensus.go:185
16:37:29.514 ERROR raft: NOTICE: Some RAFT log messages repeat and will only be logged once logging.go:105
16:37:29.515 ERROR raft: Failed to take snapshot: nothing new to snapshot logging.go:105
16:37:29.515 INFO monitor: stopping Monitor pubsubmon.go:162
16:37:29.515 INFO restapi: stopping Cluster API restapi.go:481
16:37:29.515 INFO ipfsproxy: stopping IPFS Proxy ipfsproxy.go:247
16:37:29.515 INFO ipfshttp: stopping IPFS Connector ipfshttp.go:201
16:37:29.515 INFO pintracker: stopping MapPinTracker maptracker.go:124
Secret is shared.
I have not set up any firewall.
Both daemons are working.
I have checked two servers can connect with $ ping