-
Notifications
You must be signed in to change notification settings - Fork 22
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
wsl.exe --update can fails with 403 and is not retried #66
Comments
Nah, this has nothing to do with the distribution, it happens before the distribution comes into play at all. Anyway, I'll add an up-to-5-times-retry to compensate the unreliability. |
Unfortunately it still happens even with trying up to 5 times: I increased the times to 10 now with the fix for #65. You probably indeed need to complain to Microsoft that the update answers with 403. |
Even with 10 times it still fails occasionally. |
I already have seen this happening multiple times over the last weeks in the last weeks and I think we should add some kind of retry mechanism for it:
Apparently the 403 error is not really a permanent error and it should be recoverable with retries.
https://github.com/jdx/mise-action/actions/runs/12547219939/job/34984712978?pr=157
It should be noted that in my case I was using
Ubuntu-22.04
distro, which is still listed as active. Not sure if others are less likely to cause this error.The text was updated successfully, but these errors were encountered: