Got it in one! I had put "www.LISTDOMAIN.org/archive" in as the base URL in mailman-hyperkitty.cfg. No such host exists. Replaced with "LISTDOMAIN.org/archive" and all is well!
Thanks!!!
To the contributing community: would there be a way to enhance the logging of this error to include the resource that failed to connect?
Thanks.
-- Stephen Daniel
On Thu, Jan 6, 2022 at 5:15 PM Mark Sapiro <mark@msapiro.net> wrote:
On 1/6/22 12:12 PM, Stephen Daniel wrote:
I have two problems. One is with getting list mail out of GCP. I am working on that. The issue I don't know how to address is a problem with hyperkitty. Nothing is being archived. When I send an email through my test list, this message shows up in the mailman log:
Jan 04 11:57:26 2022 (806) Exception in "hyperkitty" archiver
Traceback (most recent call last):
File "/opt/mailman/mm/venv/lib/python3.7/site-packages/urllib3/connection.py", line 175, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File
"/opt/mailman/mm/venv/lib/python3.7/site-packages/urllib3/util/connection.py",
line 73, in create_connection
for res in socket.getaddrinfo(host, port, family,
socket.SOCK_STREAM):
File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto,
flags):
socket.gaierror: [Errno -2] Name or service not known
This triggers a bunch more tracebacks.
Then I get this:
Jan 04 11:57:27 2022 (797) Connection to HyperKitty failed: HTTPSConnectionPool(host='www.XXXXX.dev <http://www.xxxxx.dev/>', port=443): Max retries exceeded with url: /archives/api/mailman/archive (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f2114e14e10>: Failed to establish a new connection: [Errno -2] Name or service not known'))
What is your setting for base_url: in mailman-hyperkitty.cfg?. Can you get
wget -O- xxx
where xxx is base_url with
api/
appended. This should return an html page of API documentation.If your base_url: seems good and its scheme is
https
, try changing it tohttp
.-- 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/