Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bug: Workspace becoming unhealthy shortly after getting started #17150

Open
Labels
customer-reportedBugs reported by enterprise customers. Only humans may set this.s3Bugs that confuse, annoy, or are purely cosmeticsiteArea: frontend dashboard
@dahr

Description

@dahr

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

We have started seeing the issue below since moving to v2.20.0.

TL;DR: the UI displays the agent as unhealthy after around 30 seconds but goes back to BAU after refreshing the page – details below.

Relevant Log Output

Logs attached.

Expected Behavior

No response

Steps to Reproduce

  1. Setting CODER_DERP_FORCE_WEBSOCKETS to ‘true’ reduces some issues in the agent logs, but it does not help with the error.

  2. The issue seems to happen only once (after the error appears and is gone, it does not show up again, at least in a short period of 10 minutes or so)

  3. This is the difference in the workspace metadata for the agent when comparing healthy and non-healthy:

Coder Agent and UI version: 2.20.0
What Happens:

When we create a workspace, it gets provisioned quite quick and all the buttons appear and they are functional, so you can access it easily.

But then, after about 20 seconds or so, a message appears in the UI, showing that “1 agent is unhealthy”, and the action buttons disappear.

Important note is that if you quickly refresh the page, or duplicate tabs, it looks good again (as in the first screenshot), while the original browser tab still shows the unhealthy error.

I did some digging, using the API to compare the workspace’s agent health status and its logs, and at some point seems to be unhealthy for a very short period of time. 2 remarks:

Image
Image
Image

Image

After becoming healthy again, the UI still shows it as unhealthy

At the moment in time that becomes unhealthy, there are no new logs in the Agent. Please check the image below, where the left hand side shows a constant ping to the workspace API endpoint, and the right hand side is streaming the logs from the Agent container:

Image
Image
Image
Image

Environment

  • Host OS: Linux
  • Coder version: v2.20.0

Additional Context

The issue is new (previously worked fine)

Metadata

Metadata

Assignees

No one assigned

    Labels

    customer-reportedBugs reported by enterprise customers. Only humans may set this.s3Bugs that confuse, annoy, or are purely cosmeticsiteArea: frontend dashboard

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp