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

fetch example in readme broken #487

Open
momack2 opened this issue Sep 18, 2024 · 4 comments
Open

fetch example in readme broken #487

momack2 opened this issue Sep 18, 2024 · 4 comments

Comments

@momack2
Copy link

momack2 commented Sep 18, 2024

the getting started uses an example car file - but there are no providers for this car file in IPNI:
https://github.com/filecoin-project/lassie?tab=readme-ov-file#fetch-example
https://cid.contact/cid/bafybeic56z3yccnla3cutmvqsn5zy3g24muupcsjtoyp3pu5pm5amurjx4

"> Retrieval failure from indexer: no candidates"

@rvagg
Copy link
Member

rvagg commented Sep 19, 2024

Sad, cause it's an awesome video; I was relying on web3.storage to keep that stored, I thought there were some longevity guarantees for things stored there; even them running their own indexed node; I guess in a storacha world that's no longer true?

Screenshot 2024-09-19 at 7 43 06 PM

@agmap
Copy link

agmap commented Sep 19, 2024

There are providers on cid.contact and also on DHT.
https://delegated-ipfs.dev/routing/v1/providers/bafybeic56z3yccnla3cutmvqsn5zy3g24muupcsjtoyp3pu5pm5amurjx4
I can fetch it without issues using lassie. 🤔
But I recognised that tomorrow the API
of cid.contact was down.

@rvagg
Copy link
Member

rvagg commented Sep 25, 2024

$ go run ./cmd/lassie/ fetch bafybeic56z3yccnla3cutmvqsn5zy3g24muupcsjtoyp3pu5pm5amurjx4
go: downloading github.com/ipfs/boxo v0.18.1-0.20240517022203-894484c9e656
Fetching bafybeic56z3yccnla3cutmvqsn5zy3g24muupcsjtoyp3pu5pm5amurjx4..................
Fetched [bafybeic56z3yccnla3cutmvqsn5zy3g24muupcsjtoyp3pu5pm5amurjx4] from [12D3KooWNTSFywHjGbmGN1aEqJNp54pDKaiwqpthRrvFZETo37pW]:
        Duration: 2.964158081s
          Blocks: 18
           Bytes: 15 MiB

so it does work; tried with main and v0.23.2

@momack2 maybe try again? perhaps it was a temporary indexer blip?

@agmap
Copy link

agmap commented Sep 25, 2024

Works with CLI

lassie fetch -p bafybeic56z3yccnla3cutmvqsn5zy3g24muupcsjtoyp3pu5pm5amurjx4                     
Fetching bafybeic56z3yccnla3cutmvqsn5zy3g24muupcsjtoyp3pu5pm5amurjx4
Querying indexer for bafybeic56z3yccnla3cutmvqsn5zy3g24muupcsjtoyp3pu5pm5amurjx4...
Found 7 storage provider candidate(s) in the indexer:
        12D3KooWKGCcFVSAUXxe7YP62wiwsBvpCmMomnNauJCA67XbmHYj, Protocols: [transport-graphsync-filecoinv1]
        12D3KooWJ8YAF6DiRxrzcxoeUVjSANYxyxU55ruFgNvQB4EHibpG, Protocols: [transport-graphsync-filecoinv1]
        12D3KooWRPVDpphaViorF5ZSRzQbNbQUhdPkmnoGhWiXr3HDhg1E, Protocols: [transport-bitswap]
        12D3KooWJ8YAF6DiRxrzcxoeUVjSANYxyxU55ruFgNvQB4EHibpG, Protocols: [transport-ipfs-gateway-http]
        12D3KooWJWAwD6CbJnDm6tHcFuZxvWrjhp53hDjLHM1GiP1pYXmY, Protocols: [transport-graphsync-filecoinv1]
        12D3KooWHKChM2uYi4EXREaCGtaxersCsp7hbFiMqMUK8o7CgV6Q, Protocols: [transport-graphsync-filecoinv1]
        12D3KooWNTSFywHjGbmGN1aEqJNp54pDKaiwqpthRrvFZETo37pW, Protocols: [transport-graphsync-filecoinv1]
Retrieving from [12D3KooWJ8YAF6DiRxrzcxoeUVjSANYxyxU55ruFgNvQB4EHibpG] (started-retrieval)...
Retrieving from [12D3KooWJ8YAF6DiRxrzcxoeUVjSANYxyxU55ruFgNvQB4EHibpG] (connected-to-provider)...
Retrieving from [Bitswap] (started-retrieval)...
Retrieving from [12D3KooWNTSFywHjGbmGN1aEqJNp54pDKaiwqpthRrvFZETo37pW] (started-retrieval)...
Retrieving from [12D3KooWJ8YAF6DiRxrzcxoeUVjSANYxyxU55ruFgNvQB4EHibpG] (started-retrieval)...
Retrieving from [12D3KooWKGCcFVSAUXxe7YP62wiwsBvpCmMomnNauJCA67XbmHYj] (started-retrieval)...
Retrieving from [12D3KooWJWAwD6CbJnDm6tHcFuZxvWrjhp53hDjLHM1GiP1pYXmY] (started-retrieval)...
Retrieving from [12D3KooWHKChM2uYi4EXREaCGtaxersCsp7hbFiMqMUK8o7CgV6Q] (started-retrieval)...
Retrieval failure for [12D3KooWJ8YAF6DiRxrzcxoeUVjSANYxyxU55ruFgNvQB4EHibpG]: HTTP request failed, remote response code: 500
Retrieving from [12D3KooWKGCcFVSAUXxe7YP62wiwsBvpCmMomnNauJCA67XbmHYj] (connected-to-provider)...
Retrieving from [12D3KooWKGCcFVSAUXxe7YP62wiwsBvpCmMomnNauJCA67XbmHYj] (proposed)...
Retrieving from [12D3KooWKGCcFVSAUXxe7YP62wiwsBvpCmMomnNauJCA67XbmHYj] (accepted)...
Retrieving from [12D3KooWJ8YAF6DiRxrzcxoeUVjSANYxyxU55ruFgNvQB4EHibpG] (connected-to-provider)...
Retrieving from [12D3KooWKGCcFVSAUXxe7YP62wiwsBvpCmMomnNauJCA67XbmHYj] (first-byte-received)...
Retrieving from [12D3KooWJWAwD6CbJnDm6tHcFuZxvWrjhp53hDjLHM1GiP1pYXmY] (connected-to-provider)...
Retrieving from [12D3KooWNTSFywHjGbmGN1aEqJNp54pDKaiwqpthRrvFZETo37pW] (connected-to-provider)...
Retrieving from [12D3KooWHKChM2uYi4EXREaCGtaxersCsp7hbFiMqMUK8o7CgV6Q] (connected-to-provider)...
Received 18 blocks / 15 MiB....
Fetched [bafybeic56z3yccnla3cutmvqsn5zy3g24muupcsjtoyp3pu5pm5amurjx4] from [12D3KooWKGCcFVSAUXxe7YP62wiwsBvpCmMomnNauJCA67XbmHYj]:
        Duration: 3.248162s
          Blocks: 18
           Bytes: 15 MiB

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

3 participants