On 2024-04-28 01:32, Mark Sapiro wrote:
I also note that this timeout only occurs when it is a subscription via REST. I.e. subscription via email or
mailman addmembers
sends the proper welcome message.So it has something to do with the retrieval being done by a rest runner, but I still don't know what the underlying issue is.
I created a text file as a custom welcome message and chowned it to mailman:mailman, then edited the database record (template.uri) from
http://localhost:8000/mailman3/api/templates/list/mytestlist.mydomain.com/li... TO file:///home/mark/welcome.txt
This delivered the custom welcome message to the user when subscribed via Mass Subscribe.
I'm not sure what this tells me other than a call can be made to a file but not the database.
More strangeness. I've now done a test on one of the production servers I manage, and there is no error. Both the production server and the development server are running the identical Mailman code installed in a venv, they both have the same version of urllib3 and similar Python versions, 3.9.16 on the development server and 3.9.10 on the production server. Both servers are running under Ubuntu 20.04.6. The only other difference I see is on the production server everything runs as user mailman and on the development server everything runs as user mark.
Mine is Debian 12 with Python 3.11.2. Could a newer Python version really cause this amount of grief?