Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jib-gradle-plugin (containerizes w/o docker daemon) suddenly failing with SSL error

michael_kelly
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 16, 2021

We've been using Jib to generate and push a docker image to Docker Hub. This was working fine on May 10th, but failed on May 13th and has continued to fail ever since. I've rerun the pipeline that succeeded on May 10th and it now fails, so it seems to not be an issue in our repo files. Something outside of us has changed, but what?

Here are the key error messages:

Thoughts?

1 answer

0 votes
Thomas Kolmans
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 24, 2021

You're not alone, we're having the exact same issue. We've been trying to find a solution but have yet to find one. Edit: We have found a solution

Digging a bit deeper we finally found the solution through the following github issue: https://github.com/GoogleContainerTools/jib/issues/3058

In other words the answer is adding this: 

buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath('org.apache.httpcomponents:httpcore:4.4.12') { force = true }
classpath('org.apache.httpcomponents:httpclient:4.5.10') { force = true }
classpath('com.google.http-client:google-http-client:1.34.0') { force = true }
classpath('com.google.http-client:google-http-client-apache-v2:1.34.0') { force = true }
}
}

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events