Open maddie opened 1 year ago
Are these pre-auth keys or headscale API keys?
I think the error is with an API key that doesn't expire maybe?
Do you get an error on the Settings page when testing the key?
I think it's preauthkeys, I've only generated my first API key when installing the webui.
Key testing works fine, Routes
and Machines
page works too.
After manually UPDATE
-ing the row with null
expiration
field in postgres
, it works now.
It seems the newer Headscale doesn't allow creating pre-auth keys without expiration anymore, the database I'm using was created by a very ancient version of Headscale, so maybe that's why.
Here's the exception:
I suspect that the reason is I have a pre-auth key without an expiration date: