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
mod_proxy_uwsgi port parsing #1491
Comments
|
What broke it was likely this commit With With This comes from proxy_utils.c I tried putting it in a balancer, and I could see :3031 on /balancer-status, so I'm not totally sure this is a bug with mod_proxy_uwsgi itself. |
|
Hi there, Has anything further been discovered about this bug? I'm hitting this exact issue with Apache 2.4 and mod_proxy_uwsgi. Cheers Rob |
|
Any update on this? I'm seeing the same issue with mod_proxy_uwsgi-2.0.17, apache-2.4.23 and uwsgi-2.0.13.1. Thank you. |
|
@tarunkhanna I moved over to asgi/daphne as I couldn't work around this bug. |
|
@froggleston Thanks. There is a bug in the code and the original committer has proposed a solution. This commit seems to have caused the issue. The original committer has proposed a change that should fix it. |
Example usage in apache conf:
ProxyPass "/foo" "unix:/var/run/uwsgi/foo.socket|uwsgi://uwsgi-uds-foo/"
Note: I use uwsgi-uds-foo as hostname instead of localhost because if
you have multiple entrie like these in the same apache conf, apache
thinks it is the same backend even though the unix socket path is
different. So it is mandatory to use different hostnames if you have
multiple app sockets.
Some references:
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752783
- #973
- maybe #912
- #890
Hello,
We faced a bug using mod_proxy_uwsgi when updating from 2.0.12 to 2.0.14 (with httpd 2.4.6).
We configured it to access uwsgi backend with port 3031 (ProxyPass / uwsgi://127.0.0.1:3031/), and it worked in 2.0.12.
But it seems that the configuration is not well parsed in 2.0.14 and we get :
We also saw that this is a known bug : http://lists.unbit.it/pipermail/uwsgi/2016-December/008622.html
We tried to find a fix in https://github.com/unbit/uwsgi, but didn't find anything.
So is there any current or future fix, or a wrong dependency in my configuration (e.g. minimal httpd version)?
Thanks,
The text was updated successfully, but these errors were encountered: