Error adding client
Basti-Fantasti opened this issue · 15 comments
Hi,
I just tried to setup the admin panel for my headscale server.
When I try to log in using a windows client, I'm forwarded to the http site showing the headscale registration info and the node registration in the form
mkey:db769b2097bb1a6c4561067e4b6daeb7ea0fe3670825d123e5bf3ea333d0e666
when I try to add a node and give the registration key as stated above (so mkey:xxx)
I always get this error message:
API connection basically works, I see the configured user on the server...
I'm running the Headscale 0.23 Alpha9 from docker hub
When checking the Legacy API switch in the Settings, I get the following error:
I was able to manually add the node using the servers interface running the docker headscale ... command
headscale nodes register --user xxx --key mkey:db769b2097bb1a6c4561067e4b6daeb7ea0fe3670825d123e5bf3ea333d0e666
Ah yes, ok I will get this fix out ASAP. I know exactly what the problem is, I just haven't released a patch for it as of yet. Thank you! It is basically due to the fact that headscale changed the prefix used when doing the registration via key import. The workaround at this time is to do exactly what you did to register via the command line or to use preauthkeys which do still work.
Thank you! I'll try and get the fix out this weekend :)
Thanks for your quick reply. Awesome that you made out the issue so fast.
Best regards
Bastian
I have a patch in place that I am currently testing and will release as soon as I can! Sorry for the delay.
Alright if you pull from the dev container it should be functional. Let me know if it works for you and I'll close this and push to main later.
Thanks, I'll try it asap and keep you updated.
Where do I see if I'm on the dev branch?
The version tag in the headline is identical on the dev and on the latest branch v0.1.12b
is this correct?
Aha, now it says 0.1.13b-dev in the dev branch.
I'll test again
Awesome! Thanks again for opening this, will have it merged soon.
+1
Which docker tag do I need for this?
+1 Which docker tag do I need for this?
dev
Right so when I put this in my image line, compose has an error saying it was not available…
0.1.13b-dev
Right so when I put this in my image line, compose has an error saying it was not available…
0.1.13b-dev
goodieshq/headscale-admin:dev
Ah, thanks :-)