-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Cannot upgrade Google HTTP libraries #3416
Comments
I assume the challenge is that we cannot reproduce the problem. Is this correct? |
For #3409, I think I know what exactly is the problem, but For #3058, yeah, I haven't been able to reproduce it. And the root cause is still unknown. It may or may not be a fault of Amazon. |
In Quarkus, we just ran into a dependency "conflict" because of this: quarkusio/quarkus#20507 I anyone looking at getting the remaining issues fixed upstream? I understand it's hard to reproduce? |
#3409, which caused an outright no-go friction to many people with the "premature end of chunk" error, has been fixed upstream. The other issue, #3058, is a very subtle one. It seems to happen to only some small group of people specifically using AWS ECR. Also, I've seen elsewhere that people run into the failure out of the Jib context as well, so it seems like a general problem. It's unclear if it's the fault of AWS or the Apache HttpClient. It's hard to reproduce, and I asked if anyone seeing the failure can contribute their time to debug it with us, but so far, no one responded. Therefore, for Quarkus, IMO it'd be acceptable to upgrade the Google HTTP libraries to the latest once new versions are released. |
Thanks @chanseokoh, just one question:
Are you sure about that? 1.40.0 does not seem to include googleapis/google-http-java-client#1427? |
Sorry, I was dumb. The fix was merged on Sep 23, while 1.40.0 was released on Aug 26. We still have to wait for a new release. Sorry for the misinformation. |
@chanseokoh alright, no worries! Apart from those known issues in newer Google HTTP libs, would anything break if using latest jib-core with 1.38.0 of Google HTTP? |
@famod apart from those listed here (one of which is critical), I'm not aware of anything else. But generally speaking, there's always a chance of behavior changes whenever you upgrade. But in general, definitely one needs to keep libraries up-to-date. |
@famod Google HTTP Client 1.40.1 is released. |
There were 3 issues that blocked upgrade:
In any case, Jib can't hold off upgrading core HTTP libraries indefinitely. We should upgrade, and then help users work with AWS support if necessary. |
|
#3415 downgraded Google HTTP libraries to resolve #3058 and #3409. However, we cannot delay upgrading libraries indefinitely.
Moreover, even if we downgraded them, Gradle and Maven can still pull in newer versions depending on how a project is set up. Examples:
In the last case, we didn't release jib-core with the problematic Google HTTP library version, but Quarkus picked up the latest version; I think jib-core will be more susceptible to version overriding than Jib plugins.
These issues need to be investigated further before we can upgrade the libraries.
The text was updated successfully, but these errors were encountered: