Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent failure in CipherSuiteTest #5701

Closed
tomas-langer opened this issue Dec 15, 2022 · 2 comments
Closed

Intermittent failure in CipherSuiteTest #5701

tomas-langer opened this issue Dec 15, 2022 · 2 comments
Assignees
Labels
2.x Issues for 2.x version branch 3.x Issues for 3.x version branch 4.x Version 4.x bug Something isn't working must-have P3 reactive Reactive streams and related components webserver
Milestone

Comments

@tomas-langer
Copy link
Member

tomas-langer commented Dec 15, 2022

I get the following intermittent error in pipelines (at least 5 times already):

Error:  Failures: 
Error:    CipherSuiteTest.testUnsupportedAlgorithm:108 
Expected: an instance of javax.net.ssl.SSLHandshakeException
     but: <java.lang.IllegalStateException: (client reqID: 3) Connection reset by the host> is a java.lang.IllegalStateException

Findings after first analysis:
Test fails because the connection is sometimes closed before we receive the SSL Handshake Failure.
The exception (as can be seen above) claims the connection was reset by host, so the server probably issues a close before the correct SSL error is sent back. I could not find the problem on the server side.
As this is a critical test failure that is blocking our pipelines, I have created a temporary fix that accepts connection close as a valid error. This must be fixed before release.
Could not reproduce on local Linux or MacOS, only fails on pipeline environment (Github Actions)

@m0mus m0mus added the P3 label Dec 15, 2022
@tomas-langer tomas-langer assigned tomas-langer and unassigned Verdent Dec 16, 2022
@tomas-langer tomas-langer added bug Something isn't working and removed intermittent labels Dec 16, 2022
@tomas-langer tomas-langer added this to the 4.0.0 milestone Dec 16, 2022
@tomas-langer tomas-langer added reactive Reactive streams and related components must-have labels Dec 16, 2022
@barchetta
Copy link
Member

barchetta commented Jun 2, 2023

I'm seeing this a lot on the 2.x and 3.x pipelines as well.

I wonder if this is a similar issue as #6932. That is the WebServer encounters a bad request, writes a response, then closes the connection. And when the client reads the response off of the socket it gets an Exception instead of the response. Could there be a case in our Netty integration where sometimes a responses is not fully written to the socket before the socket is closed?

@barchetta barchetta added 2.x Issues for 2.x version branch 3.x Issues for 3.x version branch labels Jun 3, 2023
@Verdent
Copy link
Member

Verdent commented Sep 14, 2023

CipherSuiteTest reintroduced in Helidon 4 branch by PR #7587 and was rewritten.

@Verdent Verdent closed this as completed Sep 14, 2023
@m0mus m0mus added this to Backlog Aug 12, 2024
@m0mus m0mus moved this to Closed in Backlog Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Issues for 2.x version branch 3.x Issues for 3.x version branch 4.x Version 4.x bug Something isn't working must-have P3 reactive Reactive streams and related components webserver
Projects
Archived in project
Development

No branches or pull requests

4 participants