[minor Bug] ephemeral_node_inactivity_timeout (3d) is set too low #520

Closed
opened 2025-12-29 02:19:29 +01:00 by adam · 4 comments
Owner

Originally created by @PizzaProgram on GitHub (Jun 9, 2023).

Originally assigned to: @kradalby on GitHub.

Setting this at config.yaml file:
ephemeral_node_inactivity_timeout: 3d (3 days)
causing this:

FTL ../home/runner/work/headscale/headscale/cmd/headscale/cli/root.go:48 > 
  Error loading config error="Fatal config error: ephemeral_node_inactivity_timeout (3d) is set too low, 
  must be more than 1m5s"

But setting it to :
10000m (ten thousand minutes) is OK.

Environment

  • Version of headscale used: v0.22.3
  • OS: Linux Debian 11
Originally created by @PizzaProgram on GitHub (Jun 9, 2023). Originally assigned to: @kradalby on GitHub. Setting this at `config.yaml` file: `ephemeral_node_inactivity_timeout: 3d` (3 days) causing this: ``` FTL ../home/runner/work/headscale/headscale/cmd/headscale/cli/root.go:48 > Error loading config error="Fatal config error: ephemeral_node_inactivity_timeout (3d) is set too low, must be more than 1m5s" ``` But setting it to : `10000m` (ten thousand minutes) is OK. ## Environment - Version of headscale used: `v0.22.3` - OS: `Linux Debian 11`
adam added the stalebug labels 2025-12-29 02:19:29 +01:00
adam closed this issue 2025-12-29 02:19:30 +01:00
Author
Owner

@vsychov commented on GitHub (Jun 23, 2023):

@PizzaProgram , d is not valid time unit, you can see more info there: https://pkg.go.dev/time#ParseDuration
Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".

@vsychov commented on GitHub (Jun 23, 2023): @PizzaProgram , `d` is not valid time unit, you can see more info there: https://pkg.go.dev/time#ParseDuration `Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".`
Author
Owner

@kradalby commented on GitHub (Jun 23, 2023):

I think it should be, iirc, we use the Prometheus parser and not the stdlib one.

@kradalby commented on GitHub (Jun 23, 2023): I think it should be, iirc, we use the Prometheus parser and not the stdlib one.
Author
Owner

@github-actions[bot] commented on GitHub (Dec 12, 2023):

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

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

@github-actions[bot] commented on GitHub (Dec 20, 2023):

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

@github-actions[bot] commented on GitHub (Dec 20, 2023): 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#520