dovecot fts-solr + solr 8.7.0 upgrade: "Indexing failed: 401 Unauthorized" + "Transaction commit failed: FTS transaction commit failed: backend deinit" ?

John Fawcett john at voipsupport.it
Fri Nov 13 23:30:37 EET 2020


On 13/11/2020 22:04, PGNet Dev wrote:
>> I guess you didn't need to enclose username and password in quotes, i.e.
>>
>> fts_solr =
>> url=https://myuser:my%40pass@solr.example.com:8984/solr/dovecot/
>> use_libfts soft_commit=yes batch_size=250
>
> On 11/13/20 12:56 PM, John Fawcett wrote:
>
>> I guess you didn't need to enclose username and password in quotes, i.e.
>
>>
>
>> fts_solr =
>
>> url=https://myuser:my%40pass@solr.example.com:8984/solr/dovecot/
>
>> use_libfts soft_commit=yes batch_size=250
>
>
> heh, quotes weren't the 1st thing I tried!
>
>
>
> here, use of the the '%40' encoding -- with or without single or dubl
> quotes -- causes the perms errors I was seeing.
>
>
>
> nbd, as I just rm need-to-escape chars from my random-pass-str
> generator snippet.
>
>
>
> simple enough workaround, once I realized ...
>
>
>
>
>
it looks like there's a parsing error so that rfc3986 compliant
%encoding in the user or password field of the url is not accepted by
Dovecot.

John



More information about the dovecot mailing list