I updated all Amazon Web Services SDK plugins on jenkins. Everything works fine except for the Amazon Web Services SDK :: ECR plugin.

      On installing I get the following error:

      java.io.FileNotFoundException: https://get.jenkins.io/plugins/aws-java-sdk-ecr/1.12.633-430.vf9a_e567a_244f/archives.jenkins.ioplugins/aws-java-sdk-ecr/1.12.633-430.vf9a_e567a_244f/aws-java-sdk-ecr.hpi at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1996) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1323) Caused: java.io.IOException: Failed to load https://updates.jenkins.io/download/plugins/aws-java-sdk-ecr/1.12.633-430.vf9a_e567a_244f/aws-java-sdk-ecr.hpi to /var/lib/jenkins/plugins/aws-java-sdk-ecr.jpi.tmp at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1334) Caused: java.io.IOException: Failed to download from https://updates.jenkins.io/download/plugins/aws-java-sdk-ecr/1.12.633-430.vf9a_e567a_244f/aws-java-sdk-ecr.hpi (redirected to: https://get.jenkins.io/plugins/aws-java-sdk-ecr/1.12.633-430.vf9a_e567a_244f/archives.jenkins.ioplugins/aws-java-sdk-ecr/1.12.633-430.vf9a_e567a_244f/aws-java-sdk-ecr.hpi) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1368) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1925) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2237) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1899) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:121) at java.base/java.lang.Thread.run(Thread.java:840)

       

      Can someone fix this ASAP? Our whole build pipeline is now blocked because the EC2 Fleet Jenkins Plugin does not work any longer.

          [JENKINS-72536] aws-java-sdk-ecr FileNotFoundException

          I just checked https://updates.jenkins.io/download/plugins/aws-java-sdk-ecr/1.12.633-430.vf9a_e567a_244f/aws-java-sdk-ecr.hpi , it looks fine to me. Looks like a temporary infrastructure issue that caused the redirection to fail.

          Vincent Latombe added a comment - I just checked https://updates.jenkins.io/download/plugins/aws-java-sdk-ecr/1.12.633-430.vf9a_e567a_244f/aws-java-sdk-ecr.hpi , it looks fine to me. Looks like a temporary infrastructure issue that caused the redirection to fail.

          Stefan added a comment - Your URL works fine for me too, but jenkins uses https://get.jenkins.io/plugins/aws-java-sdk-ecr/1.12.633-430.vf9a_e567a_244f/archives.jenkins.ioplugins/aws-java-sdk-ecr/1.12.633-430.vf9a_e567a_244f/aws-java-sdk-ecr.hpi and I don't know why. For all other AWS SDKs the right URL is used. (e.g. https://updates.jenkins.io/download/plugins/aws-java-sdk-cloudformation/1.12.633-430.vf9a_e567a_244f/aws-java-sdk-cloudformation.hpi )

          Ok, then there must have been a problem with the update center generation. I have just tried to install it on a fresh Jenkins instance and it was alright. I think you just need to force check updates to fix the issue.

          Vincent Latombe added a comment - Ok, then there must have been a problem with the update center generation. I have just tried to install it on a fresh Jenkins instance and it was alright. I think you just need to force check updates to fix the issue.

          Stefan added a comment -

          Ok. Don't know why, but it works now.
          I downgraded all the AWS SDK plugins to 1.12.610 a few hours ago. I just wanted to update the plugins again and the Web Services SDK :: ECR plugin was already on version 1.12.633. I updated all other plugins and everything works fine.

          Thanks for your time.

          Stefan added a comment - Ok. Don't know why, but it works now. I downgraded all the AWS SDK plugins to 1.12.610 a few hours ago. I just wanted to update the plugins again and the Web Services SDK :: ECR plugin was already on version 1.12.633. I updated all other plugins and everything works fine. Thanks for your time.

          Mark Waite added a comment - - edited

          I'm not able to duplicate this issue. I agree with vlatombe that it was likely a temporary infrastructure issue. Steps I took while trying to duplicate the issue:

          1. Create a plugins.txt file that lists the exact plugins and versions to be installed, including aws-java-sdk-ecr:1.12.633-430.vf9a_e567a_244f
          2. Create a run-jenkins.sh script that will download Jenkins 2.426.2 and the listed plugins
          3. Run the run-jenkins.sh script and confirm that the plugins download and load in Jenkins as expected

          Jenkins uses mirrors as shown at https://updates.jenkins.io/latest/aws-java-sdk-ecr.hpi?mirrorlist to download plugins from a nearby location.

          Mark Waite added a comment - - edited I'm not able to duplicate this issue. I agree with vlatombe that it was likely a temporary infrastructure issue. Steps I took while trying to duplicate the issue: Create a plugins.txt file that lists the exact plugins and versions to be installed, including aws-java-sdk-ecr:1.12.633-430.vf9a_e567a_244f Create a run-jenkins.sh script that will download Jenkins 2.426.2 and the listed plugins Run the run-jenkins.sh script and confirm that the plugins download and load in Jenkins as expected Jenkins uses mirrors as shown at https://updates.jenkins.io/latest/aws-java-sdk-ecr.hpi?mirrorlist to download plugins from a nearby location.

            vlatombe Vincent Latombe
            cantado Stefan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: