2015-06-01 12:27 GMT+03:00 Aurelien Bompard <aurel...@bompard.org>: > That's Mailman core trying to talk to HyperKitty over http to get the > list archives URL. The URL it's trying to reach is set in the > "deployment/mailman-hyperkitty.cfg". > My guess is that you need to update it because if HyperKitty is > running under Apache, the port is no longer 8000, it's 80 (so you can > remove it from the URL). > If that's the problem, I'll update the README file.
Thanks, Aurelien. I tried two variants in mailman-hyperkitty.cfg: base_url: http://127.0.0.1/archives ---------- Jun 01 21:15:55 2015 (17357) held message approved, message-id: <CAMrrXbrjXySQCuW21zOSMrV=hfypqoddx95jm-kexzqidcs...@mail.gmail.com> Jun 01 21:15:55 2015 (17357) 127.0.0.1 - - "POST /3.0/lists/t...@domain.tld/held/6 HTTP/1.1" 204 0 Jun 01 21:15:56 2015 (17364) HyperKitty failure on http://127.0.0.1/archives/api/mailman/urls: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /archives/api/mailman/urls was not found on this server.</p> </body></html> (404) Jun 01 21:15:56 2015 (17364) HyperKitty failure on http://127.0.0.1/archives/api/mailman/urls: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /archives/api/mailman/urls was not found on this server.</p> </body></html> (404) Jun 01 21:15:56 2015 (17365) HyperKitty failure on http://127.0.0.1/archives/api/mailman/archive: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /archives/api/mailman/archive was not found on this server.</p> </body></html> (404) Jun 01 21:15:56 2015 (17365) Broken archiver: hyperkitty Traceback (most recent call last): File "/usr/local/src/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/runners/archive.py", line 107, in _dispose archiver.system_archiver.archive_message(mlist, msg_copy) File "/usr/local/src/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman_hyperkitty/__init__.py", line 132, in archive_message raise ValueError(result.text) ValueError: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /archives/api/mailman/archive was not found on this server.</p> </body></html> ---------- base_url: http://lists.domain.tld/archives ---------- Jun 01 21:09:54 2015 (17357) held message approved, message-id: <camrrxbqtf2d-5babmq3dmvh34xwuksaqkdtkotzwmvtb5dd...@mail.gmail.com> Jun 01 21:09:54 2015 (17357) 127.0.0.1 - - "POST /3.0/lists/t...@domain.tld/held/5 HTTP/1.1" 204 0 Jun 01 21:09:55 2015 (17357) 127.0.0.1 - - "GET /3.0/lists/test.domain.tld HTTP/1.1" 200 303 Jun 01 21:09:55 2015 (17357) 127.0.0.1 - - "GET /3.0/lists/t...@domain.tld/held HTTP/1.1" 200 90 Jun 01 21:09:55 2015 (17364) HyperKitty failure on http://lists.domain.tld/archives/api/mailman/urls: <html><title>Forbidden</title><body> <h1>Access is forbidden</h1></body></html> (403) Jun 01 21:09:55 2015 (17364) HyperKitty failure on http://lists.domain.tld/archives/api/mailman/urls: <html><title>Forbidden</title><body> <h1>Access is forbidden</h1></body></html> (403) Jun 01 21:09:56 2015 (17365) HyperKitty failure on http://lists.domain.tld/archives/api/mailman/archive: <html><title>Forbidden</title><body> <h1>Access is forbidden</h1></body></html> (403) Jun 01 21:09:56 2015 (17365) Broken archiver: hyperkitty Traceback (most recent call last): File "/usr/local/src/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/runners/archive.py", line 107, in _dispose archiver.system_archiver.archive_message(mlist, msg_copy) File "/usr/local/src/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman_hyperkitty/__init__.py", line 132, in archive_message raise ValueError(result.text) ValueError: <html><title>Forbidden</title><body> <h1>Access is forbidden</h1></body></html> ---------- Probably last one is because of misconfiguration of api_key: SecretArchiverAPIKey ? What should I put here? Danil _______________________________________________ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9