Skip to content
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

Allow for testing using only a CID #6

Open
aschmahmann opened this issue Oct 5, 2021 · 1 comment
Open

Allow for testing using only a CID #6

aschmahmann opened this issue Oct 5, 2021 · 1 comment

Comments

@aschmahmann
Copy link
Contributor

ipfs-check currently requires that the user knows who has their data, which generally seems like a good thing in terms of raising awareness of "IPFS is not a magic data box of free cloud storage, it just helps you find who has your stuff".

However, if a user clicks a link ipfs.io/ipfs/QmFooBar on some website they have no way of knowing the PeerID that is supposed to have their data this means that the user who clicks the link might experience "IPFS doesn't work" rather than "I better tell website.tld that their link is busted".

Perhaps just giving a CID could trigger the following:

  1. Check the DHT for any providers, if none then error
  2. Check each of the providers to see if they are dialable and Bitswap thinks they have the data

Users could then see feedback like:

  • Data is not advertised in the DHT
  • X/Y providers are reachable
  • X/Y dialable providers responded saying they had the data

The error help text could also be reoriented from speaking to a user trying to make data available via IPFS (e.g. Peer has not responded that it has the CID. Your node does not think it has the data you think it does, or it took too long to respond. Until this is resolved other machines will be unable to download that content from you.) to the perspective of a user trying to find data (e.g. Peer has not responded that it has the CID. The providing nodes do not think they have the data you think they do, or they took too long to respond. Until this is resolved other machines will be unable to download that content from them. Reach out to the content providers for to let them know their service is experiencing issues.)

@SgtPooki
Copy link
Member

Providing some instructions for obtaining multiaddr for that field would be extremely helpful and beneficial even without the completion of this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants