Dial errors in "Ipfs-cluster-follow" output

I’m using “ipfs-cluster-follow cord19-datasets run --init cord19.temporal.cloud” to help with the pandemic. Started the ipfs daemon beforehand.

I get this error:
22:42:07.808 INFO cluster: ** IPFS Cluster is READY ** cluster.go:655
22:42:42.807 ERROR p2p-gorpc: failed to dial : all dials failed

  • [/ip4/] CRYPTO_ERROR: peer IDs don’t match
  • [/ip4/] dial tcp4> i/o timeout
  • [/ip4/] dial tcp4> i/o timeout
  • [/ip4/] context deadline exceeded
  • [/ip4/] context deadline exceeded call.go:64

What does “all dials failed” mean?


it means there is a peer in there which is not dialable, plus a peer advertising as well which obviously cannot be dialed to.

libp2p has made big changes and I think peers are going to be more clever about what addresses are advertised etc, and we should get this in the next release.

But other than that, I think you can safely ignore these errors (as long the trusted peer is working, your peer should sync fine).

(It is shitty that these things appear as error too. For the library that is logging it, they are effectively errors, but upstream they should be just warnings or debug. I’m thinking of ways to improve this too, particularly in the context of ipfs-cluster-follow).

1 Like

I think it would be easier if the cluster follower would also print a status line at the bottom, if it’s run in a console. Like

10 pinning actions active, 500 pins in queue, delay: 5h 3m, cluster size: 10, open connections: 8, last pinset update: 3h 1m ago

or something like this

1 Like

Yeah I think ipfs-cluster-follow run could use a more user friendly output