You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi - this issue appears a bit like #84 - a unclean reboot has ensured my UI is broken whilst headscale appears to be operating OK. I can see /users however the machines and routing pages do not work.
Here's the logs in debug mode for hitting /machines:
[2024-01-09 17:18:55,746] INFO in helper: All startup checks passed.
[2024-01-09 17:18:55,751] INFO in helper: Testing API key validity.
[2024-01-09 17:18:55,974] INFO in helper: Key check passed.
[2024-01-09 17:18:55,978] INFO in headscale: Getting API key information
[2024-01-09 17:18:56,152] INFO in headscale: Looking for valid API Key...
[2024-01-09 17:18:56,154] INFO in headscale: Key found.
[2024-01-09 17:18:56,158] INFO in renderer: Rendering machine cards
[2024-01-09 17:18:56,159] INFO in headscale: Getting machine information
[2024-01-09 17:18:56,329] ERROR in app: Exception on /machines [GET]
Traceback (most recent call last):
File "/app/.venv/lib/python3.11/site-packages/flask/app.py", line 2190, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.11/site-packages/flask/app.py", line 1486, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.11/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.11/site-packages/flask/app.py", line 1469, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/server.py", line 114, in decorated
return view_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/server.py", line 207, in machines_page
cards = renderer.render_machines_cards()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/renderer.py", line 490, in render_machines_cards
num_threads = len(machines_list["machines"])
~~~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'machines'
[2024-01-09 17:18:56 +0000] [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
For /routes and /overview the same error occurs on the same KeyError of 'machines'.
Hi - this issue appears a bit like #84 - a unclean reboot has ensured my UI is broken whilst headscale appears to be operating OK. I can see /users however the machines and routing pages do not work.
Here's the logs in debug mode for hitting /machines:
For /routes and /overview the same error occurs on the same KeyError of 'machines'.
And here's the routes and machines ls:
Any ideas?
The text was updated successfully, but these errors were encountered: