Skip to content

Not able to make the ui talk to headscale server #172

@simtcrom

Description

@simtcrom

My setup is,

headscale server running on a linux server.
I verified that I can make external network clients connect to it using tailscale client.
API key is generated.
I verified that API key is working by running a sample curl command as below
curl -k -X 'GET' -H "Authorization: Bearer xxxxx" -H 'accept: application/json' 'https://myhost:port/api/v1/node'

I built headscale-ui code using npm run build and placed he build folder contents under /var/www/html/web/ folder
I can access the headscale-ui using http://myhost:port/web
Basically headscale ui is hosted on the same server where headscale is running/

In the settings tab entered Headscale URL as https://myhost:port and Headscale API Key as the one I earlier tested.
When I click Test Server Settings button, the green mark not turning green,
Any thoughts?

Below is what chrome developer tools shows when I click Test Server Settings button,

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    answeredquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions