Giter Site home page Giter Site logo

Comments (4)

routerino avatar routerino commented on May 26, 2024

you're connecting on 6060 and on http. 6060 is not a standard https port. Are you sure CORS is configured correctly? If you're using a reverse proxy there is no reason to connect on port 6060.

from headscale-ui.

MilkTeaNo7 avatar MilkTeaNo7 commented on May 26, 2024

您正在连接 6060 和 http。6060 不是标准的 https 端口。您确定 CORS 配置正确吗?如果您使用的是反向代理,则没有理由连接到端口 6060。

  1. I need to organize my thoughts and update my new findings
  2. At present, open the settings page of headscale-ui, if you only enter the Headscale API Key, but do not enter the Headscale URL, and then click SaveAPI, it will indicate that the connection is successful, if you enter the Headscale URL, the connection will fail,it's a little weird

For the Headscale server, I did not use a reverse proxy. Currently, I use the domain name + port to access, such as https://google.com:6060/windows, which can be accessed normally.
For my current problem, does it have to be achieved using a reverse proxy, something like this? vpn.google.com? ?

Thank you for your help

from headscale-ui.

routerino avatar routerino commented on May 26, 2024

您正在连接 6060 和 http。6060 不是标准的 https 端口。您确定 CORS 配置正确吗?如果您使用的是反向代理,则没有理由连接到端口 6060。

  1. I need to organize my thoughts and update my new findings
  2. At present, open the settings page of headscale-ui, if you only enter the Headscale API Key, but do not enter the Headscale URL, and then click SaveAPI, it will indicate that the connection is successful, if you enter the Headscale URL, the connection will fail,it's a little weird

For the Headscale server, I did not use a reverse proxy. Currently, I use the domain name + port to access, such as https://google.com:6060/windows, which can be accessed normally. For my current problem, does it have to be achieved using a reverse proxy, something like this? vpn.google.com? ?

Thank you for your help

from the front page:

Errors related to "Missing Bearer Prefix"
Your API key is not saved. Create an API key in headscale (via command line) with headscale apikeys create or docker exec headscale apikeys create and save it in settings.

Alternatively, you haven't fixed your domain. HS-UI has to be ran on the same subdomain or you need to configure CORS. Yes you need to use a reverse proxy to do this. Use a reverse proxy.

from headscale-ui.

routerino avatar routerino commented on May 26, 2024

closing as question has been answered

from headscale-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.