Matlab Java异常:握手期间远程主机关闭连接

时间:2015-04-16 08:09:21

标签: java matlab

当我使用urlread2()访问API时,我收到以下错误,这在使用Matlab的不同PC上无法重现。导致它的问题可能是什么?

错误日志:

??? Java exception occurred:
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at com.sun.net.ssl.internal.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.http.HttpURLConnection.getOutputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
... 8 more

编辑1:@nkjt添加了matlab和java版本。

Matlab版本:2011a

Matlab的java版本:Java 1.6.0_17-b04与Sun Microsystems Inc. Java HotSpot(TM)64位服务器VM混合模式

0 个答案:

没有答案