服务器提示:
Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake, at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1002) ~[na:1.8.0_161], at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) ~[na:1.8.0_161], at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[na:1.8.0_161], at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) ~[na:1.8.0_161], at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) ~[na:1.8.0_161], at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) ~[na:1.8.0_161], at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) ~[na:1.8.0_161], at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) ~[na:1.8.0_161], at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263) ~[na:1.8.0_161], at org.jasig.cas.client.util.CommonUtils.getResponseFromServer(CommonUtils.java:442) ~[cas-client-core-3.5.0.jar!/:3.5.0], ... 31 common frames omitted, Caused by: java.io.EOFException: SSL peer shut down incorrectly, at sun.security.ssl.InputRecord.read(InputRecord.java:505) ~[na:1.8.0_161], at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983) ~[na:1.8.0_161], ... 40 common frames omitted,
处理方法:
mysql配置增加&useSSL=false
增加spring.datasource.dynamic.datasource.master.url= &useSSL=false
标签:java,na,1.8,ssl,mysql,sun,161,SSLSocketImpl From: https://www.cnblogs.com/2018-james/p/17402026.html