javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?


Solutions on the web1

Solution icon of googlegroups
via Google Groups by christopher davis, 4 months ago
Unrecognized SSL message, plaintext connection?

Stack trace

javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
	at com.gc.android.market.api.MarketSession.login(MarketSession.java:170)
	at com.gc.android.market.api.MarketSession.login(MarketSession.java:126)
	at com.marketplace.io.Session.<init>(Session.java:76)
	at com.marketplace.io.SessionManager.createNewSession(SessionManager.java:111)
	at com.marketplace.io.SessionManager.initSessions(SessionManager.java:73)
	at com.marketplace.io.SessionManager.<init>(SessionManager.java:60)
	at com.marketplace.Main.<init>(Main.java:79)
	at com.marketplace.Main.main(Main.java:338)
Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext 
 connection?
	at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:652)
	at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:484)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1215)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1199)
	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.getOutputStream(HttpURLConnection.java:1014)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
	at com.gc.android.market.api.Tools.postUrl(Tools.java:55)
	at com.gc.android.market.api.MarketSession.login(MarketSession.java:139)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
Once, 9 months ago
11 more bugmates