Closed joshuataylor closed 7 months ago
I'm having the same issue but with the CLI. I'm unable to make sense of what was done in previous issue reports to fix that, but I'm getting the issue like this:
Client:
$ tailscale up --login-server https://headscale.example.tld
To authenticate, visit:
https://headscale.example.tld/register/nodekey:xxx
Server:
$ docker-compose exec headscale headscale -u user nodes register --key nodekey:xxx
Cannot register machine: machine not found in registration cache
Having the same issue on a Windows 11 machine.
Start Tailscale App - Browser opens with the content:
"Machine Registration
Run the command below in the headscale sever to add this machine to your network"
headscale nodes register --user USERNAME --key nodekey:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Ran on headscale server, and get the response:
Cannot register machine: machine not found in registration cache
No idea what to try.
This issue is stale because it has been open for 90 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
When using the HTTP API, you can't register a machine, I think it's because I'm logged out. This issue has appeared in the past : https://github.com/juanfont/headscale/issues/749 https://github.com/juanfont/headscale/pull/754
The error is "Cannot register machine: machine not found in registration cache".
gRPC & the CLI seems to work fine.
To Reproduce
curl:
The logs for GRPC shows this, when I do
tailscale up
:If using HTTP: