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

com.amazonaws.SdkClientException: Unable to execute HTTP request: sts.amazonaws.com

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • aws-java-sdk-plugin
    • None
    • using Jenkins ver. 2.176.1
      plugin and its version:
       please refer to the attachment

      We are build a spring boot application configured as a maven project in Jenkins. The job is able to build our the artifacts successful but in the end of the build the error happens. Please refer to the exception below. I am not sure about this error. Please help to resolve.

      Exception:

      [INFO] repository-server .................................. SUCCESS [ 12.009 s]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 05:38 min
      [INFO] Finished at: 2019-06-25T18:31:41+08:00
      [INFO] Final Memory: 332M/1048M
      [INFO] ------------------------------------------------------------------------
      Waiting for Jenkins to finish collecting data
      [JENKINS] Archiving cleanInstallBsinno/plugin-sdk/plugin-generator/generator-templates-java/pom.xml to org.eclipse.vorto/generator-templates-java/0.11.0-SNAPSHOT/generator-templates-java-0.11.0-SNAPSHOT.pom
      [JENKINS] Archiving cleanInstallBsinno/plugin-sdk/plugin-generator/generator-templates-java/target/generator-templates-java-0.11.0-SNAPSHOT.jar to org.eclipse.vorto/generator-templates-java/0.11.0-SNAPSHOT/generator-templates-java-0.11.0-SNAPSHOT.jar
      ERROR: Processing failed due to a bug in the code. Please report this to the issue tracker (https://jenkins.io/redirect/report-an-issue).
      com.amazonaws.SdkClientException: Unable to execute HTTP request: sts.amazonaws.com
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleRetryableException(AmazonHttpClient.java:1163)
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1109)
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:758)
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:732)
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:714)
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:674)
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:656)
      	at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:520)
      	at com.amazonaws.services.securitytoken.AWSSecurityTokenServiceClient.doInvoke(AWSSecurityTokenServiceClient.java:1368)
      	at com.amazonaws.services.securitytoken.AWSSecurityTokenServiceClient.invoke(AWSSecurityTokenServiceClient.java:1335)
      	at com.amazonaws.services.securitytoken.AWSSecurityTokenServiceClient.invoke(AWSSecurityTokenServiceClient.java:1324)
      	at com.amazonaws.services.securitytoken.AWSSecurityTokenServiceClient.executeGetSessionToken(AWSSecurityTokenServiceClient.java:1285)
      	at com.amazonaws.services.securitytoken.AWSSecurityTokenServiceClient.getSessionToken(AWSSecurityTokenServiceClient.java:1257)
      	at io.jenkins.plugins.aws.global_configuration.CredentialsAwsGlobalConfiguration.getSessionCredentials(CredentialsAwsGlobalConfiguration.java:179)
      	at io.jenkins.plugins.aws.global_configuration.CredentialsAwsGlobalConfiguration.sessionCredentialsFromKeyAndSecret(CredentialsAwsGlobalConfiguration.java:162)
      	at io.jenkins.plugins.aws.global_configuration.CredentialsAwsGlobalConfiguration.sessionCredentials(CredentialsAwsGlobalConfiguration.java:229)
      	at io.jenkins.plugins.aws.global_configuration.CredentialsAwsGlobalConfiguration.sessionCredentials(CredentialsAwsGlobalConfiguration.java:214)
      	at io.jenkins.plugins.artifact_manager_jclouds.s3.S3BlobStore.getCredentialsSupplier(S3BlobStore.java:142)
      	at io.jenkins.plugins.artifact_manager_jclouds.s3.S3BlobStore.getContext(S3BlobStore.java:121)
      	at io.jenkins.plugins.artifact_manager_jclouds.JCloudsArtifactManager.getContext(JCloudsArtifactManager.java:324)
      	at io.jenkins.plugins.artifact_manager_jclouds.JCloudsArtifactManager.archive(JCloudsArtifactManager.java:119)
      	at hudson.maven.MavenBuild$ProxyImpl.performArchiving(MavenBuild.java:512)
      	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:881)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
      	at hudson.model.Run.execute(Run.java:1818)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:429)
      Caused by: java.net.UnknownHostException: sts.amazonaws.com
      	at java.net.InetAddress.getAllByName0(InetAddress.java:1280)
      	at java.net.InetAddress.getAllByName(InetAddress.java:1192)
      	at java.net.InetAddress.getAllByName(InetAddress.java:1126)
      	at com.amazonaws.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:27)
      	at com.amazonaws.http.DelegatingDnsResolver.resolve(DelegatingDnsResolver.java:38)
      	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112)
      	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373)
      	at sun.reflect.GeneratedMethodAccessor255.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.amazonaws.http.conn.ClientConnectionManagerFactory$Handler.invoke(ClientConnectionManagerFactory.java:76)
      	at com.amazonaws.http.conn.$Proxy93.connect(Unknown Source)
      	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381)
      	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237)
      	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
      	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
      	at com.amazonaws.http.apache.client.impl.SdkHttpClient.execute(SdkHttpClient.java:72)
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1285)
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1101)
      	... 26 more
      project=hudson.maven.MavenModuleSet@64f77b56[cleanInstallBsinno]
      channel stopped
      project.getModules()=[hudson.maven.MavenModule@526efa65[cleanInstallBsinno/org.eclipse.vorto:boschiotsuite-cloud][cleanInstallBsinno/org.eclipse.vorto:boschiotsuite-cloud][relativePath:generators/generator-boschiotsuite/boschiotsuite-cloud], hudson.maven.MavenModule@5244aaab[cleanInstallBsinno/org.eclipse.vorto:core-bundles][cleanInstallBsinno/org.eclipse.vorto:core-bundles][relativePath:core-bundles], hudson.maven.MavenModule@17cf634[cleanInstallBsinno/org.eclipse.vorto:device-adapter][cleanInstallBsinno/org.eclipse.vorto:device-adapter][relativePath:device-adapter], hudson.maven.MavenModule@2d62045e[cleanInstallBsinno/org.eclipse.vorto:device-adapter-api][cleanInstallBsinno/org.eclipse.vorto:device-adapter-api][relativePath:device-adapter/device-adapter-api], hudson.maven.MavenModule@77524b0e[cleanInstallBsinno/org.eclipse.vorto:generator-api][cleanInstallBsinno/org.eclipse.vorto:generator-api][relativePath:plugin-sdk/plugin-generator/generator-api], hudson.maven.MavenModule@504ff29c[cleanInstallBsinno/org.eclipse.vorto:generator-boschiotsuite][cleanInstallBsinno/org.eclipse.vorto:generator-boschiotsuite][relativePath:generators/generator-boschiotsuite], hudson.maven.MavenModule@19cbafb1[cleanInstallBsinno/org.eclipse.vorto:generator-eclipseditto][cleanInstallBsinno/org.eclipse.vorto:generator-eclipseditto][relativePath:generators/generator-eclipseditto], hudson.maven.MavenModule@63f410fc[cleanInstallBsinno/org.eclipse.vorto:generator-eclipsehono][cleanInstallBsinno/org.eclipse.vorto:generator-eclipsehono][relativePath:generators/generator-eclipsehono], hudson.maven.MavenModule@91aae6c[cleanInstallBsinno/org.eclipse.vorto:generator-runner-spi][cleanInstallBsinno/org.eclipse.vorto:generator-runner-spi][relativePath:plugin-sdk/plugin-generator/generator-runner-spi], hudson.maven.MavenModule@2d2e2cc6[cleanInstallBsinno/org.eclipse.vorto:generator-template][cleanInstallBsinno/org.eclipse.vorto:generator-template][relativePath:plugin-sdk/plugin-generator/generator-template], hudson.maven.MavenModule@214701e0[cleanInstallBsinno/org.eclipse.vorto:generator-templates-java][cleanInstallBsinno/org.eclipse.vorto:generator-templates-java][relativePath:plugin-sdk/plugin-generator/generator-templates-java], hudson.maven.MavenModule@2e486f19[cleanInstallBsinno/org.eclipse.vorto:generators][cleanInstallBsinno/org.eclipse.vorto:generators][relativePath:generators], hudson.maven.MavenModule@4590c8e0[cleanInstallBsinno/org.eclipse.vorto:hono][cleanInstallBsinno/org.eclipse.vorto:hono][relativePath:generators/generator-eclipsehono/hono], hudson.maven.MavenModule@9c54778[cleanInstallBsinno/org.eclipse.vorto:hono-arduino][cleanInstallBsinno/org.eclipse.vorto:hono-arduino][relativePath:generators/generator-eclipsehono/hono-arduino], hudson.maven.MavenModule@45690f37[cleanInstallBsinno/org.eclipse.vorto:hono-java][cleanInstallBsinno/org.eclipse.vorto:hono-java][relativePath:generators/generator-eclipsehono/hono-java], hudson.maven.MavenModule@67fd3a1f[cleanInstallBsinno/org.eclipse.vorto:hono-python][cleanInstallBsinno/org.eclipse.vorto:hono-python][relativePath:generators/generator-eclipsehono/hono-python], hudson.maven.MavenModule@1396fb3[cleanInstallBsinno/org.eclipse.vorto:language][cleanInstallBsinno/org.eclipse.vorto:language][relativePath:core-bundles/language], hudson.maven.MavenModule@51f06b62[cleanInstallBsinno/org.eclipse.vorto:mapping-converter-binary][cleanInstallBsinno/org.eclipse.vorto:mapping-converter-binary][relativePath:mapping-engine/mapping-converter-binary], hudson.maven.MavenModule@5d36108[cleanInstallBsinno/org.eclipse.vorto:mapping-converter-date][cleanInstallBsinno/org.eclipse.vorto:mapping-converter-date][relativePath:mapping-engine/mapping-converter-date], hudson.maven.MavenModule@fdd5049[cleanInstallBsinno/org.eclipse.vorto:mapping-converter-javascript][cleanInstallBsinno/org.eclipse.vorto:mapping-converter-javascript][relativePath:mapping-engine/mapping-converter-javascript], hudson.maven.MavenModule@490ba07a[cleanInstallBsinno/org.eclipse.vorto:mapping-converter-string][cleanInstallBsinno/org.eclipse.vorto:mapping-converter-string][relativePath:mapping-engine/mapping-converter-string], hudson.maven.MavenModule@5bf9bc18[cleanInstallBsinno/org.eclipse.vorto:mapping-converter-types][cleanInstallBsinno/org.eclipse.vorto:mapping-converter-types][relativePath:mapping-engine/mapping-converter-types], hudson.maven.MavenModule@9f76124[cleanInstallBsinno/org.eclipse.vorto:mapping-core][cleanInstallBsinno/org.eclipse.vorto:mapping-core][relativePath:mapping-engine/mapping-core], hudson.maven.MavenModule@3c09ddf6[cleanInstallBsinno/org.eclipse.vorto:mapping-engine][cleanInstallBsinno/org.eclipse.vorto:mapping-engine][relativePath:mapping-engine], hudson.maven.MavenModule@3646deee[cleanInstallBsinno/org.eclipse.vorto:mapping-engine-all][cleanInstallBsinno/org.eclipse.vorto:mapping-engine-all][relativePath:mapping-engine/mapping-engine-all], hudson.maven.MavenModule@22987faa[cleanInstallBsinno/org.eclipse.vorto:mapping-serializer][cleanInstallBsinno/org.eclipse.vorto:mapping-serializer][relativePath:mapping-engine/mapping-serializer], hudson.maven.MavenModule@7fce0cb2[cleanInstallBsinno/org.eclipse.vorto:meta-model][cleanInstallBsinno/org.eclipse.vorto:meta-model][relativePath:core-bundles/meta-model], hudson.maven.MavenModule@1c959ac[cleanInstallBsinno/org.eclipse.vorto:model][cleanInstallBsinno/org.eclipse.vorto:model][relativePath:model], hudson.maven.MavenModule@2ed5fdda[cleanInstallBsinno/org.eclipse.vorto:model-conversion][cleanInstallBsinno/org.eclipse.vorto:model-conversion][relativePath:model-conversion], hudson.maven.MavenModule@1dbe45b0[cleanInstallBsinno/org.eclipse.vorto:model-refactoring][cleanInstallBsinno/org.eclipse.vorto:model-refactoring][relativePath:model-refactoring], hudson.maven.MavenModule@73755985[cleanInstallBsinno/org.eclipse.vorto:model-runtime][cleanInstallBsinno/org.eclipse.vorto:model-runtime][relativePath:model-runtime], hudson.maven.MavenModule@3de1b399[cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.core][cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.core][relativePath:core-bundles/meta-model/org.eclipse.vorto.core], hudson.maven.MavenModule@34b64a5a[cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor][cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor][relativePath:core-bundles/language/org.eclipse.vorto.editor], hudson.maven.MavenModule@153f345e[cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.datatype][cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.datatype][relativePath:core-bundles/language/org.eclipse.vorto.editor.datatype], hudson.maven.MavenModule@302fb2f8[cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.datatype.ide][cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.datatype.ide][relativePath:core-bundles/language/org.eclipse.vorto.editor.datatype.ide], hudson.maven.MavenModule@7e2bcb2[cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.datatype.ui][cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.datatype.ui][relativePath:core-bundles/language/org.eclipse.vorto.editor.datatype.ui], hudson.maven.MavenModule@7555b13e[cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.functionblock][cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.functionblock][relativePath:core-bundles/language/org.eclipse.vorto.editor.functionblock], hudson.maven.MavenModule@4880c02[cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.functionblock.ide][cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.functionblock.ide][relativePath:core-bundles/language/org.eclipse.vorto.editor.functionblock.ide], hudson.maven.MavenModule@6eb78bc5[cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.functionblock.ui][cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.functionblock.ui][relativePath:core-bundles/language/org.eclipse.vorto.editor.functionblock.ui], hudson.maven.MavenModule@b4ef876[cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.infomodel][cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.infomodel][relativePath:core-bundles/language/org.eclipse.vorto.editor.infomodel], hudson.maven.MavenModule@44af6064[cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.infomodel.ide][cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.infomodel.ide][relativePath:core-bundles/language/org.eclipse.vorto.editor.infomodel.ide], hudson.maven.MavenModule@62444882[cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.infomodel.ui][cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.infomodel.ui][relativePath:core-bundles/language/org.eclipse.vorto.editor.infomodel.ui], hudson.maven.MavenModule@14bc9e03[cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.mapping][cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.mapping][relativePath:core-bundles/language/org.eclipse.vorto.editor.mapping], hudson.maven.MavenModule@41fa44e2[cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.mapping.ide][cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.mapping.ide][relativePath:core-bundles/language/org.eclipse.vorto.editor.mapping.ide], hudson.maven.MavenModule@1c7b7a01[cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.mapping.ui][cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.editor.mapping.ui][relativePath:core-bundles/language/org.eclipse.vorto.editor.mapping.ui], hudson.maven.MavenModule@396a84b4[cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.feature][cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.feature][relativePath:core-bundles/feature], hudson.maven.MavenModule@4968a9b0[cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.updatesite][cleanInstallBsinno/org.eclipse.vorto:org.eclipse.vorto.updatesite][relativePath:core-bundles/updatesite], hudson.maven.MavenModule@59865f52[cleanInstallBsinno/org.eclipse.vorto:parent][cleanInstallBsinno/org.eclipse.vorto:parent][relativePath:], hudson.maven.MavenModule@71c89b04[cleanInstallBsinno/org.eclipse.vorto:plugin-api][cleanInstallBsinno/org.eclipse.vorto:plugin-api][relativePath:plugin-sdk/plugin-api], hudson.maven.MavenModule@2389b777[cleanInstallBsinno/org.eclipse.vorto:plugin-generator][cleanInstallBsinno/org.eclipse.vorto:plugin-generator][relativePath:plugin-sdk/plugin-generator], hudson.maven.MavenModule@55461d0e[cleanInstallBsinno/org.eclipse.vorto:plugin-sdk][cleanInstallBsinno/org.eclipse.vorto:plugin-sdk][relativePath:plugin-sdk], hudson.maven.MavenModule@4018fd36[cleanInstallBsinno/org.eclipse.vorto:repository][cleanInstallBsinno/org.eclipse.vorto:repository][relativePath:repository], hudson.maven.MavenModule@64db23d9[cleanInstallBsinno/org.eclipse.vorto:repository-api][cleanInstallBsinno/org.eclipse.vorto:repository-api][relativePath:repository/repository-api], hudson.maven.MavenModule@5a710081[cleanInstallBsinno/org.eclipse.vorto:repository-core][cleanInstallBsinno/org.eclipse.vorto:repository-core][relativePath:repository/repository-core], hudson.maven.MavenModule@6c019997[cleanInstallBsinno/org.eclipse.vorto:repository-java-client][cleanInstallBsinno/org.eclipse.vorto:repository-java-client][relativePath:repository/repository-java-client], hudson.maven.MavenModule@59583f50[cleanInstallBsinno/org.eclipse.vorto:repository-server][cleanInstallBsinno/org.eclipse.vorto:repository-server][relativePath:repository/repository-server], hudson.maven.MavenModule@350e2304[cleanInstallBsinno/org.eclipse.vorto:repository-server-config][cleanInstallBsinno/org.eclipse.vorto:repository-server-config][relativePath:repository/repository-server-config], hudson.maven.MavenModule@793ffbcd[cleanInstallBsinno/org.eclipse.vorto:repository-web][cleanInstallBsinno/org.eclipse.vorto:repository-web][relativePath:repository/repository-web], hudson.maven.MavenModule@7b7c02d0[cleanInstallBsinno/org.eclipse.vorto:utilities][cleanInstallBsinno/org.eclipse.vorto:utilities][relativePath:utilities], hudson.maven.MavenModule@72cd01cc[cleanInstallBsinno/org.eclipse.vorto.utilities:dsl-reader][cleanInstallBsinno/org.eclipse.vorto.utilities:dsl-reader][relativePath:utilities/dsl-reader]]
      project.getRootModule()=hudson.maven.MavenModule@59865f52[cleanInstallBsinno/org.eclipse.vorto:parent][cleanInstallBsinno/org.eclipse.vorto:parent][relativePath:]
      FATAL: Unable to execute HTTP request: sts.amazonaws.com
      java.net.UnknownHostException: sts.amazonaws.com
      	at java.net.InetAddress.getAllByName0(InetAddress.java:1280)
      	at java.net.InetAddress.getAllByName(InetAddress.java:1192)
      	at java.net.InetAddress.getAllByName(InetAddress.java:1126)
      	at com.amazonaws.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:27)
      	at com.amazonaws.http.DelegatingDnsResolver.resolve(DelegatingDnsResolver.java:38)
      	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112)
      	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373)
      	at sun.reflect.GeneratedMethodAccessor255.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.amazonaws.http.conn.ClientConnectionManagerFactory$Handler.invoke(ClientConnectionManagerFactory.java:76)
      	at com.amazonaws.http.conn.$Proxy93.connect(Unknown Source)
      	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381)
      	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237)
      	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
      	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
      	at com.amazonaws.http.apache.client.impl.SdkHttpClient.execute(SdkHttpClient.java:72)
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1285)
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1101)
      Caused: com.amazonaws.SdkClientException: Unable to execute HTTP request: sts.amazonaws.com
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleRetryableException(AmazonHttpClient.java:1163)
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1109)
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:758)
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:732)
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:714)
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:674)
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:656)
      	at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:520)
      	at com.amazonaws.services.securitytoken.AWSSecurityTokenServiceClient.doInvoke(AWSSecurityTokenServiceClient.java:1368)
      	at com.amazonaws.services.securitytoken.AWSSecurityTokenServiceClient.invoke(AWSSecurityTokenServiceClient.java:1335)
      	at com.amazonaws.services.securitytoken.AWSSecurityTokenServiceClient.invoke(AWSSecurityTokenServiceClient.java:1324)
      	at com.amazonaws.services.securitytoken.AWSSecurityTokenServiceClient.executeGetSessionToken(AWSSecurityTokenServiceClient.java:1285)
      	at com.amazonaws.services.securitytoken.AWSSecurityTokenServiceClient.getSessionToken(AWSSecurityTokenServiceClient.java:1257)
      	at io.jenkins.plugins.aws.global_configuration.CredentialsAwsGlobalConfiguration.getSessionCredentials(CredentialsAwsGlobalConfiguration.java:179)
      	at io.jenkins.plugins.aws.global_configuration.CredentialsAwsGlobalConfiguration.sessionCredentialsFromKeyAndSecret(CredentialsAwsGlobalConfiguration.java:162)
      	at io.jenkins.plugins.aws.global_configuration.CredentialsAwsGlobalConfiguration.sessionCredentials(CredentialsAwsGlobalConfiguration.java:229)
      	at io.jenkins.plugins.aws.global_configuration.CredentialsAwsGlobalConfiguration.sessionCredentials(CredentialsAwsGlobalConfiguration.java:214)
      	at io.jenkins.plugins.artifact_manager_jclouds.s3.S3BlobStore.getCredentialsSupplier(S3BlobStore.java:142)
      	at io.jenkins.plugins.artifact_manager_jclouds.s3.S3BlobStore.getContext(S3BlobStore.java:121)
      	at io.jenkins.plugins.artifact_manager_jclouds.JCloudsArtifactManager.getContext(JCloudsArtifactManager.java:324)
      	at io.jenkins.plugins.artifact_manager_jclouds.JCloudsArtifactManager.archive(JCloudsArtifactManager.java:119)
      	at hudson.maven.MavenBuild$ProxyImpl.performArchiving(MavenBuild.java:512)
      	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:881)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
      	at hudson.model.Run.execute(Run.java:1818)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:429)
      Finished: FAILURE
      

      Also, if you need more details i can provide.

          [JENKINS-58201] com.amazonaws.SdkClientException: Unable to execute HTTP request: sts.amazonaws.com

          • Closing this ticket as the problem was in env-variables.

          vanchinathan lokanathan added a comment - Closing this ticket as the problem was in env-variables.

          kumari Nitu added a comment -

          Can you please tell me what changes you had done

          kumari Nitu added a comment - Can you please tell me what changes you had done

          kumari Nitu added a comment -

          Failed CodeDeploy post-build step; exception follows.
          Unable to execute HTTP request: codedeploy.us-east-1.amazonaws.com
          com.amazonaws.SdkClientException: Unable to execute HTTP request: codedeploy.us-east-1.amazonaws.com
          at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleRetryableException(AmazonHttpClient.java:1116)
          at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1066)
          at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:743)

          kumari Nitu added a comment - Failed CodeDeploy post-build step; exception follows. Unable to execute HTTP request: codedeploy.us-east-1.amazonaws.com com.amazonaws.SdkClientException: Unable to execute HTTP request: codedeploy.us-east-1.amazonaws.com at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleRetryableException(AmazonHttpClient.java:1116) at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1066) at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:743)

          kumari Nitu added a comment -

          Failed CodeDeploy post-build step; exception follows.
          Unable to execute HTTP request: codedeploy.us-east-1.amazonaws.com
          com.amazonaws.SdkClientException: Unable to execute HTTP request: codedeploy.us-east-1.amazonaws.com
          at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleRetryableException(AmazonHttpClient.java:1116)
          at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1066)
          at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:743)
          at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:717)

          kumari Nitu added a comment - Failed CodeDeploy post-build step; exception follows. Unable to execute HTTP request: codedeploy.us-east-1.amazonaws.com com.amazonaws.SdkClientException: Unable to execute HTTP request: codedeploy.us-east-1.amazonaws.com at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleRetryableException(AmazonHttpClient.java:1116) at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1066) at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:743) at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:717)

          Hi knitu1992,

          Actually there was AWS credentials in the Jenkins server that was referred in the 'Jenkinsfile', which caused this issue. After setting the correct user credentials this problem was gone.

          vanchinathan lokanathan added a comment - Hi knitu1992 , Actually there was AWS credentials in the Jenkins server that was referred in the 'Jenkinsfile', which caused this issue. After setting the correct user credentials this problem was gone.

          kumari Nitu added a comment -

          I don't have access and secret key. In that case what can be the issue , I have created IAM role and attached to the instance where I want to deploy with s3 and Ec2 full access.

           

          I trying for Deploy using code deploy via s3 bucket.

           

           

          kumari Nitu added a comment - I don't have access and secret key. In that case what can be the issue , I have created IAM role and attached to the instance where I want to deploy with s3 and Ec2 full access.   I trying for Deploy using code deploy via s3 bucket.    

            vlatombe Vincent Latombe
            vlvanchin vanchinathan lokanathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: