filecoin-project / lassie

A minimal universal retrieval client library for IPFS and Filecoin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lassie sometimes returns CARs with missing blocks even after sending a 200 and without any unclean close

aarshkshah1992 opened this issue · comments

  • As part of Onion testing, we see that Lassie sometimes returns CARs for successful reads(no unclean closes) that have missing blocks.
  • This is easy to reproduce.
  • Here are some paths you can try downloading from Lassie -> you will get the CAR successfully but it will have missing blocks for some links.
/ipfs/bafybeif3aw6cwxxfu6p6jl65murssmrcv3de5vfwmk4escc5t3xcaavjxm/6433.png?format=car\u0026dag-scope=all\u0026car-scope=all\u0026depth=all",

/ipfs/QmZByd1nM4Gp6QWWSuBUvoJCD935CZG1UqCAkLiUquJPAw/421.png?format=car&dag-scope=all&car-scope=all&depth=all

/ipfs/QmXvWyoTdkjeg17srKALEtWBCjqLgwNfBo81HfzkHhjoUu/543.png?format=car&dag-scope=all&car-scope=all&depth=all

@aarshkshah1992 what leads you to believe they are missing links? When I download over lassie, I certainly can extract the requested image

Is this reported by Nginx? Caboose? L1-Node?

@hannahhoward

  • This is reported by Onion while talking directly to the Lassie container
  • Please can you share the code you use to extract this image ?

Closing the issue as Hannah is able to extract the images.