Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-73534

Unable to download artifacts from Jfrog repository using rtDownload and artifactoryDownload

XMLWordPrintable

      Hello

      I am unable to download the artifacts from the artifactory repository(Jfrog).

      It is throwing an error with peer not authenticated. Some of the artifacts are downloading and some are not.

      I have tried importing cacerts into the truststores also.

      Below is the error printout
      Error occurred for request GET <private> HTTP/1.1: peer not authenticated.
      [Thread downloader_2] downloading /tmp/downloadFileConcurrently15702069717586919463/ <private> threw an exception: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at java.base/sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:526) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.verifyHostname(SSLConnectionSocketFactory.java:504) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:437) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:384) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) at org.apache.http.impl.execchain.ServiceUnavailableRetryExec.execute(ServiceUnavailableRetryExec.java:85) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at org.jfrog.build.client.PreemptiveHttpClient.execute(PreemptiveHttpClient.java:76) at org.jfrog.build.client.PreemptiveHttpClient.execute(PreemptiveHttpClient.java:64) at org.jfrog.build.client.JFrogHttpClient.sendRequest(JFrogHttpClient.java:137) at org.jfrog.build.extractor.clientConfiguration.client.JFrogService.execute(JFrogService.java:112) at org.jfrog.build.extractor.clientConfiguration.client.artifactory.ArtifactoryManager.downloadToFile(ArtifactoryManager.java:128) at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.lambda$doConcurrentDownload$0(DependenciesDownloaderHelper.java:278) at java.base/java.lang.Thread.run(Thread.java:834)

            eyalbe Eyal Ben Moshe
            snehaa sneha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: