-
Notifications
You must be signed in to change notification settings - Fork 68
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
Internal Server Error on "machines" #134
Comments
I can see headcale server has changed api to "/api/v1/node/" instead of "/api/v1/machine/" can this will fix it : #127 |
Hi
|
Not sure if this is related to my issue, but I'm getting the same error but this is my log I went into the shell of headscale-webui and
PS: headscale core works fine though. this error only happens when i do headscale.domain.com/admin My dockercompose file
|
fix: #131 |
Hi
When clock on "machines" I get an "Internal Server Error", logs:
headscale-webui | [2024-01-28 09:45:42,035] INFO in helper: All startup checks passed.
headscale-webui | [2024-01-28 09:45:42,036] INFO in helper: Testing API key validity.
headscale-webui | [2024-01-28 09:45:42,256] INFO in helper: Key check passed.
headscale-webui | [2024-01-28 09:45:42,256] INFO in headscale: Getting API key information
headscale-webui | [2024-01-28 09:45:42,498] INFO in headscale: Looking for valid API Key...
headscale-webui | [2024-01-28 09:45:42,498] INFO in headscale: Key found.
headscale-webui | [2024-01-28 09:45:42,498] INFO in renderer: Rendering machine cards
headscale-webui | [2024-01-28 09:45:42,499] INFO in headscale: Getting machine information
headscale-webui | [2024-01-28 09:45:42,655] ERROR in app: Exception on /machines [GET]
headscale-webui | Traceback (most recent call last):
headscale-webui | File "/app/.venv/lib/python3.11/site-packages/flask/app.py", line 2190, in wsgi_app
headscale-webui | response = self.full_dispatch_request()
headscale-webui | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
headscale-webui | File "/app/.venv/lib/python3.11/site-packages/flask/app.py", line 1486, in full_dispatch_request
headscale-webui | rv = self.handle_user_exception(e)
headscale-webui | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
headscale-webui | File "/app/.venv/lib/python3.11/site-packages/flask/app.py", line 1484, in full_dispatch_request
headscale-webui | rv = self.dispatch_request()
headscale-webui | ^^^^^^^^^^^^^^^^^^^^^^^
headscale-webui | File "/app/.venv/lib/python3.11/site-packages/flask/app.py", line 1469, in dispatch_request
headscale-webui | return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
headscale-webui | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
headscale-webui | File "/app/server.py", line 114, in decorated
headscale-webui | return view_func(*args, **kwargs)
headscale-webui | ^^^^^^^^^^^^^^^^^^^^^^^^^^
headscale-webui | File "/app/server.py", line 207, in machines_page
headscale-webui | cards = renderer.render_machines_cards()
headscale-webui | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
headscale-webui | File "/app/renderer.py", line 490, in render_machines_cards
headscale-webui | num_threads = len(machines_list["machines"])
headscale-webui | ~~~~~~~~~~~~~^^^^^^^^^^^^
headscale-webui | KeyError: 'machines'
The text was updated successfully, but these errors were encountered: