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

feat: Handle and retry CAS upload failures #1849

Open
jiparis opened this issue Feb 21, 2025 · 2 comments
Open

feat: Handle and retry CAS upload failures #1849

jiparis opened this issue Feb 21, 2025 · 2 comments

Comments

@jiparis
Copy link
Member

jiparis commented Feb 21, 2025

If there is a network problem, for instance we might get

ERR[0m [1madding material: crafting material: error crafting material: upload and craft error: uploading material: sending the finished upload message EOF[0m

It doesn't seem to be retrying, and the message is confusing and not providing a real cause nor solution. If it's a network problem, it should say it.

@javirln
Copy link
Member

javirln commented Feb 21, 2025

Controlplane is retrying when trying to store the attestation to the CAS:

b := backoff.NewExponentialBackOff()

@migmartri
Copy link
Member

Did we determine the root cause of the error we originally got? Was it transient?

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

3 participants