Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

[Question] Agent trying to connect from non-latest build #13248

Closed
MaksymSofer opened this issue May 12, 2024 · 2 comments
Closed

[Question] Agent trying to connect from non-latest build #13248

MaksymSofer opened this issue May 12, 2024 · 2 comments
Labels
waiting-for-info The issue creator is asked to provide more information.

Comments

@MaksymSofer
Copy link

Hi,
i have self-hosted coder version v2.8.3+01c6266
running in kubernetes via helm

workspaces (pods) started to throw this:

2024-05-12 14:25:37.043 [warn]  run exited with error ...
    error= GET http://somehost.somedomain.local/api/v2/workspaceagents/me/rpc?version=2.0: unexpected status code 403: Agent trying to connect from non-latest build.
           	Error: build is outdated

how do i suppose to update coder executable on pods?

@coder-labeler coder-labeler bot added the waiting-for-info The issue creator is asked to provide more information. label May 12, 2024
@kylecarbs
Copy link
Member

The agent isn't outdated here, but the token for the agent is from an old workspace build.

Try rebuilding and it should work!

@MaksymSofer
Copy link
Author

MaksymSofer commented May 12, 2024

this happen for each workspace so we need to rebuild each workspace periodically ?
Could token be updated manually somehow?

@coder coder locked and limited conversation to collaborators May 12, 2024
@matifali matifali converted this issue into discussion #13249 May 12, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
waiting-for-info The issue creator is asked to provide more information.
Projects
None yet
Development

No branches or pull requests

2 participants