Wednesday, May 25, 2016

Error:Unrecognized SSL message, plaintext connection?





Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
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.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:388)
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.gradle.internal.resource.transport.http.HttpClientHelper.performHttpRequest(HttpClientHelper.java:102)
at org.gradle.internal.resource.transport.http.HttpClientHelper.executeGetOrHead(HttpClientHelper.java:79)
at org.gradle.internal.resource.transport.http.HttpClientHelper.performRequest(HttpClientHelper.java:70)
... 136 more



2016-05-25 17:11:17,633 [2153106]   WARN - radle.project.ProjectSetUpTask -
2016-05-25 17:11:17,633 [2153106]   INFO - radle.project.ProjectSetUpTask - Unrecognized SSL message, plaintext connection?

Consult IDE log for more details (Help | Show Log)
2016-05-25 17:11:17,633 [2153106]   INFO - ls.idea.gradle.GradleSyncState - Sync with Gradle for project 'AvengerAgent' failed: Unrecognized SSL message, plaintext connection?



解决方案:


Maybe the  gradle version  has somequesiton:

I use  gradle-2.11-all.zip  have this question

So I use this:



distributionUrl=https\://services.gradle.org/distributions/gradle-2.14-rc-1-all.zip


OK















No comments:

Post a Comment