收藏
回答

微信退款ssl问题

发起退款时会有概率报 SSL peer shut down incorrectly,导致建立链接失败,有时出现有时不出现

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:961)

        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363)

        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1391)

        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1375)

        at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394)

        at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353)

        at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)

        at org.apache.http.impl.conn.BasicHttpClientConnectionManager.connect(BasicHttpClientConnectionManager.java:338)

        at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)

        at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)

        at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)

        at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)

        at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)

        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:107)


回答关注问题邀请回答
收藏
登录 后发表内容
问题标签