This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
files.cat and object.links / object.data fail on some files they should work on #1258
Labels
exp/expert
Having worked on the specific codebase is important
help wanted
Seeking public contribution on this issue
kind/bug
A bug in existing code (including security flaws)
kind/maybe-in-helia
need/triage
Needs initial labeling and prioritization
P1
High: Likely tackled by core team if no one steps up
status/ready
Ready to be worked
Type: Bug
Severity: High
Description: files.cat or object.links, object.data dont work on some links they almost certainly should do.
Steps to reproduce the error:
See the attached file which can be run with
it tests retrieving two different files via files.cat and via the object.links, object.data sequence used in 8f8c539
One file works, the other fails.
The differences / similarities.
Both are retrievable via the gateway
PDF https://ipfs.io/ipfs/Qmbzs7jhkBZuVixhnM3J3QhMrL6bcAoSYiRPZrdoX3DhzB
VIDEO https://ipfs.io/ipfs/zdj7Wc9BBA2kar84oo8S6VotYc9PySAnmc8ji6kzKAFjqMxHS
Both are multi-block, the first has 2 links, the second 46
The PDF was uploaded via http with /api/v0/add maybe 6 months ago
The VIDEO was uploaded via http with /api/v0/urlstore about 2 months ago
The PDF is retrieved successfully with either files.cat or object.links / object.data (see the code for what I mean by this)
On the VIDEO
files.cat fails with
Failed to unmarshal node
object.data returns undefined on the first block of the video
I don't think the difference is PDF v VIDEO since its not accuracy of the data that is the issue, its the failure to retrieve it at all with files.cat
The text was updated successfully, but these errors were encountered: