Skip to content

Agent connection error - Cannot read properties of undefined (reading 'id') #13919

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

Open
Hwid2121 opened this issue Jul 17, 2024 · 11 comments
Open
Labels
s3 Bugs that confuse, annoy, or are purely cosmetic site Area: frontend dashboard

Comments

@Hwid2121
Copy link

screen1

During the creation of the workspace, the agent fails to establish a proper connection. The error originates from the output of coder_agent.main.

When connecting manually to the IP, I can successfully access the VS Code workspace, and the logs do not show any unusual activity.

@coder-labeler coder-labeler bot added bug s3 Bugs that confuse, annoy, or are purely cosmetic waiting-for-info The issue creator is asked to provide more information. labels Jul 17, 2024
@Hwid2121
Copy link
Author

I downgraded to the stable version and that error does not appear but the agent does not connect still.

The error appear in the v2.13 but not in the stable v2.12.

@kylecarbs
Copy link
Member

Super weird - can you try hard refreshing? This might be a weird client-side cache error, not a true error response from the API.

@MrPeacockNLB
Copy link
Contributor

yeah we see this sometime. Doing STRG+F5 helps

@stirby
Copy link
Collaborator

stirby commented Jul 26, 2024

I encounter this frequently in the dashboard, but assumed it was an issue with my browser.

We should investigate.

@DJIronic
Copy link

I am on version v2.13.0+56bf386 and I have the same issue as reported in #14053. CTRL+F5 does not help for my side. Also happens on multiple computers.

@matifali matifali added site Area: frontend dashboard and removed waiting-for-info The issue creator is asked to provide more information. labels Jul 30, 2024
@DJIronic
Copy link

DJIronic commented Aug 6, 2024

Hello. Any progrss on this issue?

@BrunoQuaresma
Copy link
Collaborator

@stirby do you know how can I reproduce this?

@BrunoQuaresma BrunoQuaresma removed their assignment Nov 22, 2024
@matifali
Copy link
Member

This issue typically arises when you're using the Coder dashboard and Coder server is updated.

@bpmct
Copy link
Member

bpmct commented Apr 16, 2025

@coder

Copy link

github-actions bot commented Apr 16, 2025

✅ Coder workspace started! You can view the action logs here.

Workspace is available at: https://dev.coder.com/bpmct/issue-13919

@MrPeacockNLB
Copy link
Contributor

@bpmct we see this sometimes with v2.18.5 too. This is not a fresh release as we deployt this version weeks ago. I do not know how to track this down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s3 Bugs that confuse, annoy, or are purely cosmetic site Area: frontend dashboard
Projects
None yet
Development

No branches or pull requests

8 participants