Skip to content

[Colossus] Trying to hash File not found response #5045

Description

@kdembler
2024-01-16 09:04:13:413 warn: Sync - fetching data error for https://storage.ilich-tech.com/storage/api/v1/files/1454434: Error: Invalid file hash. Expected: gW5WDhmfyda3B7xJdzLwJTEPHENyJ8Q8Rc3otQ6XhMtRFL - real: gWA8ejdyVhcaiwBSc9AqtN8nQidkDJinZEFL498TQRxrR2

It looks like wrong file is returned when in reality the URL returns

{"type":"files","message":"File not found."}

Colossus should handle that more gracefully and potentially only log that it couldn't get a given file from any of the providers, not spam all URLs with warnings

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcolossus

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions