-
Notifications
You must be signed in to change notification settings - Fork 73
Marking additional connections as ready #66
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
Conversation
|
Still working on some tests, but would appreciate any comments on the approach/functionality as I put together some tests for |
OverviewThis pr is related to rancher/rancher#39094. Basically, not every connection which got a valid cert was marked as ready when a valid cert was retrieved for it. This lead to issues where the UI maintained some connections with an old cert event though a newer cert was being used for new connections. Since the old cert was still being used, this prevented user's Browsers from recognizing that it needed to re-prompt the user to accept the new self-signed cert, leading to constant websocket disconnect/reconnect attempts. For more information on this issue, see this comment. This PR aims to fix this by marking any connection which we retrieved a valid cert for as ready. Since Changes
|
|
Got some tests added, and also pushed a commit which bumps the go version for this to 1.19. |
98bfd17 to
b3b1b0a
Compare
cmurphy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job on the tests 👍
b3b1b0a to
3d58c21
Compare
Most connections were not marked as ready despite having retrieved a valid cert. This change makes all connections which succesfully retrieved a cert get marked as ready
3d58c21 to
29f14db
Compare
Most connections were not marked as ready despite having retrieved a valid cert. This change makes all connections which successfully retrieved a cert get marked as ready
Related to rancher/rancher#39094