Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve documentation to explain how to create an API key and save it in the settings #20

Closed
pageb018 opened this issue Aug 3, 2022 · 5 comments · Fixed by #61
Closed
Labels
documentation Improvements or additions to documentation

Comments

@pageb018
Copy link

pageb018 commented Aug 3, 2022

Trying to stand this up and am not able to connect ui to headscale. Receiving the following in log out

headscale | 2022-08-03T14:06:35Z ERR go/src/headscale/app.go:348 > missing "Bearer " prefix in "Authorization" header client_address=172.27.0.1:34438

Maybe this has to do with my nginx proxy settings, but am not sure.

Not sure how to process, any ideas?

@routerino
Copy link
Contributor

Missing bearer prefix means that the API key is either missing or malformed. Have you generated an API key in headscale and saved it to your settings? If so, there may be a problem with your proxy config.

@routerino
Copy link
Contributor

closing unless/until problem can be recreated.

@Sloth-on-meth
Copy link

same error here, even though api key is created and shows up when i list them

@routerino
Copy link
Contributor

routerino commented Aug 19, 2022

what browser and version of headscale are you using? Did you actually copy the API key to the headscale UI settings and save?

@routerino routerino reopened this Aug 19, 2022
@routerino routerino added bug Something isn't working further information required Problem cannot be recreated or needs more information to diagnose labels Aug 19, 2022
@routerino routerino changed the title Missing "Bearer" prefix in "Authorization" header Improve documentation to explain how to create an API key and save it in the settings Aug 20, 2022
@routerino routerino added documentation Improvements or additions to documentation and removed bug Something isn't working further information required Problem cannot be recreated or needs more information to diagnose labels Aug 20, 2022
@routerino routerino added this to the Next Release milestone Aug 20, 2022
@routerino
Copy link
Contributor

When updating the documentation, also add the tooltip explaning localStorage back to "save api key", as it got lost when shuffling around the button settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
3 participants