Isaac Sterckx

Results 8 comments of Isaac Sterckx

Adding following lines to the lighttpd.conf file worked for me to make it IPv6 compatible: ``` server.bind = "0.0.0.0" $SERVER["socket"] == "[::]:8080" { } ``` This is based on lighttpd...

For anyone wondering: there is a fix waiting to be merged https://github.com/pgjones/hypercorn/pull/190 There is a manual fix in the issue @araki-yzrh pointed to https://github.com/pgjones/hypercorn/issues/158#issuecomment-1833873395 I'll close this issue since there...

Hi, I am also struggling with customizing the logging by using a json format. Have you guys been able to work this out? Are there any example using the --log-config...

Pro merging and releasing this for minimizing security vulnerabilities. Love this pluging

Would be disappointing to not get this merged. @jonnenauha anything you need before being able to merge this? Would love to help if there are any issues

Thanks for pointing this out @hmellor. I was am doing something similar but got an "Method Not Allowed" when doing a GET request for http://localhost:8000/metrics. I am using hypercorn but...

I think I found the root cause. It has to do with how FastApi and Starlette (which FastApi is based on) are mounting sub-applications. A metrics sub-application is created as...

Yes, that is exactly the cause. In this client the make_asgi_app() creates a _sub-application_ that is _mounted_ with _app.mount()_ **thus creating a "/metrics" prefix vs an actual route**. While the...