2014-01-10 68 views
0
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure 
        at sun.security.ssl.Alerts.getSSLException(Unknown Source) 
        at sun.security.ssl.Alerts.getSSLException(Unknown Source) 
        at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source) 
        at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) 
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) 
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) 
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) 
        at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source) 
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) 
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source) 
        at org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.sample(HTTPJavaImpl.java:487) 
        at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:62) 
        at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1088) 
        at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1077) 
        at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:429) 
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257) 
        at java.lang.Thread.run(Unknown Source) 
+1

你能否提供一些關於你的錯誤的上下文?改進描述將有助於他人回答您的問題(並使整個SO站點對於將來查看較老問題的任何人來說都更好)。 – joragupra

回答

0

請使用jdk1.7。解決同樣的問題只需將jdk更改爲1.7即可。請嘗試。

  1. 安裝JDK 1.7
  2. 更改環境變量
  3. 重新引導

現在HTTPS應該工作。

+0

同樣的問題,切換到1.7,但它沒有幫助 – ViaSat