-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Your authentication has expired" in main branch #226
Comments
Not sure if this is related, but I'm having a issue on "master" similarly:
0.11 does not have the issue |
I think it is, I started to work on it yesterday, and I have a draft PR that has some work, but it's mostly refactor to get a better overview for now. Will continue when I have some more time. |
@paralin in your steps above, do you use an authkey or the web flow? |
@paralin Could you give the build on the tip of that draft PR a go? https://github.com/juanfont/headscale/actions/runs/1475591575 It focuses on a fix for AuthKeys. |
@kradalby While that fixes re-connecting existing nodes, when adding a new node, it just hangs on the "tailscale up" command. Using auth key. |
@cure Seems to be working now, thanks. Will continue to test. |
Closing as resolved, please reopen if not |
#126 seem to have broken part of the registration work flow, making the authentication expire and continuously returning that the clients authentication has expired.
The two clients I am experiencing this issue with has been registered with the "old" machine key workflow, which now seem to be broken due to the new "expiry" logic:
I wonder if there is something here:
https://github.com/juanfont/headscale/blob/main/api.go#L141-L166
But I need to dig a bit deeper to be able to replicate properly.
Hosts added with preauthkey does not seem to be affected.
The text was updated successfully, but these errors were encountered: