You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Wido den Hollander <wi...@widodh.nl> on 2018/08/29 12:53:33 UTC
rdpclient.MockServerTest failing
Hi,
When building DEB packages I keep running into this test which is failing:
"Error in mock server: Received fatal alert: handshake_failure
javax.net.ssl.SSLHandshakeException: Received fatal alert:
handshake_failure"
Is anybody else seeing this as well? I keep removing the tests from the
.DEB build now when building them, but that doesn't seem right.
Any ideas?
Wido
Running rdpclient.MockServerTest
Error in mock server: Received fatal alert: handshake_failure
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2038)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1135)
at
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
at streamer.debug.MockServer.run(MockServer.java:122)
at java.lang.Thread.run(Thread.java:748)
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.313
sec <<< FAILURE! - in rdpclient.MockServerTest
testIsMockServerCanUpgradeConnectionToSsl(rdpclient.MockServerTest)
Time elapsed: 0.276 sec <<< ERROR!
javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol
is disabled or cipher suites are inappropriate)
at sun.security.ssl.Handshaker.activate(Handshaker.java:529)
at
sun.security.ssl.SSLSocketImpl.kickstartHandshake(SSLSocketImpl.java:1492)
at
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1361)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
at
rdpclient.MockServerTest.testIsMockServerCanUpgradeConnectionToSsl(MockServerTest.java:166)
Re: rdpclient.MockServerTest failing
Posted by Rafael Weingärtner <ra...@gmail.com>.
We have seen this before, and in theory we fixed this problem with
https://github.com/apache/cloudstack/pull/2674.
It is a problem that related to SSL CipherSuites enabled in each Java
version. From one minor version to the other, these ciphers may change.
On Wed, Aug 29, 2018 at 9:53 AM, Wido den Hollander <wi...@widodh.nl> wrote:
> Hi,
>
> When building DEB packages I keep running into this test which is failing:
>
> "Error in mock server: Received fatal alert: handshake_failure
> javax.net.ssl.SSLHandshakeException: Received fatal alert:
> handshake_failure"
>
> Is anybody else seeing this as well? I keep removing the tests from the
> .DEB build now when building them, but that doesn't seem right.
>
> Any ideas?
>
> Wido
>
> Running rdpclient.MockServerTest
> Error in mock server: Received fatal alert: handshake_failure
> javax.net.ssl.SSLHandshakeException: Received fatal alert:
> handshake_failure
> at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
> at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
> at sun.security.ssl.SSLSocketImpl.recvAlert(
> SSLSocketImpl.java:2038)
> at sun.security.ssl.SSLSocketImpl.readRecord(
> SSLSocketImpl.java:1135)
> at
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(
> SSLSocketImpl.java:1385)
> at sun.security.ssl.SSLSocketImpl.startHandshake(
> SSLSocketImpl.java:1413)
> at sun.security.ssl.SSLSocketImpl.startHandshake(
> SSLSocketImpl.java:1397)
> at streamer.debug.MockServer.run(MockServer.java:122)
> at java.lang.Thread.run(Thread.java:748)
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.313
> sec <<< FAILURE! - in rdpclient.MockServerTest
> testIsMockServerCanUpgradeConnectionToSsl(rdpclient.MockServerTest)
> Time elapsed: 0.276 sec <<< ERROR!
> javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol
> is disabled or cipher suites are inappropriate)
> at sun.security.ssl.Handshaker.activate(Handshaker.java:529)
> at
> sun.security.ssl.SSLSocketImpl.kickstartHandshake(SSLSocketImpl.java:1492)
> at
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(
> SSLSocketImpl.java:1361)
> at sun.security.ssl.SSLSocketImpl.startHandshake(
> SSLSocketImpl.java:1413)
> at sun.security.ssl.SSLSocketImpl.startHandshake(
> SSLSocketImpl.java:1397)
> at
> rdpclient.MockServerTest.testIsMockServerCanUpgradeConn
> ectionToSsl(MockServerTest.java:166)
>
--
Rafael Weingärtner