com.amazonaws.AmazonClientException: Unable to execute HTTP request: Could not generate secret

Jenkins JIRA | Nicolas De Loof | 10 months ago
  1. 0

    [JIRA] [amazon-ecs-plugin] (JENKINS-32865) InvalidKeyException: ECDH key agreement requires ECPublicKey for doPhase

    Google Groups | 10 months ago | nicolas.deloof@gmail.com (JIRA)
    com.amazonaws.AmazonClientException: Unable to execute HTTP request: Could not generate secret
  2. 0

    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}}

    Jenkins JIRA | 10 months ago | Nicolas De Loof
    com.amazonaws.AmazonClientException: Unable to execute HTTP request: Could not generate secret
  3. 0

    [JENKINS-32865] InvalidKeyException: ECDH key agreement requires ECPublicKey for doPhase - Jenkins JIRA

    jenkins-ci.org | 4 months ago
    com.amazonaws.AmazonClientException: Unable to execute HTTP request: Could not generate secret
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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}}

    Jenkins JIRA | 10 months ago | Nicolas De Loof
    com.amazonaws.AmazonClientException: Unable to execute HTTP request: Could not generate secret
  6. 0

    S3 Unable to unmarshall response

    GitHub | 3 weeks ago | stonefury
    com.amazonaws.AmazonClientException: Unable to unmarshall response (Failed to parse XML document with handler class com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser$ListBucketHandler). Response Code: 200, Response Text: OK
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. com.amazonaws.AmazonClientException

    Unable to execute HTTP request: Could not generate secret

    at com.amazonaws.http.AmazonHttpClient.executeHelper()
  2. AWS SDK for Java - Core
    AmazonHttpClient.execute
    1. com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:587)
    2. com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:362)
    3. com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:328)
    4. com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:307)
    4 frames
  3. AWS Java SDK for the Amazon EC2 Container Service
    AmazonECSClient.listClusters
    1. com.amazonaws.services.ecs.AmazonECSClient.invoke(AmazonECSClient.java:2220)
    2. com.amazonaws.services.ecs.AmazonECSClient.listClusters(AmazonECSClient.java:1170)
    3. com.amazonaws.services.ecs.AmazonECSClient.listClusters(AmazonECSClient.java:1182)
    3 frames