-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add retry on server errror 502 #16
Comments
Hello @koppor, thank you for your feedback. This project is accepting contributions, and your suggestion seems worthwhile. Would you feel confident implementing a retry for a status code of 502? |
@f4lco Yeah, I feel confident. I put it on my TODO list after the (unrelated) issue openrewrite/rewrite#4054 :) |
+1 to this, I'm about to introduce this. I notice the 502s are not consistent and sometimes Maven is more agro than other times. |
@Breefield not sure if I get the question correct, let me put my 2ct that way: I think the point is to retry the same request for the same dependency at all. Regarding the failure mode: I think the plugin already has the
@koppor what do you think? |
Oh yes, This would just a be a retry policy with a retry limit. |
In case of large projects, maven central response with 502.
See JabRef/jabref-koppor#686 for a non-MWE.
I think, a "simply" retry after 3 seconds should be done in the case if
502
is returned.The text was updated successfully, but these errors were encountered: