com.amazonaws.AmazonClientException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Environment : Amazon AMI ami-60b6c60a java-1.8.0-openjdk.x86_64 : openjdk version "1.8.0_65" jenkins 1.625.3 When configuring an ECS Cloud, get this exception : {{févr. 09, 2016 6:45:29 PM com.cloudbees.jenkins.plugins.amazonecs.ECSCloud$DescriptorImpl doFillClusterItems INFOS: Exception searching clusters for credentials=75a41905-e23e-485f-b3cf-7d48a7e8984e, regionName=us-east-1 com.amazonaws.AmazonClientException: Unable to execute HTTP request: Could not generate secret at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:587) at com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:362) at com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:328) at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:307) at com.amazonaws.services.ecs.AmazonECSClient.invoke(AmazonECSClient.java:2220) at com.amazonaws.services.ecs.AmazonECSClient.listClusters(AmazonECSClient.java:1170) at com.amazonaws.services.ecs.AmazonECSClient.listClusters(AmazonECSClient.java:1182) ... Caused by: javax.net.ssl.SSLHandshakeException: Could not generate secret at sun.security.ssl.ECDHCrypt.getAgreedSecret(ECDHCrypt.java:103) ... at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:822) at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:576) ... 86 more Caused by: java.security.InvalidKeyException: ECDH key agreement requires ECPublicKey for doPhase at org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi.engineDoPhase(Unknown Source) at javax.crypto.KeyAgreement.doPhase(KeyAgreement.java:567) at sun.security.ssl.ECDHCrypt.getAgreedSecret(ECDHCrypt.java:100) ... 106 more}}
    via by Nicolas De Loof,
  • Environment : Amazon AMI ami-60b6c60a java-1.8.0-openjdk.x86_64 : openjdk version "1.8.0_65" jenkins 1.625.3 When configuring an ECS Cloud, get this exception : {{févr. 09, 2016 6:45:29 PM com.cloudbees.jenkins.plugins.amazonecs.ECSCloud$DescriptorImpl doFillClusterItems INFOS: Exception searching clusters for credentials=75a41905-e23e-485f-b3cf-7d48a7e8984e, regionName=us-east-1 com.amazonaws.AmazonClientException: Unable to execute HTTP request: Could not generate secret at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:587) at com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:362) at com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:328) at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:307) at com.amazonaws.services.ecs.AmazonECSClient.invoke(AmazonECSClient.java:2220) at com.amazonaws.services.ecs.AmazonECSClient.listClusters(AmazonECSClient.java:1170) at com.amazonaws.services.ecs.AmazonECSClient.listClusters(AmazonECSClient.java:1182) ... Caused by: javax.net.ssl.SSLHandshakeException: Could not generate secret at sun.security.ssl.ECDHCrypt.getAgreedSecret(ECDHCrypt.java:103) ... at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:822) at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:576) ... 86 more Caused by: java.security.InvalidKeyException: ECDH key agreement requires ECPublicKey for doPhase at org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi.engineDoPhase(Unknown Source) at javax.crypto.KeyAgreement.doPhase(KeyAgreement.java:567) at sun.security.ssl.ECDHCrypt.getAgreedSecret(ECDHCrypt.java:100) ... 106 more}}
    via by Nicolas De Loof,
  • S3 Unable to unmarshall response
    via GitHub by stonefury
    ,
  • Lots of Exceptions
    via GitHub by bfrog
    ,
    • com.amazonaws.AmazonClientException: Unable to execute HTTP request: Could not generate secret at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:587) at com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:362) at com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:328) at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:307) at com.amazonaws.services.ecs.AmazonECSClient.invoke(AmazonECSClient.java:2220) at com.amazonaws.services.ecs.AmazonECSClient.listClusters(AmazonECSClient.java:1170) at com.amazonaws.services.ecs.AmazonECSClient.listClusters(AmazonECSClient.java:1182)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    silex
    6 times, last one,
    Unknown visitor1 times, last one,
    r1chjames
    4 times, last one,
    13 more bugmates