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

fix: close the apid connection to other machines gracefully #8560

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

smira
Copy link
Member

@smira smira commented Apr 8, 2024

Fixes #8552

When apid notices update in the PKI, it flushes its client connections to other machines (used for proxying), as it might need to use new client certificate.

While flushing, just calling Close might abort already running connections.

So instead, try to close gracefully with a timeout when the connection is idle.

Fixes siderolabs#8552

When `apid` notices update in the PKI, it flushes its client connections
to other machines (used for proxying), as it might need to use new
client certificate.

While flushing, just calling `Close` might abort already running
connections.

So instead, try to close gracefully with a timeout when the connection
is idle.

Signed-off-by: Andrey Smirnov <[email protected]>
@smira smira added this to the v1.8 milestone Apr 8, 2024
@smira
Copy link
Member Author

smira commented Apr 8, 2024

/m

@talos-bot talos-bot merged commit 336e611 into siderolabs:main Apr 8, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backported
Development

Successfully merging this pull request may close these issues.

v1.7.0-beta.0 talosctl health fails due to temporary error connect: connection refused
3 participants