Thanks! Looks resolved however I'm not 100% sure which steps fixed it:
My Steps:
cat /etc/hosts
127.0.1.1 list.louisvillecommunitygrocery.com list
127.0.0.1 localhost
Updated
POSTORIUS_TEMPLATE_BASE_URL = 'http://localhost:8000/'
POSTORIUS_TEMPLATE_BASE_URL = 'https://example.com'
Restarted mailman3 AND mailmanweb service
Updated /etc/mailman3/gunicorn.conf adding workers=9
Restarted mailman3 AND mailmanweb service
Deleted custom template from Postorious
Created new custom template from Postorious
Added test user to list
User was added with no errors and also received the custom Template.
Thanks Mark, Gerald
Bonus question: how should I calculate how many workers I should have on my system?
Thank you, Paul 'Arte Chambers' Robey 502-408-6922
On Wed, Jan 29, 2025 at 2:36 PM <vogt@spamcop.net> wrote:
Sounds somewhat like the problem I have had:
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/M...
The problem for me was that I am using gunicorn but did not increase the
number of workers…
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
This message sent to paul.m.robey@gmail.com Thank you, Paul 'Arte Chambers' Robey 502-408-6922
On Wed, Jan 29, 2025 at 2:54 PM Mark Sapiro <mark@msapiro.net> wrote:
On 1/29/25 11:20, Arte Chambers via Mailman-users wrote:
Ok I did install using the https://docs.mailman3.org/en/latest/install/virtualenv.html
I added
POSTORIUS_TEMPLATE_BASE_URL='https://www.example.com/'
I hope you didn't add the above literally without replacing www.example.com with your actual host name.
It should be
POSTORIUS_TEMPLATE_BASE_URL = 'list.louisvillecommunitygrocery.com'
to /etc/mailman3/settings.py and restarted mailman services
However I'm still getting the same error from mailman.log
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='localhost', port=8000): Read timed out. (read timeout=5)
I don't understand why it should still be trying to connect to localhost:8000. Also, I don't understand why localhost:8000 times out. What is your setting for localhost in /etc/hosts? it should be
127.0.0.1
. If it is::1
that could be the issue.Not sure if I'm editing the correct config file.
/etc/mailman3/settings.py should be correct.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at:
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
This message sent to paul.m.robey@gmail.com