-
Notifications
You must be signed in to change notification settings - Fork 881
Add a timeout + debug steps to the Coder agent (agent stuck in Connecting...
forever isn't accurate)
#4678
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
Milestone
Comments
I made some designs for this one: Figma link: https://www.figma.com/file/YIGBkXUcnRGz2ZKNmLaJQf/Coder-Product-V2?node-id=1484%3A963 |
Some thoughts:
|
mafredri
added a commit
to coder/terraform-provider-coder
that referenced
this issue
Nov 7, 2022
mafredri
added a commit
to coder/terraform-provider-coder
that referenced
this issue
Nov 7, 2022
mafredri
added a commit
that referenced
this issue
Nov 7, 2022
This commit adds the connection timeout and troubleshooting url fields to coder agents. If an initial connection cannot be established within connection timeout seconds, then the agent status will be marked as `"timeout"`. The troubleshooting URL will be present, if configured in the Terraform template, it can be presented to the user when the agent state is either `"timeout"` or `"disconnected"`. Fixes #4678
mafredri
added a commit
that referenced
this issue
Nov 7, 2022
This commit adds the connection timeout and troubleshooting url fields to coder agents. If an initial connection cannot be established within connection timeout seconds, then the agent status will be marked as `"timeout"`. The troubleshooting URL will be present, if configured in the Terraform template, it can be presented to the user when the agent state is either `"timeout"` or `"disconnected"`. Fixes #4678
mafredri
added a commit
that referenced
this issue
Nov 9, 2022
This commit adds the connection timeout and troubleshooting url fields to coder agents. If an initial connection cannot be established within connection timeout seconds, then the agent status will be marked as `"timeout"`. The troubleshooting URL will be present, if configured in the Terraform template, it can be presented to the user when the agent state is either `"timeout"` or `"disconnected"`. Fixes #4678
mafredri
added a commit
that referenced
this issue
Nov 9, 2022
* feat: Add connection_timeout and troubleshooting_url to agent This commit adds the connection timeout and troubleshooting url fields to coder agents. If an initial connection cannot be established within connection timeout seconds, then the agent status will be marked as `"timeout"`. The troubleshooting URL will be present, if configured in the Terraform template, it can be presented to the user when the agent state is either `"timeout"` or `"disconnected"`. Fixes #4678
DanielleMaywood
pushed a commit
to coder/terraform-provider-coder
that referenced
this issue
Sep 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is taken from #4201
After the timeout, the agent can go from
Connecting
toDisconnected
This debug_url can be surfaced in the dashboard/CLI to make it easy for admins to troubleshoot a timed-out workspace. For larger deployments, an admin could edit the template README and change
debug_url
to an internal wiki/chat/ticketing system so users can request help. Perhaps the debug URL could also be surfaced for failed builds as wellThe text was updated successfully, but these errors were encountered: