java.io.IOException: Received fatal alert: handshake_failure

tip

Import the server certificate into your truststore.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • 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.
    via by Kenny Wang,
  • 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.
    via by Kenny Wang,
  • GitHub comment 55#35438881
    via GitHub by gbougeard
    ,
    • java.io.IOException: Received fatal alert: handshake_failure at com.vmware.vro.jenkins.plugin.OrchestratorBuilder.perform(OrchestratorBuilder.java:95) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.build(Build.java:205) at hudson.model.Build$BuildExecution.doRun(Build.java:162) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) at sun.security.ssl.Alerts.getSSLException(Alerts.java:154) at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1959) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1077) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:395) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:354) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107) at com.vmware.vro.jenkins.plugin.util.RestClient.executeRequest(RestClient.java:139) at com.vmware.vro.jenkins.plugin.util.RestClient.httpGet(RestClient.java:77) at com.vmware.vro.jenkins.plugin.OrchestratorClient.fetchWorkflows(OrchestratorClient.java:66) at com.vmware.vro.jenkins.plugin.OrchestratorBuilder.perform(OrchestratorBuilder.java:87) ... 9 more

    Users with the same issue

    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    aldrinleal
    aldrinleal1 times, last one,
    Unknown visitor1 times, last one,
    132 more bugmates