Hi
Hello
Hello
Hello
Hello
Hello Hello! How How can can I I help help you you today today?? If If you you have have any any questions questions or or topics topics you you''dd like like me me to to write write about about,, feel feel free free to to ask ask.. I I''mm here here to to provide provide information information and and answer answer any any queries you you might might have have.. Let Let me me know know if if there there is something something specific specific you you need need assistance assistance with with!!
ERROR in headscale: Could not find a valid key in Headscale. Need a new API key.
headscale-webui | [2025-06-28 13:30:01,398] ERROR in app: Exception on / [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 141, in overview_page
headscale-webui | pass_checks = str(helper.load_checks())
headscale-webui | ^^^^^^^^^^^^^^^^^^^^
headscale-webui | File "/app/helper.py", line 301, in load_checks
headscale-webui | if not key_check(): return 'settings_page'
headscale-webui | ^^^^^^^^^^^
headscale-webui | File "/app/helper.py", line 71, in key_check
headscale-webui | headscale.renew_api_key(url, api_key)
headscale-webui | File "/app/headscale.py", line 104, in renew_api_key
headscale-webui | expiration_time = key_info["expiration"]
headscale-webui | ~~~~~~~~^^^^^^^^^^^^^^
headscale-webui | TypeError: string indices must be integers, not 'str'
headscale-webui | [2025-06-28 13:30:03,080] INFO in helper: All startup checks passed.
headscale-webui | [2025-06-28 13:30:03,081] INFO in helper: Testing API key validity.
headscale-webui | [2025-06-28 13:30:03,201] INFO in helper: Key check passed.
headscale-webui | [2025-06-28 13:30:03,201] INFO in headscale: Getting API key information
headscale-webui | [2025-06-28 13:30:03,320] INFO in headscale: Looking for valid API Key...
headscale-webui | [2025-06-28 13:30:03,320] ERROR in headscale: Could not find a valid key in Headscale. Need a new API key.
headscale-webui | [2025-06-28 13:30:03,321] ERROR in app: Exception on / [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 141, in overview_page
headscale-webui | pass_checks = str(helper.load_checks())
headscale-webui | ^^^^^^^^^^^^^^^^^^^^
headscale-webui | File "/app/helper.py", line 301, in load_checks
headscale-webui | if not key_check(): return 'settings_page'
headscale-webui | ^^^^^^^^^^^
headscale-webui | File "/app/helper.py", line 71, in key_check
headscale-webui | headscale.renew_api_key(url, api_key)
headscale-webui | File "/app/headscale.py", line 104, in renew_api_key
headscale-webui | expiration_time = key_info["expiration"]
headscale-webui | ~~~~~~~~^^^^^^^^^^^^^^
headscale-webui | TypeError: string indices must be integers, not 'str'
headscale-webui | [2025-06-28 13:30:03 -0400] [8] [ERROR] Error handling request /favicon.ico
headscale-webui | Traceback (most recent call last):
headscale-webui | File "/app/.venv/lib/python3.11/site-packages/gunicorn/workers/sync.py", line 136, in handle
headscale-webui | self.handle_request(listener, req, client, addr)
headscale-webui | File "/app/.venv/lib/python3.11/site-packages/gunicorn/workers/sync.py", line 169, in handle_request
headscale-webui | resp, environ = wsgi.create(req, client, addr,
headscale-webui | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
headscale-webui | File "/app/.venv/lib/python3.11/site-packages/gunicorn/http/wsgi.py", line 183, in create
headscale-webui | path_info = path_info.split(script_name, 1)[1]
headscale-webui | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
headscale-webui | IndexError: list index out of range
Hello there
Hi! How can I help you today? If you have any questions or topics in mind, feel free to ask and I'll do my best to provide accurate and helpful information. Let me know if there is a specific programming language, concept or problem you would like assistance with!
If you just want to chat about something random or share some thoughts, I'm here for that too. Let me know what's on your mind! 😊