Hi uwsgi maintiners! I found a minor bug in mod_proxy_uwsgi, which can't access to uwsgi backend with default port(3031). Apache (2.4.25) said following message:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Fri Dec 30 18:35:14.139953 2016] [proxy:error] [pid 56577:tid 34490034176] (49)Can't assign requested address: AH00957: uwsgi: attempt to connect to 127.0.0.1:0 (*) failed - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Because apache (ap_proxy_connect_backend() function) can't find default port of "uwsgi" scheme via apr_uri_port_of_scheme(), so set port number = 0. To fix this issue, always set port number, in this case. See also attached my patch. -- Norikatsu Shigemura <[email protected]>
mod_proxy_uwsgi.c.patch
Description: Binary data
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
