headplane icon indicating copy to clipboard operation
headplane copied to clipboard

Manages Auth Keys fails

Open losthorizon84 opened this issue 1 year ago • 5 comments

Description

Unexpected server error (500) when I try to create a new auth key. Endpoint:

settings/auth-keys.data

Headplane Version

v.0.5.8

Headscale Version

latest

losthorizon84 avatar Apr 03 '25 19:04 losthorizon84

@losthorizon84 you are using OIDC correct. Are any of the users in your database set with empty names (user.name)? That seems to be causing the issue.

tale avatar Apr 03 '25 20:04 tale

The user names are ok. Before upgrading I had 2 users and now 3

losthorizon84 avatar Apr 03 '25 20:04 losthorizon84

Can you please send logs with your error.

tale avatar Apr 03 '25 20:04 tale

OK. I removed old users and now is ok. I think that old users were created without new properties, weren't they?

losthorizon84 avatar Apr 03 '25 20:04 losthorizon84

Yes that is likely the case. But it shouldn't have affected the pre-auth keys page. Thank you for clearing this up though, I will close this for now.

tale avatar Apr 03 '25 20:04 tale