[Bug] expiring a node does not update the online status #751

Closed
opened 2025-12-29 02:23:26 +01:00 by adam · 2 comments
Owner

Originally created by @akelge on GitHub (Jul 26, 2024).

Is this a support request?

  • This is not a support request

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

If I expire a node, using the API, the node still appears to be online

Expected Behavior

Expiring a node should update the online status

Steps To Reproduce

  1. expire a node using headscale nodes expire -i <nodeid>
  2. check with headscale nodes list
  3. under the Expired column you will see yes, but under Connected there will be online

Environment

- OS: docker 
- Headscale version: v0.23.0-alpha12

Runtime environment

  • Headscale is behind a (reverse) proxy
  • Headscale runs in a container

Anything else?

No response

Originally created by @akelge on GitHub (Jul 26, 2024). ### Is this a support request? - [X] This is not a support request ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior If I expire a node, using the API, the node still appears to be online ### Expected Behavior Expiring a node should update the online status ### Steps To Reproduce 1. expire a node using `headscale nodes expire -i <nodeid>` 2. check with `headscale nodes list` 3. under the `Expired` column you will see `yes`, but under `Connected` there will be `online` ### Environment ```markdown - OS: docker - Headscale version: v0.23.0-alpha12 ``` ### Runtime environment - [ ] Headscale is behind a (reverse) proxy - [X] Headscale runs in a container ### Anything else? _No response_
adam added the stalebug labels 2025-12-29 02:23:26 +01:00
adam closed this issue 2025-12-29 02:23:26 +01:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 25, 2024):

This issue is stale because it has been open for 90 days with no activity.

@github-actions[bot] commented on GitHub (Dec 25, 2024): This issue is stale because it has been open for 90 days with no activity.
Author
Owner

@github-actions[bot] commented on GitHub (Jan 1, 2025):

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions[bot] commented on GitHub (Jan 1, 2025): This issue was closed because it has been inactive for 14 days since being marked as stale.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#751