From gazorg@gmail.com Sun Apr 9 19:23:42 2017 From: David Krantz To: mailman-users@mailman3.org Subject: [MM3-users] Re: Auth question Date: Sun, 09 Apr 2017 21:23:38 +0200 Message-ID: In-Reply-To: <2da14854-c350-f785-588f-05c5ff60c404@msapiro.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4772903722833881246==" --===============4772903722833881246== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Sat, Apr 1, 2017 at 6:36 PM, Mark Sapiro wrote: > No, I'm using Django 1.9.9. I suppose that means it will quit working if > I upgrade to Django 1.10. > > So, I updated my urls to > > url(r'^$', RedirectView.as_view(url=3Dreverse_lazy('hk_root'))), > > and updated the attached files at > . Very good. That will be helpful. Now everything works for me except the archiver. There I get strange errors where it requires authentication. I _have_ set MAILMAN_ARCHIVER_KEY (in production.py) and api_key in mailman_hyperkitty.conf to the same value within single quotes. This is probably something extremely silly that my jetlagged brain cannot see. [mailman.log] Apr 09 19:10:42 2017 (14388) HyperKitty failure on https://example.com/archives/api/mailman/urls: Auth required

Authorization Required

(401) Apr 09 19:10:44 2017 (14388) HyperKitty failure on https://example.com/archives/api/mailman/urls: Auth required

Authorization Required

(401) Apr 09 19:10:44 2017 (14388) HyperKitty failure on https://example.com/archives/api/mailman/urls: Auth required

Authorization Required

(401) Apr 09 19:10:45 2017 (14383) HyperKitty failure on https://example.com/archives/api/mailman/archive: Auth required

Authorization Required

(401) Apr 09 19:10:45 2017 (14383) Exception in the HyperKitty archiver: Auth required

Authorization Required

Apr 09 19:10:45 2017 (14383) Traceback (most recent call last): File "/opt/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mai= lman_hyperkitty-1.0.2-py3.4.egg/mailman_hyperkitty/__init__.py", line 154, in _archive_message url =3D self._send_message(mlist, msg) File "/opt/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mai= lman_hyperkitty-1.0.2-py3.4.egg/mailman_hyperkitty/__init__.py", line 210, in _send_message raise ValueError(result.text) ValueError: Auth required

Authorization Required

No big deal for me currently, but as I have an archiver I must find out either how to activate it or how to completely remove it. I like having the option, for some kinds of lists archives are useful. Cheers // David --===============4772903722833881246==--