支付报Remote host closed connection during handshake?
我们生产环境,在微信支付时,抛出异常:(Remote host closed connection during handshake,这是个偶发现象,之前一直没有过,最近次啊出现的,也是偶发的) ERROR 1 --- [io-5000-exec-20] c.f.a.s.impl.ApiWithdrawalServiceImpl : 微信付款发生异常:{} cb10337e8009:javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake cb10337e8009: at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:994) cb10337e8009: at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367) cb10337e8009: at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395) cb10337e8009: at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379) cb10337e8009: at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:396) cb10337e8009: at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:355) cb10337e8009: at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) cb10337e8009: at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373) cb10337e8009: at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:394) cb10337e8009: at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237) cb10337e8009: at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) cb10337e8009: at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) cb10337e8009: at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) cb10337e8009: at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) cb10337e8009: at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) cb10337e8009: at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) cb10337e8009: at com.fengniao.common.config.ClientCustomSSL.doRefund(ClientCustomSSL.j 但这是个偶发现象,之前一直没有出现过,最近几天再生产环境出现过,也是偶发的,开发没出现过,看网上有的是jdk等问题,但是都确认过了,没有问题,不知道还有其他的解决方法没。有大侠遇到过吗?要怎样解决呢?
贴部分代码 [图片] [图片]