Skip to content
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

Error Internal Server Error when running run gunicorn -b 0.0.0.0:8989 server:app,I run it on baremetal, Use Poetry version 1.8.3 and Python 3.12.3 #141

Open
akbarabdullah1989 opened this issue Jun 3, 2024 · 0 comments

Comments

@akbarabdullah1989
Copy link

[2024-06-03 13:57:23,077] INFO in server: Headscale-WebUI Version: /
[2024-06-03 13:57:23,078] INFO in server: LOG LEVEL SET TO DEBUG
[2024-06-03 13:57:23,078] INFO in server: DEBUG STATE: True
[2024-06-03 13:57:23,078] INFO in server: Loading basic auth libraries and configuring app...
[2024-06-03 13:57:38 +0700] [356491] [ERROR] Error handling request /
Traceback (most recent call last):
File "/root/.cache/pypoetry/virtualenvs/headscale-webui-g4u63KAj-py3.12/lib/python3.12/site-packages/gunicorn/workers/sync.py", line 136, in handle
self.handle_request(listener, req, client, addr)
File "/root/.cache/pypoetry/virtualenvs/headscale-webui-g4u63KAj-py3.12/lib/python3.12/site-packages/gunicorn/workers/sync.py", line 169, in handle_request
resp, environ = wsgi.create(req, client, addr,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.cache/pypoetry/virtualenvs/headscale-webui-g4u63KAj-py3.12/lib/python3.12/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

Output results when accessing using a web browser

          Internal Server Error
@akbarabdullah1989 akbarabdullah1989 changed the title Error when running run gunicorn -b 0.0.0.0:8989 server:app, I Use Poetry version 1.8.3 and Python 3.12.3 Error Internal Server Error when running run gunicorn -b 0.0.0.0:8989 server:app,I run it on baremetal, Use Poetry version 1.8.3 and Python 3.12.3 Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant