dev@grizzly.java.net

Re: Grizzly trunk build fails in com.sun.grizzly.http.AsyncHTTPResponseTest: javax.net.ssl.SSLException: Unsupported record version Unknown-0.0

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Mon, 23 Feb 2009 18:31:37 +0100

You're right, I was also able to reproduce this...
It should be fixed now.

Thanks.

WBR,
Alexey.

On Feb 23, 2009, at 15:09 , Survivant 00 wrote:

> got a error on Windows XP too.
>
> Tests in error:
>
> testHTTPSSimpleAsyncResponse
> (com.sun.grizzly.http.AsyncHTTPResponseTest)
>
> testSuspendTimeoutCompletionHandlerGrizzlyAdapter
> (com.sun.grizzly.http.Suspend
> Test)
>
> Tests run: 33, Failures: 0, Errors: 2, Skipped: 0
>
>
>
> -------------------------------------------------------------------------------
> Test set: com.sun.grizzly.http.AsyncHTTPResponseTest
> -------------------------------------------------------------------------------
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> 6.235 sec <<< FAILURE!
> testHTTPSSimpleAsyncResponse
> (com.sun.grizzly.http.AsyncHTTPResponseTest) Time elapsed: 2.844
> sec <<< ERROR!
> javax.net.ssl.SSLException: Unsupported record version Unknown-0.0
> at
> com
> .sun.net.ssl.internal.ssl.InputRecord.readV3Record(InputRecord.java:
> 375)
> at
> com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:360)
> at
> com
> .sun
> .net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:789)
> at
> com
> .sun
> .net
> .ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:746)
> at
> com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:
> 75)
> at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
> at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
> at sun.net.www.MeteredStream.read(MeteredStream.java:116)
> at java.io.FilterInputStream.read(FilterInputStream.java:116)
> at sun.net.www.protocol.http.HttpURLConnection
> $HttpInputStream.read(HttpURLConnection.java:2446)
> at
> com
> .sun
> .grizzly
> .http
> .AsyncHTTPResponseTest
> .testHTTPSSimpleAsyncResponse(AsyncHTTPResponseTest.java:155)
>
>
>
> 2009/2/23 Oleksiy Stashok <Oleksiy.Stashok_at_sun.com>
> Hi,
>
> do you see this issue each time you build Grizzly?
>
> Thanks.
>
> WBR,
> Alexey.
>
> On Feb 23, 2009, at 13:29 , Schmidt Matthias wrote:
>
> Hi,
>
> I did a fresh checkout of grizzly (svn 2521) and tried to build it
> on Mac OSX 10.5.6 using java 1.5.0_16 and maven 2.0.6.
>
> It fails with this:
>
> Tests in error:
>
> testHTTPSSimpleAsyncResponse
> (com.sun.grizzly.http.AsyncHTTPResponseTest)
>
> Tests run: 33, Failures: 0, Errors: 1, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> Please refer to /src/grizzly/code/modules/http/target/surefire-
> reports for the individual test results.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: There are test failures.
>
>
>
> Here's the file:
>
> schmidtm_at_kasimir:/src/grizzly/code/modules/http/target/surefire-
> reports $ more com.sun.grizzly.http.AsyncHTTPResponseTest.txt
> -------------------------------------------------------------------------------
> Test set: com.sun.grizzly.http.AsyncHTTPResponseTest
> -------------------------------------------------------------------------------
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> 5.148 sec <<< FAILURE!
> testHTTPSSimpleAsyncResponse
> (com.sun.grizzly.http.AsyncHTTPResponseTest) Time elapsed: 2.108
> sec <<< ERROR!
> javax.net.ssl.SSLException: Unsupported record version Unknown-0.0
> at
> com
> .sun.net.ssl.internal.ssl.InputRecord.readV3Record(InputRecord.java:
> 375)
> at
> com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:360)
> at
> com
> .sun
> .net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:723)
> at
> com
> .sun
> .net
> .ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:680)
> at
> com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:
> 75)
> at java.io.BufferedInputStream.read1(BufferedInputStream.java:
> 254)
> at java.io.BufferedInputStream.read(BufferedInputStream.java:
> 313)
> at sun.net.www.MeteredStream.read(MeteredStream.java:116)
> at java.io.FilterInputStream.read(FilterInputStream.java:111)
> at sun.net.www.protocol.http.HttpURLConnection
> $HttpInputStream.read(HttpURLConnection.java:2196)
> at
> com
> .sun
> .grizzly
> .http
> .AsyncHTTPResponseTest
> .testHTTPSSimpleAsyncResponse(AsyncHTTPResponseTest.java:155)
>
>
>
> Can you guys give me a helping hand here?
>
> cheers,
>
> Matthias
>
>
> ----------------------------------------------------------------------
> Matthias Schmidt Tel : (++49) 6227 356 236
> Sun Microsystems GmbH Fax : (++49) 6227 356 222
> Altrottstr. 31
> D-69190 Walldorf Mobil : (++49) 171 5767209
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>
>