Title: Agent fails to connect after updating existing running workspace to new template version · Issue #2970 · coder/coder · GitHub
Open Graph Title: Agent fails to connect after updating existing running workspace to new template version · Issue #2970 · coder/coder
X Title: Agent fails to connect after updating existing running workspace to new template version · Issue #2970 · coder/coder
Description: Problem I published a new version of our workspace template and then used coder update
Open Graph Description: Problem I published a new version of our workspace template and then used coder update
X Description: Problem I published a new version of our workspace template and then used coder update <WORKSPACE_NAME> from the CLI (also running v0.7.12) to update my existing workspace (the status of whic...
Opengraph URL: https://github.com/coder/coder/issues/2970
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Agent fails to connect after updating existing running workspace to new template version","articleBody":"\r\n## Problem\r\nI published a new version of our workspace template and then used `coder update \u003cWORKSPACE_NAME>` from the CLI (also running v0.7.12) to update my existing workspace (the status of which was \"running\") to the new template version.\r\n\r\n\r\nThe agent never connects to the workspace. Checking the serial console of the EC2 instance in AWS console I see this error message repeated continously:\r\n\r\n```\r\n[ 568.940691] cloud-init[1363]: \"error\": GET \u003cELIDED>/api/v2/workspaceagents/me/listen: unexpected status code 403:\r\n Agent trying to connect from non-latest build.\r\n[ 568.941792] cloud-init[1363]: Error: build is outdated\r\n```\r\n\r\n## Definition of Done\r\n\r\nAfter some time, the agent in the workspace connects to the Coder server so that I can ssh to the workspace.\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/kconley-sq","@type":"Person","name":"kconley-sq"},"datePublished":"2022-07-13T17:27:58Z","url":"https://github.com/coder/coder/issues/2970"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8fb56f43-59fe-ec3b-4154-396ec648fbdb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A490:17FB7:1A6882F:2170164:6B01873C |
| html-safe-nonce | 8fa954140f5ace23c606b1338f0b2d03c8dc1ce023a7a30cc6aacb3706ea6d45 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDkwOjE3RkI3OjFBNjg4MkY6MjE3MDE2NDo2QjAxODczQyIsInZpc2l0b3JfaWQiOiIzODEzNTYzOTEyNzM4MTQ2MTA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1f165c1ff37cd1d6f5d4ffded86aba86006d4c4eca88c2dcb6bdfc53ea2e3c03 |
| hovercard-subject-tag | issue:1303735310 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/2970/issue_layout |
| twitter:image | https://opengraph.githubassets.com/584ede57c1571a4e7c755ff7c3fd3d68cef85babc215c924a8630687c0926367/coder/coder/issues/2970 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/584ede57c1571a4e7c755ff7c3fd3d68cef85babc215c924a8630687c0926367/coder/coder/issues/2970 |
| og:image:alt | Problem I published a new version of our workspace template and then used coder update |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kconley-sq |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width