-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
status api lists undialable peer ids #414
Comments
In this case The PeerId here is the Cluster PeerId and not the IPFS PeerId which address can be found at https://github.com/web3-storage/web3.storage/blob/main/PEERS. For instance, in this example |
Created ipfs-cluster/ipfs-cluster#1554 to see if we can include the PeerId of the actual IPFS Node. An alternative is to perform a follow up cluster request per upload and get the list of peers of a cluster and inspect the response. Note: This will need a small migration window as we currently store the PeerId of the Cluster in our Database and previous rows would be linked with the old one (per SQL ON CONFLICT clauses) |
Cluster now provides the peerId for the underlying ipfs node in pin status response, so we fix things to use that as our pin location peer id. Previously we used the cluster peerId which should only be used for internal cluster admin. With this change users will be able to use the peerId in the /status response to connect to the ipfs node that has their stuff via `ipfs swarm connect <peerId>` - Fix toPin to use ipfsPeerId - Update tests to verify that status response for new content has a peerId of the ipfs node for one of the cluster nodes. - Update ipfs-cluster client to [4.0.0](https://github.com/nftstorage/ipfs-cluster/releases/tag/v4.0.0) - Update ipfs-cluster in docker-compose to [0.14.5-rc1](https://github.com/ipfs/ipfs-cluster/releases/tag/v0.14.5-rc1) - Tweak test hooks to not wait for things to shut down before printing the test results overview, to reduce debugging friction. Fixes: #414 TODO: - [] db migration script to update PinLocation peerIds - [] verify cluster infra is updated to >= ipfs-cluster >= 0.14.5-rc1 - [] schedule read-only maintenance License: (Apache-2.0 AND MIT) Signed-off-by: Oli Evans <oli@tableflip.io>
Cluster now provides the peerId for the underlying ipfs node in pin status response, so we fix things to use that as our pin location peer id. Previously we used the cluster peerId which should only be used for internal cluster admin. With this change users will be able to use the peerId in the /status response to connect to the ipfs node that has their stuff via `ipfs swarm connect <peerId>` - Fix toPin to use ipfsPeerId - Update tests to verify that status response for new content has a peerId of the ipfs node for one of the cluster nodes. - Update ipfs-cluster client to [4.0.0](https://github.com/nftstorage/ipfs-cluster/releases/tag/v4.0.0) - Update ipfs-cluster in docker-compose to [0.14.5-rc1](https://github.com/ipfs/ipfs-cluster/releases/tag/v0.14.5-rc1) - Tweak test hooks to not wait for things to shut down before printing the test results overview, to reduce debugging friction. Fixes: #414 TODO: - [] db migration script to update PinLocation peerIds - [] verify cluster infra is updated to >= ipfs-cluster >= 0.14.5-rc1 - [] schedule read-only maintenance License: (Apache-2.0 AND MIT) Signed-off-by: Oli Evans <oli@tableflip.io>
url: https://api.web3.storage/status/bafybeibwtnukjkvxkbh3r4gza274w6qfomquekqqf7wddezytz5csylnja
response:
I tried to connect to the listed peer ids using my ipfs node and all three failed with the same error:
The peer ids that do have the content according to the dht:
The text was updated successfully, but these errors were encountered: