On 2024-05-01 13:35, Mark Sapiro wrote:
On 4/30/24 17:54, Mark wrote:
In the new installation, are the template.uri (in the mailman DB) records written as http://localhost:8000/... ?
No. In both the installation that worked and the one that didn't, they were https://msapiro.net/..., but I don't think it would have mattered.
When I reinstalled, I kept the same database, I only rebuilt the venv.
As I have said at https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/..., this is all strange. My logs from the failure show the web server getting the request and serving the template with a 200 status and then after 5 seconds which is the specified timeout a requests.exceptions.ReadTimeout error is logged in mailman.log.
The exact same code is executed whether by a rest runner gunicorn worker or via some other Mailman core runner, but only the rest runner fails. Further, a reinstalled venv on the failing server has no error, and another server which has a venv identical to the failing one except for Python micro version also has no error.
I can't begin to understand what the underlying cause might be.
Thank you Mark. I'll give rebuilding venv a crack. In the meantime I've cobbled together a script -- https://postmark.io/scripts/ -- and it's got things going for the moment.
.