Skip to content

When wrong port in config-headscale.url is set, then key validation error is uninformative #600

Description

@agajdosi

Description

I've been trying to do the first log in to Headplane and I got the following error whole time:
{"level":"error","timestamp":"2026-07-24T21:09:15.186Z","pid":1,"hostname":"a734448d2bda","component":"auth","msg":"Error while validating API key: [object Object]"}

After some digging I've found that the default port in https://github.com/tale/headplane/blob/main/config.example.yaml is 5000, while the Docker examples on Headscale use 8080.

It would be great to have the error message more informative (e.g. Error connecting to Heascale server).
Also the example could use port 8080, or mention that default example port on Headscale is 8080. (I would be happy to make a PR for this docs change.)

Headplane Version

0.7.0

Headscale Version

0.29.3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingConfigRelated to Headplane specific configuration

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions