Skip to content

Conversation

aaronlehmann
Copy link
Contributor

maybeWaitForRunning can take indefinitely long because it prompts for confirmation, and in that time, client certificates can expire. Start setup fresh after this call to make sure the REST client uses the latest certificates.

@bcpeinhardt
Copy link
Collaborator

Hello! Sorry my morning got stacked with meetings.
Would you mind adding a short description to the Unreleased section of the changelog?

maybeWaitForRunning can take indefinitely long because it prompts for
confirmation, and in that time, client certificates can expire. Start
setup fresh after this call to make sure the REST client uses the latest
certificates.
@aaronlehmann
Copy link
Contributor Author

Done

@bcpeinhardt bcpeinhardt merged commit 242a517 into coder:main Feb 4, 2025
2 checks passed
@aaronlehmann aaronlehmann deleted the recreate-rest-client branch February 4, 2025 21:39
aaronlehmann added a commit to aaronlehmann/vscode-coder that referenced this pull request Feb 19, 2025
This is a followup to coder#431. It addresses the need to also recreate the
REST client used inside `maybeWaitForRunning`, since it makes API calls
before returning to `setup`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy