com.amazonaws.AmazonClientException: Unable to execute HTTP request: cloudformation.ap-southeast-1.amazonaws.com

Jenkins JIRA | lsb want | 1 year ago
  1. 0

    AWS Cloudformation Plugin - Jenkins - Jenkins Wiki

    jenkins-ci.org | 4 months ago
    com.amazonaws.AmazonClientException: Unable to execute HTTP request: cloudformation.ap-southeast-1.amazonaws.com
  2. 0

    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

    Jenkins JIRA | 1 year ago | lsb want
    com.amazonaws.AmazonClientException: Unable to execute HTTP request: cloudformation.ap-southeast-1.amazonaws.com
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    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

    Jenkins JIRA | 1 year ago | lsb want
    com.amazonaws.AmazonClientException: Unable to execute HTTP request: cloudformation.ap-southeast-1.amazonaws.com
  5. 0

    Amazon S3 Client doesn't retry on java.net.UnknownHostException

    GitHub | 1 year ago | jakozaur
    com.amazonaws.AmazonClientException: Unable to execute HTTP request: stag-dual-custodian-store-000000000000141d.s3.amazonaws.com
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.net.UnknownHostException

    cloudformation.ap-southeast-1.amazonaws.com

    at java.net.InetAddress.getAllByName0()
  2. Java RT
    InetAddress.getAllByName
    1. java.net.InetAddress.getAllByName0(InetAddress.java:1243)
    2. java.net.InetAddress.getAllByName(InetAddress.java:1155)
    3. java.net.InetAddress.getAllByName(InetAddress.java:1091)
    3 frames
  3. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:44)
    2. org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:259)
    3. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:159)
    4. org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)
    5. org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)
    6. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
    7. org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
    8. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
    9. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
    9 frames
  4. AWS SDK for Java - Core
    AmazonHttpClient.execute
    1. com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:686)
    2. com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:461)
    3. com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:296)
    3 frames
  5. AWS Java SDK for AWS CloudFormation
    AmazonCloudFormationClient.deleteStack
    1. com.amazonaws.services.cloudformation.AmazonCloudFormationClient.invoke(AmazonCloudFormationClient.java:1273)
    2. com.amazonaws.services.cloudformation.AmazonCloudFormationClient.deleteStack(AmazonCloudFormationClient.java:1119)
    2 frames
  6. com.syncapse.jenkinsci
    CloudFormationBuildWrapper.setUp
    1. com.syncapse.jenkinsci.plugins.awscloudformationwrapper.CloudFormation.delete(CloudFormation.java:169)
    2. com.syncapse.jenkinsci.plugins.awscloudformationwrapper.CloudFormationBuildWrapper.doTearDown(CloudFormationBuildWrapper.java:113)
    3. com.syncapse.jenkinsci.plugins.awscloudformationwrapper.CloudFormationBuildWrapper.setUp(CloudFormationBuildWrapper.java:87)
    3 frames
  7. Hudson Maven Embedder
    MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun
    1. hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:653)
    1 frame
  8. Hudson
    Run.execute
    1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
    2. hudson.model.Run.execute(Run.java:1744)
    2 frames
  9. Hudson Maven Embedder
    MavenModuleSetBuild.run
    1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
    1 frame
  10. Hudson
    Executor.run
    1. hudson.model.ResourceController.execute(ResourceController.java:98)
    2. hudson.model.Executor.run(Executor.java:374)
    2 frames