com.amazonaws.AmazonClientException: Unable to complete transfer: org/apache/http/conn/ManagedHttpClientConnection

Jenkins JIRA | Kevin Chen | 5 months ago
  1. 0

    For version 0.10.5, we upgraded to resolve JENKINS-34216. We're missing transitive dependencies: 12:37:24 PDT ERROR: Build step failed with exception 12:37:24 PDT com.amazonaws.AmazonClientException: Unable to complete transfer: org/apache/http/conn/ManagedHttpClientConnection 12:37:24 PDT at com.amazonaws.services.s3.transfer.internal.AbstractTransfer.unwrapExecutionException(AbstractTransfer.java:277) 12:37:24 PDT at com.amazonaws.services.s3.transfer.internal.AbstractTransfer.rethrowExecutionException(AbstractTransfer.java:261) 12:37:24 PDT at com.amazonaws.services.s3.transfer.internal.AbstractTransfer.waitForCompletion(AbstractTransfer.java:103) 12:37:24 PDT at hudson.plugins.s3.Uploads.finishUploading(Uploads.java:40) 12:37:24 PDT at hudson.plugins.s3.callable.S3WaitUploadCallable.invoke(S3WaitUploadCallable.java:19) 12:37:24 PDT at hudson.plugins.s3.callable.S3WaitUploadCallable.invoke(S3WaitUploadCallable.java:10) 12:37:24 PDT at hudson.plugins.s3.S3Profile.invoke(S3Profile.java:203) 12:37:24 PDT at hudson.plugins.s3.S3Profile.waitUploads(S3Profile.java:195) 12:37:24 PDT at hudson.plugins.s3.S3Profile.upload(S3Profile.java:174) 12:37:24 PDT at hudson.plugins.s3.S3BucketPublisher.perform(S3BucketPublisher.java:192) 12:37:24 PDT at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78) 12:37:24 PDT at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32) 12:37:24 PDT at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) 12:37:24 PDT at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723) 12:37:24 PDT at hudson.model.Build$BuildExecution.post2(Build.java:185) 12:37:24 PDT at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668) 12:37:24 PDT at hudson.model.Run.execute(Run.java:1763) 12:37:24 PDT at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 12:37:24 PDT at hudson.model.ResourceController.execute(ResourceController.java:98) 12:37:24 PDT at hudson.model.Executor.run(Executor.java:410) 12:37:24 PDT Caused by: java.lang.NoClassDefFoundError: org/apache/http/conn/ManagedHttpClientConnection 12:37:24 PDT at com.amazonaws.http.protocol.SdkHttpRequestExecutor.doSendRequest(SdkHttpRequestExecutor.java:50) 12:37:24 PDT at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) 12:37:24 PDT at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:715) 12:37:24 PDT at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:520) 12:37:24 PDT at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) 12:37:24 PDT at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) 12:37:24 PDT at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:837) 12:37:24 PDT at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:607) 12:37:24 PDT at com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:376) 12:37:24 PDT at com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:338) 12:37:24 PDT at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:287) 12:37:24 PDT at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3826) 12:37:24 PDT at com.amazonaws.services.s3.AmazonS3Client.initiateMultipartUpload(AmazonS3Client.java:2708) 12:37:24 PDT at com.amazonaws.services.s3.transfer.internal.UploadCallable.initiateMultipartUpload(UploadCallable.java:350) 12:37:24 PDT at com.amazonaws.services.s3.transfer.internal.UploadCallable.uploadInParts(UploadCallable.java:178) 12:37:24 PDT at com.amazonaws.services.s3.transfer.internal.UploadCallable.call(UploadCallable.java:121) 12:37:24 PDT at com.amazonaws.services.s3.transfer.internal.UploadMonitor.call(UploadMonitor.java:139) 12:37:24 PDT at com.amazonaws.services.s3.transfer.internal.UploadMonitor.call(UploadMonitor.java:47) 12:37:24 PDT at java.util.concurrent.FutureTask.run(FutureTask.java:266) 12:37:24 PDT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 12:37:24 PDT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 12:37:24 PDT at java.lang.Thread.run(Thread.java:745) 12:37:24 PDT Caused by: java.lang.ClassNotFoundException: org.apache.http.conn.ManagedHttpClientConnection 12:37:24 PDT at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376) 12:37:24 PDT at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) 12:37:24 PDT at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) 12:37:24 PDT at java.lang.ClassLoader.loadClass(ClassLoader.java:357) 12:37:24 PDT ... 22 more

    Jenkins JIRA | 5 months ago | Kevin Chen
    com.amazonaws.AmazonClientException: Unable to complete transfer: org/apache/http/conn/ManagedHttpClientConnection
  2. 0

    For version 0.10.5, we upgraded to resolve JENKINS-34216. We're missing transitive dependencies: 12:37:24 PDT ERROR: Build step failed with exception 12:37:24 PDT com.amazonaws.AmazonClientException: Unable to complete transfer: org/apache/http/conn/ManagedHttpClientConnection 12:37:24 PDT at com.amazonaws.services.s3.transfer.internal.AbstractTransfer.unwrapExecutionException(AbstractTransfer.java:277) 12:37:24 PDT at com.amazonaws.services.s3.transfer.internal.AbstractTransfer.rethrowExecutionException(AbstractTransfer.java:261) 12:37:24 PDT at com.amazonaws.services.s3.transfer.internal.AbstractTransfer.waitForCompletion(AbstractTransfer.java:103) 12:37:24 PDT at hudson.plugins.s3.Uploads.finishUploading(Uploads.java:40) 12:37:24 PDT at hudson.plugins.s3.callable.S3WaitUploadCallable.invoke(S3WaitUploadCallable.java:19) 12:37:24 PDT at hudson.plugins.s3.callable.S3WaitUploadCallable.invoke(S3WaitUploadCallable.java:10) 12:37:24 PDT at hudson.plugins.s3.S3Profile.invoke(S3Profile.java:203) 12:37:24 PDT at hudson.plugins.s3.S3Profile.waitUploads(S3Profile.java:195) 12:37:24 PDT at hudson.plugins.s3.S3Profile.upload(S3Profile.java:174) 12:37:24 PDT at hudson.plugins.s3.S3BucketPublisher.perform(S3BucketPublisher.java:192) 12:37:24 PDT at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78) 12:37:24 PDT at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32) 12:37:24 PDT at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) 12:37:24 PDT at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723) 12:37:24 PDT at hudson.model.Build$BuildExecution.post2(Build.java:185) 12:37:24 PDT at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668) 12:37:24 PDT at hudson.model.Run.execute(Run.java:1763) 12:37:24 PDT at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 12:37:24 PDT at hudson.model.ResourceController.execute(ResourceController.java:98) 12:37:24 PDT at hudson.model.Executor.run(Executor.java:410) 12:37:24 PDT Caused by: java.lang.NoClassDefFoundError: org/apache/http/conn/ManagedHttpClientConnection 12:37:24 PDT at com.amazonaws.http.protocol.SdkHttpRequestExecutor.doSendRequest(SdkHttpRequestExecutor.java:50) 12:37:24 PDT at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) 12:37:24 PDT at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:715) 12:37:24 PDT at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:520) 12:37:24 PDT at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) 12:37:24 PDT at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) 12:37:24 PDT at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:837) 12:37:24 PDT at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:607) 12:37:24 PDT at com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:376) 12:37:24 PDT at com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:338) 12:37:24 PDT at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:287) 12:37:24 PDT at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3826) 12:37:24 PDT at com.amazonaws.services.s3.AmazonS3Client.initiateMultipartUpload(AmazonS3Client.java:2708) 12:37:24 PDT at com.amazonaws.services.s3.transfer.internal.UploadCallable.initiateMultipartUpload(UploadCallable.java:350) 12:37:24 PDT at com.amazonaws.services.s3.transfer.internal.UploadCallable.uploadInParts(UploadCallable.java:178) 12:37:24 PDT at com.amazonaws.services.s3.transfer.internal.UploadCallable.call(UploadCallable.java:121) 12:37:24 PDT at com.amazonaws.services.s3.transfer.internal.UploadMonitor.call(UploadMonitor.java:139) 12:37:24 PDT at com.amazonaws.services.s3.transfer.internal.UploadMonitor.call(UploadMonitor.java:47) 12:37:24 PDT at java.util.concurrent.FutureTask.run(FutureTask.java:266) 12:37:24 PDT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 12:37:24 PDT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 12:37:24 PDT at java.lang.Thread.run(Thread.java:745) 12:37:24 PDT Caused by: java.lang.ClassNotFoundException: org.apache.http.conn.ManagedHttpClientConnection 12:37:24 PDT at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376) 12:37:24 PDT at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) 12:37:24 PDT at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) 12:37:24 PDT at java.lang.ClassLoader.loadClass(ClassLoader.java:357) 12:37:24 PDT ... 22 more

    Jenkins JIRA | 5 months ago | Kevin Chen
    com.amazonaws.AmazonClientException: Unable to complete transfer: org/apache/http/conn/ManagedHttpClientConnection
  3. 0

    [JIRA] (JENKINS-36096) S3 Jenkins plugin missing transitive dependencies

    Google Groups | 5 months ago | kev...@stytch.com (JIRA)
    com.amazonaws.AmazonClientException: Unable to complete transfer: org/apache/http/conn/ManagedHttpClientConnection
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JIRA] [s3-plugin] (JENKINS-34216) Failed to reset the request input stream

    Google Groups | 8 months ago | jo...@freelancer.com (JIRA)
    com.amazonaws.AmazonClientException: Unable to complete transfer: org/apache/http/conn/ManagedHttpClientConnection
  6. 0

    How to deploy war file to jboss eap 6.4 (local installed on my machine) using jenkins

    Stack Overflow | 1 year ago | Aliasger Motiwala
    org.codehaus.cargo.container.ContainerException: Failed to create deployer with implementation class org.codehaus.cargo.container.jboss.JBoss7xRemoteDeployer for the parameters (container [id = [jboss7x]], deployer type [remote]).

  1. davidvanlaatum 22 times, last 6 months ago
  2. poroszd 1 times, last 1 month ago
22 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.apache.http.conn.ManagedHttpClientConnection

    at jenkins.util.AntClassLoader.findClassInComponents()
  2. jenkins.util
    AntClassLoader.loadClass
    1. jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
    2. jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
    3. jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
    3 frames
  3. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    1 frame
  4. AWS SDK for Java - Core
    SdkHttpRequestExecutor.doSendRequest
    1. com.amazonaws.http.protocol.SdkHttpRequestExecutor.doSendRequest(SdkHttpRequestExecutor.java:50)
    1 frame
  5. Apache Http
    HttpRequestExecutor.execute
    1. org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
    1 frame
  6. Apache HttpClient
    AbstractHttpClient.execute
    1. org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:715)
    2. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:520)
    3. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
    4. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
    4 frames
  7. AWS SDK for Java - Core
    AmazonHttpClient.execute
    1. com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:837)
    2. com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:607)
    3. com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:376)
    4. com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:338)
    5. com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:287)
    5 frames
  8. AWS Java SDK for Amazon S3
    UploadMonitor.call
    1. com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3826)
    2. com.amazonaws.services.s3.AmazonS3Client.initiateMultipartUpload(AmazonS3Client.java:2708)
    3. com.amazonaws.services.s3.transfer.internal.UploadCallable.initiateMultipartUpload(UploadCallable.java:350)
    4. com.amazonaws.services.s3.transfer.internal.UploadCallable.uploadInParts(UploadCallable.java:178)
    5. com.amazonaws.services.s3.transfer.internal.UploadCallable.call(UploadCallable.java:121)
    6. com.amazonaws.services.s3.transfer.internal.UploadMonitor.call(UploadMonitor.java:139)
    7. com.amazonaws.services.s3.transfer.internal.UploadMonitor.call(UploadMonitor.java:47)
    7 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames