harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Loenko" <mloe...@gmail.com>
Subject Re: [net] HTTPS connections
Date Mon, 04 Feb 2008 10:52:41 GMT
I launched jigsaw ~1.5-2 years ago and https worked...

2008/2/4, Alexey Petrenko <alexey.a.petrenko@gmail.com>:
> 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
>

Mime
View raw message