Comments (3)
Try to go into the container (e.g docker exec -it <name> /bin/sh
) and then use wget/ping to test the connect between ui and HS_SERVER
In my case, I set docker http proxy in both ~/.docker
and in systemd. This prevents the ui to connect the HS_SERVER.
Hope it helps
from headscale-webui.
I have the same issue, tried to add container name + port, host adress + port, nothing helped.
Also when I'm trying access webui i have this in logs:
[2023-09-11 17:15:04 +0200] [8] [ERROR] Error handling request /
Traceback (most recent call last):
File "/app/.venv/lib/python3.11/site-packages/gunicorn/workers/sync.py", line 136, in handle
self.handle_request(listener, req, client, addr)
File "/app/.venv/lib/python3.11/site-packages/gunicorn/workers/sync.py", line 169, in handle_request
resp, environ = wsgi.create(req, client, addr,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.11/site-packages/gunicorn/http/wsgi.py", line 183, in create
path_info = path_info.split(script_name, 1)[1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
[2023-09-11 17:15:04 +0200] [8] [ERROR] Error handling request /favicon.ico
Traceback (most recent call last):
File "/app/.venv/lib/python3.11/site-packages/gunicorn/workers/sync.py", line 136, in handle
self.handle_request(listener, req, client, addr)
File "/app/.venv/lib/python3.11/site-packages/gunicorn/workers/sync.py", line 169, in handle_request
resp, environ = wsgi.create(req, client, addr,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.11/site-packages/gunicorn/http/wsgi.py", line 183, in create
path_info = path_info.split(script_name, 1)[1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
I've tried connect to headscale container from inside of headscale-webui using both wget and ping which wasn't successful becasue ping is limited for root user (which is prevented inside container), but wget returns 404 which I think is ok because headscale has no web interface
from headscale-webui.
Hi everybody. I had the same issues.
This worked for me:
First ensure the file rights for docker volume: chown -R 1000:1000 /<directory mapped in docker-compose>
.
This should get rid of the message from @demanuPL.
Second ensure both containers are in the same network and can see each other as @SaigyoujiYuyuko233 wrote. A 404 return is a good sign (server is responding). In my case, only a wget on the local docker IP worked successfully (you find the ip with docker inspect <container_name>
).
After replacing the HS_SERVER environment var with the docker IP the webui is accessible.
When the webui container startup, it halts at Loading basic auth libraries and configuring app
, but the webUI on http://host:port works as excepted and the API key from your HS server can be added.
Hope it helps.
from headscale-webui.
Related Issues (20)
- Setup with the Linux bare metal installation of Headscale? HOT 8
- Encountered the following error after deploying with docker HOT 3
- IndexError when trying to load front page HOT 2
- [Q+A] How to handle 100+ groups +1?
- Historic values from routing list are still clickable
- Exception when opening pages that loads preauthkeys from Headscale HOT 3
- Assigning Tags in webui does not apply
- OIDC KeyCloak => can't logout
- Incorrect terminal display
- OIDC return http not https address HOT 1
- OIDC server does not support profile
- Rename Machine to Node
- Documentation question HOT 1
- docker running error:SSL: CERTIFICATE_VERIFY_FAILED
- Could you setup a way to sponsor this project?
- WebUI Internal Server Error: HOT 3
- Gunicorn Worker Timeout HOT 2
- Problems with HAproxy reverse
- What are the specific functions of Ephemeral in PreAuthKey HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from headscale-webui.