I’d like to better understand how peer lookup works and what the various parts of the IPFS pipeline are that could be slow.
I’m attempting to access a new CID that I recently pinned to my home Raspberry Pi 4 server, and I’m attempting to re-pin it on a different machine on a different network. These machines have talked to each other over IPFS before.
The CID is: bafybeih2r75jrkslgcs7b5orecbuypa5iohwnceeynr522ncwcbhi7nyr4
The PeerID of the Pi4 is /p2p/12D3KooWCFcfiBevjQD42aRAELMUZXAGScRiN2NcAthokF4dMnVU
The CID itself is fine, and IPFS check on fleek has no problems identifying it.
https://ipfs-check.on.fleek.co/?cid=bafybeih2r75jrkslgcs7b5orecbuypa5iohwnceeynr522ncwcbhi7nyr4&multiaddr=%2Fp2p%2F12D3KooWCFcfiBevjQD42aRAELMUZXAGScRiN2NcAthokF4dMnVU&timeoutSeconds=60
On the machine trying to access it ipfs swarm
does not list the Pi4’s address, but it has gotten to Fetched/Processed 1337 nodes
, so it started grabbing something, but now it’s stuck.
In the past I’ve had luck forcing the nodes to talk to each other by runnning:
ipfs swarm connect /p2p/12D3KooWCFcfiBevjQD42aRAELMUZXAGScRiN2NcAthokF4dMnVU
But I’d like to avoid that because the point of IPFS is that you don’t need to know who has the data a-priori, it should be able to find it.
I’d like to understand better what is causing the downloading node to get stuck, why it got some data, but then it hasn’t gotten the rest of it, and if I just let this wait (it’s been trying to grab data for over 20 hours now), if it will eventually get there.