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

Ingest v2 returning 503 service unavailable #5545

Closed
fulmicoton opened this issue Nov 7, 2024 · 3 comments
Closed

Ingest v2 returning 503 service unavailable #5545

fulmicoton opened this issue Nov 7, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@fulmicoton
Copy link
Contributor

Ingest v2 seems to return a 503: ingest service is unavailable (no shards available)
error when trying to ingest with the CLI.

It seems like a recent change.
We need to check if this change is justified, in which case, we need to fix the client, or if it is not and we need to fix the bug.

@fulmicoton fulmicoton added the bug Something isn't working label Nov 7, 2024
@fulmicoton fulmicoton self-assigned this Nov 7, 2024
@fulmicoton
Copy link
Contributor Author

The shard autocreation is working just fine.
This happens when all of the shard are getting rate limited, so the through the different attempt, we end up trying to get a shard that is not rate limited and cannot find any such shard.

In that case we return a no shards available error, which in turn is converted as a 503 error.

@fulmicoton fulmicoton assigned rdettai and unassigned fulmicoton Nov 15, 2024
@rdettai
Copy link
Contributor

rdettai commented Nov 28, 2024

This is related to #5566. It seems to me that the fix here is to map this error to a 429 (TOO_MANY_REQUESTS), no?

@fulmicoton
Copy link
Contributor Author

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants