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

L1s return 500s most of the time #222

Closed
lidel opened this issue Feb 16, 2023 · 2 comments
Closed

L1s return 500s most of the time #222

lidel opened this issue Feb 16, 2023 · 2 comments

Comments

@lidel
Copy link

lidel commented Feb 16, 2023

hmpf
hm

https://protocollabs.grafana.net/d/d6FxxgJ4k/bifrost-gw-metrics?orgId=1&from=now-24h&to=now&refresh=1m

@lidel
Copy link
Author

lidel commented Feb 16, 2023

Mystery solved:

We proxy lassie status codes. 500 seems to be a really common error, so don't treat it like the L1 is erroring or w/e.

Error (500): Failed to fetch cid: query failed: failed to dial 12D3KooWDAHxZiMuQwX4Hwn4Rctje9RWWJB6FxhAa6aTuitTqmVx:
Error (500): Failed to fetch cid: no candidates

I think if it timeouts / cant find the content it should be adjusted to 504, allowing caboose to use it in weighting logic (filecoin-saturn/caboose#26)

@guanzo
Copy link
Collaborator

guanzo commented Feb 16, 2023

Should be fixed by filecoin-project/lassie@0f647ea

@guanzo guanzo closed this as completed Feb 21, 2023
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

2 participants