On 4/11/19 12:58 PM, brian@emwd.com wrote:
I have this in the apache2.conf file:
ServerName localhost
I can access the apache default page when using the following:
curl http://localhost.com
OK, so you can get to Apache, but can you proxy to uwsgi? Try
curl http://localhost/mailman3/hyperkitty/api/mailman/archive
or
curl http://mailman3-lists.com/mailman3/hyperkitty/api/mailman/archive
Set base_url in mailman-hyperkitty.cfg to use an acceptable host name instead of localhost or adjust your apache config to accept localhost.
Isn't ServerName enough?
It should be. The error is apparently elsewhere.
This error also appears in the apache log file when new posts are sent to the list:
[Thu Apr 11 19:55:38.755750 2019] [:error] [pid 21370:tid 139988922513152] (32)Broken pipe: [client ::1:49574] sending data to httpd-UDS:0 failed
The broken pipe is apparently from the exception in mailman-hyperkitty and the 'sending data to httpd-UDS:0 failed' is I think a normal response from uwsgi under this circumstance.
I don't know what the issue is, but it is something in the Apache/uwsgi configuration. I note that the client in the above error is an IPv6 loopback address. That may be significant.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan