Closed as not planned
Closed as not planned
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 which was "running") to the new template version.
The agent never connects to the workspace. Checking the serial console of the EC2 instance in AWS console I see this error message repeated continously:
[ 568.940691] cloud-init[1363]: "error": GET <ELIDED>/api/v2/workspaceagents/me/listen: unexpected status code 403:
Agent trying to connect from non-latest build.
[ 568.941792] cloud-init[1363]: Error: build is outdated
Definition of Done
After some time, the agent in the workspace connects to the Coder server so that I can ssh to the workspace.