com.amazonaws.AmazonClientException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

This is a bug that happens in Slide in versions 4.2.0 and before. Update to 4.2.2 or further to fix it.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • AWS Cloudformation Plugin - Jenkins - Jenkins Wiki
    via by Unknown author,
  • I got some problem during I use the plugin. I think the problem is Great Fire Wall stop the connection between Shanghai China and AWS. So I setup a proxy for my Jenkins master like this https://wiki.jenkins-ci.org/display/JENKINS/JenkinsBehindProxy But the problem not solve still. I can use the proxy in chrome to access AWS. I don't know whether this plugin can connect to AWS via Jenkins master's proxy. How can I make the plugin establish connection via a proxy ? Determining to create or update Cloud Formation stack: CollineCItest158 Stack not found: CollineCItest158. Error was: java.net.UnknownHostException: cloudformation.ap-southeast-1.amazonaws.com Creating Cloud Formation stack: CollineCItest158 Failed to create stack: CollineCItest158. Error was: java.net.UnknownHostException: cloudformation.ap-southeast-1.amazonaws.com ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com com.amazonaws.AmazonClientException: Unable to execute HTTP request: cloudformation.ap-southeast-1.amazonaws.com at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:472) at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:296) at com.amazonaws.services.cloudformation.AmazonCloudFormationClient.invoke(AmazonCloudFormationClient.java:1273) at com.amazonaws.services.cloudformation.AmazonCloudFormationClient.deleteStack(AmazonCloudFormationClient.java:1119) at com.syncapse.jenkinsci.plugins.awscloudformationwrapper.CloudFormation.delete(CloudFormation.java:169) at com.syncapse.jenkinsci.plugins.awscloudformationwrapper.CloudFormationBuildWrapper.doTearDown(CloudFormationBuildWrapper.java:113) at com.syncapse.jenkinsci.plugins.awscloudformationwrapper.CloudFormationBuildWrapper.setUp(CloudFormationBuildWrapper.java:87) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:653) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1744) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Caused by: java.net.UnknownHostException: cloudformation.ap-southeast-1.amazonaws.com at java.net.InetAddress.getAllByName0(InetAddress.java:1243) at java.net.InetAddress.getAllByName(InetAddress.java:1155) at java.net.InetAddress.getAllByName(InetAddress.java:1091) at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:44) at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:259) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:159) at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:686) at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:461) ... 12 more
    via by lsb want,
  • I got some problem during I use the plugin. I think the problem is Great Fire Wall stop the connection between Shanghai China and AWS. So I setup a proxy for my Jenkins master like this https://wiki.jenkins-ci.org/display/JENKINS/JenkinsBehindProxy But the problem not solve still. I can use the proxy in chrome to access AWS. I don't know whether this plugin can connect to AWS via Jenkins master's proxy. How can I make the plugin establish connection via a proxy ? Determining to create or update Cloud Formation stack: CollineCItest158 Stack not found: CollineCItest158. Error was: java.net.UnknownHostException: cloudformation.ap-southeast-1.amazonaws.com Creating Cloud Formation stack: CollineCItest158 Failed to create stack: CollineCItest158. Error was: java.net.UnknownHostException: cloudformation.ap-southeast-1.amazonaws.com ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com com.amazonaws.AmazonClientException: Unable to execute HTTP request: cloudformation.ap-southeast-1.amazonaws.com at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:472) at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:296) at com.amazonaws.services.cloudformation.AmazonCloudFormationClient.invoke(AmazonCloudFormationClient.java:1273) at com.amazonaws.services.cloudformation.AmazonCloudFormationClient.deleteStack(AmazonCloudFormationClient.java:1119) at com.syncapse.jenkinsci.plugins.awscloudformationwrapper.CloudFormation.delete(CloudFormation.java:169) at com.syncapse.jenkinsci.plugins.awscloudformationwrapper.CloudFormationBuildWrapper.doTearDown(CloudFormationBuildWrapper.java:113) at com.syncapse.jenkinsci.plugins.awscloudformationwrapper.CloudFormationBuildWrapper.setUp(CloudFormationBuildWrapper.java:87) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:653) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1744) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Caused by: java.net.UnknownHostException: cloudformation.ap-southeast-1.amazonaws.com at java.net.InetAddress.getAllByName0(InetAddress.java:1243) at java.net.InetAddress.getAllByName(InetAddress.java:1155) at java.net.InetAddress.getAllByName(InetAddress.java:1091) at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:44) at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:259) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:159) at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:686) at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:461) ... 12 more
    via by lsb want,
  • Unable to execute HTTP request
    via GitHub by hammi85
    ,
    • com.amazonaws.AmazonClientException: Unable to execute HTTP request: cloudformation.ap-southeast-1.amazonaws.com at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:472) at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:296) at com.amazonaws.services.cloudformation.AmazonCloudFormationClient.invoke(AmazonCloudFormationClient.java:1273) at com.amazonaws.services.cloudformation.AmazonCloudFormationClient.deleteStack(AmazonCloudFormationClient.java:1119) at com.syncapse.jenkinsci.plugins.awscloudformationwrapper.CloudFormation.delete(CloudFormation.java:169) at com.syncapse.jenkinsci.plugins.awscloudformationwrapper.CloudFormationBuildWrapper.doTearDown(CloudFormationBuildWrapper.java:113) at com.syncapse.jenkinsci.plugins.awscloudformationwrapper.CloudFormationBuildWrapper.setUp(CloudFormationBuildWrapper.java:87) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:653) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1744) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Caused by: java.net.UnknownHostException: cloudformation.ap-southeast-1.amazonaws.com at java.net.InetAddress.getAllByName0(InetAddress.java:1243) at java.net.InetAddress.getAllByName(InetAddress.java:1155) at java.net.InetAddress.getAllByName(InetAddress.java:1091) at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:44) at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:259) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:159) at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:686) at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:461) ... 12 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Andreas HäberAndreas Häber
    1 times, last one,
    rsprangemeijerrsprangemeijer
    1 times, last one,
    kimihanifkimihanif
    1 times, last one,
    108 more bugmates