Headplane/headscale behind npmplus cannot authorize api key #298
Replies: 3 comments
-
Having the exact same problem! Can not login into the admin page of headplane using URL with subdomain or IP, nothing works!
Anyone found a solution? |
Beta Was this translation helpful? Give feedback.
-
I had the same issue, to resolve it in the headplane config I had to set the "URL" entry to the address for headscale server.
It solved your issue but still leaves me with the error authenticating token from @Fordwrench |
Beta Was this translation helpful? Give feedback.
-
Unfortunately I can't really say much, do debug logs give you any other information? I know with tokens its entirely related to CORS and when running in a reverse proxy, websites make it very silly. Other things are to make sure |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I have headscale/headplane behind nginx proxy manager. I am running it in a debain 12 lxc with docker. I cannot validate api key. I get the following error in headplane logs.
Error while validating API key: SyntaxError: Unexpected token '<', "
<h"... is not valid JSON
https://pastebin.com/73YJPuwT - docker compose yaml
https://pastebin.com/CFKXtW8R - headplane config
https://pastebin.com/Ud6P8MTx - headscale config
Headplane Version
0.6.0
Headscale Version
0.26.0
Beta Was this translation helpful? Give feedback.
All reactions