javax.net.ssl.SSLHandshakeException

有誰遇到過這個問題呢?麻煩不吝賜教。java

 

 

 

javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:992)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
    at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:290)
    at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:259)
    at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:125)
    at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:319)
    at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
    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:106)
    at com.bailon.billmanager.paycenter.modules.wechat.http.executor.SimpleGetRequestExecutor.execute(SimpleGetRequestExecutor.java:27)
    at com.bailon.billmanager.paycenter.modules.wechat.http.executor.SimpleGetRequestExecutor.execute(SimpleGetRequestExecutor.java:19)
    at com.bailon.billmanager.paycenter.modules.wechat.service.impl.WeiXinBaseServiceImpl.executeHttpClient(WeiXinBaseServiceImpl.java:47)
    at com.bailon.billmanager.paycenter.modules.wechat.service.impl.WeiXinBaseServiceImpl.get(WeiXinBaseServiceImpl.java:26)
    at com.bailon.billmanager.paycenter.modules.wechat.listener.TaskListener$refreshAccessTokenTask.run(TaskListener.java:53)
    at java.util.TimerThread.mainLoop(Timer.java:555)
    at java.util.TimerThread.run(Timer.java:505)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
    at sun.security.ssl.InputRecord.read(InputRecord.java:505)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
    ... 22 moreapache

相關文章
相關標籤/搜索