Mirror API - appcfg.sh throws a javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

0 views
Skip to first unread message

Harish Rao via StackOverflow

unread,
May 20, 2013, 12:02:03 PM5/20/13
to google-appengin...@googlegroups.com

I am on a Mac and using jdk 1.6.

I am trying to deploy a copy of https://github.com/googleglass/mirror-quickstart-java to google app engine using this command:

appcfg.sh --oauth2 update ./web
May 18, 2013 3:26:07 PM com.google.appengine.tools.info.RemoteVersionFactory getVersion
INFO: Unable to access https://appengine.google.com/api/updatecheck?runtime=java&release=1.8.0&timestamp=1367866279&api_versions=['1.0']
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
        at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:523)
        at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:830)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1170)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1197)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1181)
        at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
        at java.net.URL.openStream(URL.java:1010)
        at com.google.appengine.tools.info.RemoteVersionFactory.getVersion(RemoteVersionFactory.java:76)
        at com.google.appengine.tools.info.UpdateCheck.getApplicationVersionInfo(UpdateCheck.java:151)
        at com.google.appengine.tools.info.UpdateCheck.maybePrintNagScreen(UpdateCheck.java:361)
        at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:178)
        at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:118)
        at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:114)
Please enter code: 
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

Anybody have this problem?



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/16629620/mirror-api-appcfg-sh-throws-a-javax-net-ssl-sslexception-unrecognized-ssl-mes
Reply all
Reply to author
Forward
0 new messages