Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

Build errors since updating to latest daily
Started by steve262 Nov 21 2019 02:50 AM

2 replies to this topic
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Observer

  • 22 posts
  • Corona SDK

Since updating to a current daily (possibly a coincidence and it'd still do it if I put it back) I can't build anything for android, I'm getting
Using custom Build Id 00000
10:31:06.525  Excluding specified files from build: 
10:31:06.525     excluding: Icon.png
10:31:06.525     excluding: Icon-??.png
10:31:06.525     excluding: Icon-???.png
10:31:09.042  @ver > NUL
10:31:09.042  Exception in thread "main" javax.net.ssl.SSLException: Received fatal alert: protocol_version
10:31:09.042   at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)
10:31:09.042   at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136)
10:31:09.042   at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1822)
10:31:09.042   at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1004)
10:31:09.042   at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188)
10:31:09.042   at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1215)
10:31:09.042   at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1199)
10:31:09.042   at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434)
10:31:09.042   at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
10:31:09.042   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1195)
10:31:09.042   at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
10:31:09.042   at org.gradle.wrapper.Download.downloadInternal(Download.java:66)
10:31:09.042   at org.gradle.wrapper.Download.download(Download.java:51)
10:31:09.042   at org.gradle.wrapper.Install$1.call(Install.java:62)
10:31:09.042   at org.gradle.wrapper.Install$1.call(Install.java:48)
10:31:09.042   at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
10:31:09.042   at org.gradle.wrapper.Install.createDist(Install.java:48)
10:31:09.042   at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
10:31:09.042   at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
10:31:09.042  Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
10:31:09.393  Android build failed (1) after 5 seconds
In the console and some prodding at it with wireshark reveals it's trying to talk TLS 1.0 to services.gradle.org and is getting a fatal protocol alert in response.
What do I need to update or change to get it to try and use something less old that doesn't upset the other end of that?

[TOPIC: post.html]

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,393 posts
  • Enterprise

Can you look in the Android 64-bit forum and check the pinned post. There are instructions on increasing the build log messages. Capture the entire build log and use a service like pastebin.com and paste it there. Share the link here.




[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Observer

  • 22 posts
  • Corona SDK

Had a read of that, turned on the extra debug output and saw it was running against the oldest version of JDK I had installed. 1.6something ancient, which doesn't support newer TLS protocols.


Uninstalled that JDK and it's noticed there are rather newer ones to use and that particular error is now gone, if I can't get to the bottom of the shiny new error I have I'll start a thread in 64bit :)