Replies: 2 comments 4 replies
-
|
This doesn't sound like a bug, it sounds like the pre-auth key you supplied is not reusable. |
Beta Was this translation helpful? Give feedback.
-
|
I'm seeing the same issue but with Here is how create the key, so I'm sure that the key has the mentioned settings and is also always the same. Here is my headplane config: https://github.com/rhoriguchi/nixos-setup/blob/50e380f979912e8bd1a713c7626b766eced40e6d/configuration/devices/headless/nelliel/headscale/headplane.nix#L13-L49 Headplane version: 931a7f8 Log output |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
headplane-agent fails after each reboot requiring new pre-auth keys
headplane | 2025-10-30T20:35:44.578Z [agent] INFO: Headplane agent started
headplane | 2025-10-30T20:35:44.632Z [agent] INFO: tsnet running state path /var/lib/headplane/agent/tailscaled.state
headplane | 2025-10-30T20:35:44.633Z [agent] INFO: tsnet starting with hostname "headplane-agent", varRoot "/var/lib/headplane/agent"
headplane | 2025-10-30T20:35:44.634Z [agent] INFO: Authkey is set; but state is NoState. Ignoring authkey. Re-run with TSNET_FORCE_LOGIN=1 to force use of authkey.
headplane | 2025-10-30T20:35:44.786Z [agent] WARN: Headplane agent exited with code 1 and signal undefined
headplane | 2025-10-30T20:35:44.787Z [agent] WARN: Headplane agent will restart in 296.514 seconds (attempt 40)
Headplane Version
0.6.1
Headscale Version
0.27.0
Beta Was this translation helpful? Give feedback.
All reactions