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

IPFS=>Lotus bridge unable to trigger pulling of data from the IPFS network #3750

Closed
ribasushi opened this issue Sep 10, 2020 · 2 comments
Closed

Comments

@ribasushi
Copy link
Collaborator

Describe the bug

In current 0.6.2 lotus both initializers of the IPFS blockstore set Api.Offline. A request from one of our collabs is to make this configurable, so that a lotus client node could trigger a pull from the IPFS network if needed.

@polluterofminds
Copy link
Contributor

Adding some additional info to this issue:

The current workaround is to ensure that content is available on the local IPFS node that Lotus communicates with. However, just having the content local is not enough. We ran a test where we used ipfs.refs(CID) to get the content locally on our IPFS node. We confirmed the content was in fact available on that node, then we tried to create a deal with the CID in question. The deal failed with the following:

error traversing node at "2": could not load link "QmXpVJD..."

We decided to test pinning the content to our IPFS node before sending the deal request through to Lotus. We used ipfs.pin.add(CID). And that worked.

It doesn't seem like we should have to pin content before creating a deal, especially when that content is pinned elsewhere on the IPFS network.

@ribasushi
Copy link
Collaborator Author

No longer actionable after #11661

@ribasushi ribasushi closed this as not planned Won't fix, can't repro, duplicate, stale Sep 2, 2024
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