Comment by πŸ’Ž pista

=> Re: "Hi from Gem2Browser" | In: u/swee

Is it currently in a working state? I tried installing and am getting what appears to be error related to hypercorn and flask:

[2025-01-17 18:56:02 -0500] [276399] [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'

=> πŸ’Ž pista

Jan 18 Β· 2 days ago

3 Later Comments ↓

=> 😺 swee [OP] · 12 hours ago:

@pista Yes, it is working for me. Weird, I never had an error like this...

I'm currently using Flask version 3.0.2 and hypercorn version 0.14 (provided by Ubuntu)

Update: I made a workflow to test my webserver, it uses the latest Hypercorn & Flask ver, but it seems to work fine

=> β€” ref: Forgejo action runs

=> πŸ’Ž pista Β· 7 hours ago:

That’s probably the problem. My server is on jammy and has the last version of flask.

Ho hum. Guess I need to go ahead with writing my own version in something with easier requirements.

=> 😺 swee [OP] · 5 hours ago:

@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

Original Post

=> 😺 swee

Hi from Gem2Browser β€” I added a feature to my HTTP to Gemini that can load client certs! :3

=> πŸ’¬ 10 comments Β· 1 like Β· Jan 15 Β· 4 days ago

Proxy Information
Original URL
gemini://bbs.geminispace.org/u/pista/23970
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
77.882336 milliseconds
Gemini-to-HTML Time
0.652771 milliseconds

This content has been proxied by September (ba2dc).