Guys,

does anybody knows the status of HTTPS connections possibility in
Harmony? Are they working? :)

I wrote a small test which loads a page from our JIRA. And it fails
with the following stack trace:

=== cut ===
Uncaught exception in main:
javax.net.ssl.SSLProtocolException: Unexpected message type has been
received: 72
        at 
org.apache.harmony.xnet.provider.jsse.SSLRecordProtocol.unwrap(SSLRecordProtocol.java:362)
        at 
org.apache.harmony.xnet.provider.jsse.SSLSocketImpl.doHandshake(SSLSocketImpl.java:719)
        at 
org.apache.harmony.xnet.provider.jsse.SSLSocketImpl.startHandshake(SSLSocketImpl.java:438)
        at 
org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.getSecureSocket(HttpConnection.java:168)
        at 
org.apache.harmony.luni.internal.net.www.protocol.https.HttpsURLConnection$HttpsEngine.connect(HttpsURLConnection.java:398)
        at 
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:871)
        at 
org.apache.harmony.luni.internal.net.www.protocol.https.HttpsURLConnection.getInputStream(HttpsURLConnection.java:252)
        at java.net.URL.openStream(URL.java:674)
        at HTTPSTest.main(HTTPSTest.java:8)
=== cut ===

Any ideas?

Thanks in advance.

SY, Alexey

Reply via email to