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

Disconnect the session after SSL handshake issue #28

Merged
merged 1 commit into from
May 21, 2023

Conversation

dupondje
Copy link
Member

When the handshake check that is added in PR #17 fails, then a ClientConnectionException is thrown, and passed up to the client in ovirt-engine.
But as the connection is in some invalid state, but not disconnected, it for example causes there are no heartbeats anymore.

This fix also closes the connection when there is some ClientConnectionException in the postConnect stage.

This should fix #27

When the handshake check that is added in PR oVirt#17 fails, then a
ClientConnectionException is thrown, and passed up to the client in
ovirt-engine.
But as the connection is in some invalid state, but not disconnected, it
for example causes there are no heartbeats anymore.

This fix also closes the connection when there is some
ClientConnectionException in the postConnect stage.

This should fix oVirt#27

Signed-off-by: Jean-Louis Dupond <jean-louis@dupond.be>
@sandrobonazzola
Copy link
Member

/ost

@michalskrivanek
Copy link
Member

it's a risky change. but we always had some mysterious situations when host monitoring stopped for no obvious reason. i'd be in favor of merging it. worst case we'll revert...

@mwperina
Copy link
Member

/ost

Copy link
Member

@mwperina mwperina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved in order to be able to execute OST

@mwperina
Copy link
Member

/ost

@mwperina mwperina merged commit 8e5508d into oVirt:master May 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SSL session is invalid
4 participants