Skip to content

Release 3.7.1 never set code-server status as expired (/healthz) #2327

Closed
@wdalmut

Description

@wdalmut

Currently with release 3.7.1 the healthcheck path /healthz replay always with status as alive. In release 3.6.2 if you are not connected to the IDE the status is marked as expired with the property lastHeartbeat correctly setted up.

{
    "status": "alive",
    "lastHeartbeat": 1605640224173
}

The architecture is this one:

+-----+       +------------+
|     |       |            |
|  A  |       |            |
|  L  +------>+    EC2     |
|  B  |       |            |
|     |       |            |
+-----+       +------------+

I looked around a little bit and seems that the healthcheck HTTP call set IDE status as active so when we check if the IDE is used or not we always get the active status back.

  • Web Browser: Chrome
  • Local OS: Windows 10
  • Remote OS: Ubuntu 20.04
  • Remote Architecture: AWS EC2
  • code-server --version: 3.7.1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions