Public bug reported: Mailman 2.1.25's login based pages (private archives, admin page, etc.) don't work with uwsgi (uwsgi times out printing a "invalid CGI response !!!" error). Downgrading to 2.1.24 fixes this issue (I can again log in and uwsgi doesn't reply with the "invalid CGI response !!!" message).
I'm on Arch Linux trying to use mailman 2.1.25 with uwsgi 2.0.15 through nginx 1.12.2. I've also opened a downstream bug there [1]. For completeness I will attach the same log files as in the aforementioned bug report. The uwsgi configuration in use for mailman is pretty straight forward: `` [uwsgi] procname-master = mailman master = true plugins = cgi socket = /run/uwsgi/%n.sock stats = /run/uwsgi/%n-stats.sock processes = 1 threads = 2 cheaper-step = 1 idle = 120 die-on-idle = true uid = http gid = http cgi = /=/usr/lib/mailman/cgi-bin cgi-index = listinfo `` Nginx fronts the application server and redirects to a unix socket, which in turn starts a systemd service. More info on the setup can be found on my website [2]. `` [Unit] Description=uWSGI service unit After=syslog.target [Service] ExecStart=/usr/bin/uwsgi --ini /etc/uwsgi/%I.ini Type=notify SuccessExitStatus=15 17 29 30 StandardError=syslog NotifyAccess=all KillSignal=SIGQUIT PrivateDevices=yes PrivateTmp=yes ProtectSystem=full ReadWriteDirectories=/etc/webapps ProtectHome=yes [Install] WantedBy=multi-user.target `` `` [Unit] Description=Socket for uWSGI %I [Socket] ListenStream=/run/uwsgi/%I.sock [Install] WantedBy=sockets.target `` [1] https://bugs.archlinux.org/task/56865 [2] https://sleepmap.de/2016/securely-serving-webapps-using-uwsgi/ ** Affects: mailman Importance: Undecided Status: New ** Tags: nginx uwsgi ** Attachment added: "uwsgi log for mailman" https://bugs.launchpad.net/bugs/1744739/+attachment/5041051/+files/uwsgi-mailman.txt -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1744739 Title: 2.1.25 login based pages not working with uwsgi To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1744739/+subscriptions _______________________________________________ Mailman-coders mailing list [email protected] https://mail.python.org/mailman/listinfo/mailman-coders
