猿问

为什么我得到javax.net.ssl.SSLException:收到致命警报:

我在2018年6月之后收到此错误:


javax.net.ssl.SSLException: Received fatal alert: protocol_version

        at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)

        at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)

        at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979)

        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086)

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

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

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

        at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)

        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)

        at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)

        at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:731)

        at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:652)

        at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:642)


繁星coding
浏览 790回答 2
2回答
随时随地看视频慕课网APP

相关分类

Java
我要回答