I have two nodes, one on localhost and one on a public facing server. Both nodes have each other as hard coded peers. I often will pin a file locally, and then ssh into my server and pin the file by hash there, which normally works fine.
I recently had some trouble with the server and had to fix some stuff 4 hours of troubleshooting, I may have broken something along the way), and since then I am unable to get files pinned on my local machine from the server.
ipfs routing findpeer <localhost_peer_id>
from the server returns a list of things, suggesting that my server is connected to my localhost client.
ipfs routing findprovs <cid>
returns my localhost peer ID, suggesting that my server knows my localhost client has the file.
ipfs block stat <cid>
hangs indefinitely.
ipfs pin add --progress <cid>
hangs at “Fetched/Processed 0 nodes”.
What additional things can I do to troubleshoot the problem? It doesn’t appear to be a connectivity problem since I can find my local client via peerID from my server, and the server is aware that my local client has the file in question. It seems like that rules out most of the common issues like firewalls and connectivity.