java.io.IOException: Received fatal alert: handshake_failure

Jenkins JIRA | Kenny Wang | 8 months ago
  1. 0

    [JIRA] [vmware-vrealize-orchestrator-plugin] (JENKINS-33877) 'handshake_failure' when trying connect to vRealize Orchestrator

    Google Groups | 8 months ago | sorutome@mail.com (JIRA)
    java.io.IOException: Received fatal alert: handshake_failure
  2. 0

    This plugin was able to establish the connection to vRealize Orchestrator that was on version 7.0. However our team has just upgraded vRealize Orchestrator to 7.0.1 and then we immediately see the following build error: 10:37:55 FATAL: Received fatal alert: handshake_failure 10:37:55 java.io.IOException: Received fatal alert: handshake_failure 10:37:55 at com.vmware.vro.jenkins.plugin.OrchestratorBuilder.perform(OrchestratorBuilder.java:95) 10:37:55 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 10:37:55 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) 10:37:55 at hudson.model.Build$BuildExecution.build(Build.java:205) 10:37:55 at hudson.model.Build$BuildExecution.doRun(Build.java:162) 10:37:55 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) 10:37:55 at hudson.model.Run.execute(Run.java:1738) 10:37:55 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 10:37:55 at hudson.model.ResourceController.execute(ResourceController.java:98) 10:37:55 at hudson.model.Executor.run(Executor.java:410) 10:37:55 Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure 10:37:55 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) 10:37:55 at sun.security.ssl.Alerts.getSSLException(Alerts.java:154) 10:37:55 at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1959) 10:37:55 at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1077) 10:37:55 at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312) 10:37:55 at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339) 10:37:55 at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323) 10:37:55 at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:395) 10:37:55 at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:354) 10:37:55 at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134) 10:37:55 at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353) 10:37:55 at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380) 10:37:55 at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) 10:37:55 at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) 10:37:55 at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) 10:37:55 at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) 10:37:55 at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) 10:37:55 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) 10:37:55 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107) 10:37:55 at com.vmware.vro.jenkins.plugin.util.RestClient.executeRequest(RestClient.java:139) 10:37:55 at com.vmware.vro.jenkins.plugin.util.RestClient.httpGet(RestClient.java:77) 10:37:55 at com.vmware.vro.jenkins.plugin.OrchestratorClient.fetchWorkflows(OrchestratorClient.java:66) 10:37:55 at com.vmware.vro.jenkins.plugin.OrchestratorBuilder.perform(OrchestratorBuilder.java:87) 10:37:55 ... 9 more 10:37:55 [BFA] Scanning build for known causes... 10:37:55 [BFA] No failure causes found 10:37:55 [BFA] Done. 0s 10:37:55 Started calculate disk usage of build 10:37:55 Finished Calculation of disk usage of build in 0 seconds 10:37:55 Started calculate disk usage of workspace 10:37:55 Finished Calculation of disk usage of workspace in 0 seconds 10:37:55 Finished: FAILURE Anyone has any idea how to solve this? p.s. We've seen this error message even in the job configuration page. I've attached a screenshot of this.

    Jenkins JIRA | 8 months ago | Kenny Wang
    java.io.IOException: Received fatal alert: handshake_failure
  3. 0

    This plugin was able to establish the connection to vRealize Orchestrator that was on version 7.0. However our team has just upgraded vRealize Orchestrator to 7.0.1 and then we immediately see the following build error: 10:37:55 FATAL: Received fatal alert: handshake_failure 10:37:55 java.io.IOException: Received fatal alert: handshake_failure 10:37:55 at com.vmware.vro.jenkins.plugin.OrchestratorBuilder.perform(OrchestratorBuilder.java:95) 10:37:55 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 10:37:55 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) 10:37:55 at hudson.model.Build$BuildExecution.build(Build.java:205) 10:37:55 at hudson.model.Build$BuildExecution.doRun(Build.java:162) 10:37:55 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) 10:37:55 at hudson.model.Run.execute(Run.java:1738) 10:37:55 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 10:37:55 at hudson.model.ResourceController.execute(ResourceController.java:98) 10:37:55 at hudson.model.Executor.run(Executor.java:410) 10:37:55 Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure 10:37:55 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) 10:37:55 at sun.security.ssl.Alerts.getSSLException(Alerts.java:154) 10:37:55 at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1959) 10:37:55 at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1077) 10:37:55 at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312) 10:37:55 at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339) 10:37:55 at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323) 10:37:55 at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:395) 10:37:55 at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:354) 10:37:55 at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134) 10:37:55 at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353) 10:37:55 at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380) 10:37:55 at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) 10:37:55 at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) 10:37:55 at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) 10:37:55 at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) 10:37:55 at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) 10:37:55 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) 10:37:55 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107) 10:37:55 at com.vmware.vro.jenkins.plugin.util.RestClient.executeRequest(RestClient.java:139) 10:37:55 at com.vmware.vro.jenkins.plugin.util.RestClient.httpGet(RestClient.java:77) 10:37:55 at com.vmware.vro.jenkins.plugin.OrchestratorClient.fetchWorkflows(OrchestratorClient.java:66) 10:37:55 at com.vmware.vro.jenkins.plugin.OrchestratorBuilder.perform(OrchestratorBuilder.java:87) 10:37:55 ... 9 more 10:37:55 [BFA] Scanning build for known causes... 10:37:55 [BFA] No failure causes found 10:37:55 [BFA] Done. 0s 10:37:55 Started calculate disk usage of build 10:37:55 Finished Calculation of disk usage of build in 0 seconds 10:37:55 Started calculate disk usage of workspace 10:37:55 Finished Calculation of disk usage of workspace in 0 seconds 10:37:55 Finished: FAILURE Anyone has any idea how to solve this? p.s. We've seen this error message even in the job configuration page. I've attached a screenshot of this.

    Jenkins JIRA | 8 months ago | Kenny Wang
    java.io.IOException: Received fatal alert: handshake_failure
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java 7:: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure (Security forum at Coderanch)

    coderanch.com | 5 months ago
    javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
  6. 0

    Well.. error SSL with cloudfire

    GitHub | 2 years ago | alejonext
    javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

  1. kid 540 times, last 5 months ago
  2. poroszd 1 times, last 9 months ago
97 unregistered visitors
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. javax.net.ssl.SSLHandshakeException

    Received fatal alert: handshake_failure

    at sun.security.ssl.Alerts.getSSLException()
  2. Java JSSE
    SSLSocketImpl.startHandshake
    1. sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
    2. sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
    3. sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1959)
    4. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1077)
    5. sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
    6. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
    7. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
    7 frames
  3. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:395)
    2. org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:354)
    3. org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)
    4. org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
    5. org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
    6. org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
    7. org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
    8. org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
    9. org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
    10. org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
    11. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
    12. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
    12 frames
  4. com.vmware.vro
    OrchestratorBuilder.perform
    1. com.vmware.vro.jenkins.plugin.util.RestClient.executeRequest(RestClient.java:139)
    2. com.vmware.vro.jenkins.plugin.util.RestClient.httpGet(RestClient.java:77)
    3. com.vmware.vro.jenkins.plugin.OrchestratorClient.fetchWorkflows(OrchestratorClient.java:66)
    4. com.vmware.vro.jenkins.plugin.OrchestratorBuilder.perform(OrchestratorBuilder.java:87)
    4 frames
  5. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
    3. hudson.model.Build$BuildExecution.build(Build.java:205)
    4. hudson.model.Build$BuildExecution.doRun(Build.java:162)
    5. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
    6. hudson.model.Run.execute(Run.java:1738)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    8. hudson.model.ResourceController.execute(ResourceController.java:98)
    9. hudson.model.Executor.run(Executor.java:410)
    9 frames