尝试创建新的JBOSS OpenShift项目时出错 [英] Error when trying to create a new JBOSS OpenShift project

查看:72
本文介绍了尝试创建新的JBOSS OpenShift项目时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用openshift,但首先遇到了配置问题.

I am trying to have a play around with openshift, but am running into a config issue at the first hurdle.

我已经安装了RedHatJBOSS Developer Studio 8.0.0,并且已经安装了JBOSS集成和SOA开发插件.

i have RedHatJBOSS Developer Studio 8.0.0 installed, and have the JBOSS Integration and SOA Development Plugin installed.

我还有一个openshift用户帐户,可以很好地登录他们的网站.

I also have an openshift user account and can login just fine to their website.

基本上,当我从JBoss中央页面中选择create openshift项目,然后输入有效的openshift凭据和pres时,它会尝试连接并立即引发错误,指出发生SSL握手异常(以下详细信息).

Basically, when I select the create openshift project from the JBoss central page, and enter my valid openshift credentials and pres next, it tries to connect and immediately throws an error stating an SSL handshake exception occurred (details below).

老实说,我有点迷茫.我需要安装什么东西吗?

I am a bit lost if I am honest; is there something I need to install?

如果有重大意义,我正在使用JRE 7

I am using JRE 7 in case that is significant

com.openshift.client.OpenShiftEndpointException: Could not request https://openshift.redhat.com/broker/rest/api: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
    at com.openshift.internal.client.RestService.request(RestService.java:120)
    at com.openshift.internal.client.RestService.request(RestService.java:92)
    at com.openshift.internal.client.AbstractOpenShiftConnectionFactory.getConnection(AbstractOpenShiftConnectionFactory.java:36)
    at com.openshift.client.OpenShiftConnectionFactory.getConnection(OpenShiftConnectionFactory.java:198)
    at com.openshift.client.OpenShiftConnectionFactory.getConnection(OpenShiftConnectionFactory.java:158)
    at com.openshift.client.OpenShiftConnectionFactory.getConnection(OpenShiftConnectionFactory.java:114)
    at com.openshift.client.OpenShiftConnectionFactory.getConnection(OpenShiftConnectionFactory.java:103)
    at org.jboss.tools.openshift.express.internal.core.connection.Connection.createUser(Connection.java:229)
    at org.jboss.tools.openshift.express.internal.core.connection.Connection.connect(Connection.java:205)
    at org.jboss.tools.openshift.express.internal.ui.wizard.connection.ConnectionWizardPageModel.connect(ConnectionWizardPageModel.java:247)
    at org.jboss.tools.openshift.express.internal.ui.wizard.connection.ConnectionWizardPage$ConnectJob.run(ConnectionWizardPage.java:479)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: com.openshift.internal.client.httpclient.HttpClientException: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
    at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:201)
    at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:161)
    at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:140)
    at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.get(UrlConnectionHttpClient.java:99)
    at com.openshift.internal.client.RestService.request(RestService.java:160)
    at com.openshift.internal.client.RestService.request(RestService.java:107)
    ... 11 more
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:85)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:541)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1686)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1684)
    at java.security.AccessController.doPrivileged(AccessController.java:330)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1682)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1255)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:479)
    at com.ibm.net.ssl.www2.protocol.https.b.getResponseCode(b.java:40)
    at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:184)
    ... 16 more
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
    at com.ibm.jsse2.j.a(j.java:33)
    at com.ibm.jsse2.j.a(j.java:31)
    at com.ibm.jsse2.qc.b(qc.java:190)
    at com.ibm.jsse2.qc.a(qc.java:456)
    at com.ibm.jsse2.qc.h(qc.java:352)
    at com.ibm.jsse2.qc.a(qc.java:523)
    at com.ibm.jsse2.qc.startHandshake(qc.java:730)
    at com.ibm.net.ssl.www2.protocol.https.c.afterConnect(c.java:70)
    at com.ibm.net.ssl.www2.protocol.https.d.connect(d.java:9)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1311)
    at com.ibm.net.ssl.www2.protocol.https.b.getInputStream(b.java:89)
    at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:157)
    ... 15 more

推荐答案

这看起来很奇怪,到目前为止我还没有发现. SSL握手由于某些未知原因而失败.

This looks very weird, I didnt spot this so far. SSL handshake is failing for some unknown reason.

您的JDK7的确切版本是什么? 您的操作系统是什么?

What is the exact version of your JDK7? What is your OS?

欢呼 安德烈(Andre)

Cheers Andre

这篇关于尝试创建新的JBOSS OpenShift项目时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆