HTTP API error with BASIC Auth Header

We are using Indico 2.1.9.

Now, we are facing this:

Is it fixed in Indico 2.2 ?
Or is there fix plan in future release ?

It may or may not have been fixed by the usual updates of our dependencies that are included with new releases. So you’ll have to try it. In any case, you can safely ignore that error (and maybe disable error emails). But updating to 2.2 is strongly recommended anyway, as 2.1 isn’t actively supported anymore…

FWIW, I couldn’t reproduce the error on my locally dev instance, but looking at the other thread again, I also don’t see how this could ever happen in the first place - nothing in request.headers should be a dict, since headers are always strings…

Thank you for your reply.
We will consider to try new release, for fixing the error and getting active support.

( FYI ) The way of reproduction the error forcibly :

  1. Set BASIC auth in your Indico (*).
  2. Access some event after pass BASIC auth.
  3. Click ‘Export to iCal’
  4. Access ‘Permanent link’
  5. It is reproduced !

(*) You can use <LocationMathc ~> in your httpd settings like this:

<LocationMatch "^/">
    AuthType Basic
    AuthName "TEST"
    AuthUserFile /path/to/.htpasswd
    Require user test
</LocationMatch>