Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

error: Saturn data did not match given hash #16

@lidel

Description

@lidel

@hacdias mind looking into why stdout gets spamed with messages like ones below?

got QmPciteMQZnB6swbx35qA9geqe4AmESFJAM3Pa9WoxdcNc vs QmVv6aC9qcfEr7db155WUWvzE8dj9nD7oKAkwAJXGVnCij
got QmPciteMQZnB6swbx35qA9geqe4AmESFJAM3Pa9WoxdcNc vs QmR6hSR7jQygGCd9FjmTWF2nZgVsjQjEGqoPnWHHbvxp3W
got QmPciteMQZnB6swbx35qA9geqe4AmESFJAM3Pa9WoxdcNc vs QmbnP2sCk6AEqGWrM8DBtUNfQfoZBnEgKX5gceAxJFnj44
got QmPciteMQZnB6swbx35qA9geqe4AmESFJAM3Pa9WoxdcNc vs QmcUSpZNzHGUnrdFGr4Mowsq3izzrExic8j45Lo6q9Stgu
got QmPciteMQZnB6swbx35qA9geqe4AmESFJAM3Pa9WoxdcNc vs QmT7Qe9MLouG1dfqkBx1CG391L58hLsHRMbrw6qCLXYjR7
got QmPciteMQZnB6swbx35qA9geqe4AmESFJAM3Pa9WoxdcNc vs QmT7Qe9MLouG1dfqkBx1CG391L58hLsHRMbrw6qCLXYjR7
got QmPciteMQZnB6swbx35qA9geqe4AmESFJAM3Pa9WoxdcNc vs QmcUSpZNzHGUnrdFGr4Mowsq3izzrExic8j45Lo6q9Stgu
got QmPciteMQZnB6swbx35qA9geqe4AmESFJAM3Pa9WoxdcNc vs QmcUSpZNzHGUnrdFGr4Mowsq3izzrExic8j45Lo6q9Stgu
got QmPciteMQZnB6swbx35qA9geqe4AmESFJAM3Pa9WoxdcNc vs QmbBiyK1Uf7naVeWH5CgacnNYmpHoKdNCkKhNF3JZxTvoK
got QmPciteMQZnB6swbx35qA9geqe4AmESFJAM3Pa9WoxdcNc vs QmbBiyK1Uf7naVeWH5CgacnNYmpHoKdNCkKhNF3JZxTvoK
got QmPciteMQZnB6swbx35qA9geqe4AmESFJAM3Pa9WoxdcNc vs QmT7Qe9MLouG1dfqkBx1CG391L58hLsHRMbrw6qCLXYjR7
got QmPciteMQZnB6swbx35qA9geqe4AmESFJAM3Pa9WoxdcNc vs QmbBiyK1Uf7naVeWH5CgacnNYmpHoKdNCkKhNF3JZxTvoK
got QmPciteMQZnB6swbx35qA9geqe4AmESFJAM3Pa9WoxdcNc vs QmT7Qe9MLouG1dfqkBx1CG391L58hLsHRMbrw6qCLXYjR7
got QmPciteMQZnB6swbx35qA9geqe4AmESFJAM3Pa9WoxdcNc vs QmbfKn7MJjetHCRVjj2qQL7vKsdQ8wKuHe3pZjT79YEdx6
got QmPciteMQZnB6swbx35qA9geqe4AmESFJAM3Pa9WoxdcNc vs QmbfKn7MJjetHCRVjj2qQL7vKsdQ8wKuHe3pZjT79YEdx6
...

Are these related to hash verification errors? If you browse ipfs website long enough, Saturn will fail and we get this:

2023-02-08-044911_822x146_scrot

Suggested improvements

  • dont spam stdout 🙃 if we really need to, write summary once a minute (N of M blocks returned by saturn were invalid, print which PoPs were at fault)
  • bifrost-gateway should not fail like this. It must be robust enough to retry block read using different PoP, and blacklist PoPs that return garbage for some time.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions