Comment by ๐บ swee
@pista I made an update that requires the manual use of the hypercorn command, you can try using the webserver using `hypercorn --bind=0.0.0.0:2009 server:app` and it should work properly
2025-01-19 ยท 1 year ago
3 Later Comments โ
๐ pista ยท 2025-01-19 at 15:32:
No change really. It's probably the fault of the Python libraries, not you.
[ERROR] Error in ASGI Framework
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/hypercorn/asyncio/task_group.py", line 21, in _handle
await invoke_asgi(app, scope, receive, send)
File "/usr/lib/python3/dist-packages/hypercorn/utils.py", line 242, in invoke_asgi
asgi_instance = app(scope)
TypeError: Flask.__call__() missing 1 required positional argument: 'start_response'
๐บ swee [OP] ยท 2025-01-19 at 19:40:
@pista ugh, who knows what'll fix that than, maybe even using a different ASGI/WSGI framework could fix it, though I only tested the flask app on hypercorn and flask dev mode :p
๐บ swee [OP] ยท 2025-02-17 at 05:35:
@pista Just found out about your problem...
Apparently the hypercorn and flask versions provided by Ubuntu **jammy** and older are outdated and break.
So what I'd recommend you to do is either use venv, use pip, or upgrade to Ubuntu Noble
Original Post
Hi from Gem2Browser โ I added a feature to my HTTP to Gemini that can load client certs! :3