ManifoldCF Solr connector is supposed to be able to use basic auth.  But
you have to have the radio button select that in the UI and the credentials
filled in.  If all of that is in place and basic auth is still not working,
then please create a ticket and somebody will need to look at why it's no
longer working as designed.

Karl


On Tue, Apr 1, 2025 at 5:57 AM Bisonti Mario <mario.biso...@vimar.com>
wrote:

> I have tried.
>
> The flow is different, because curl did a http request, i.e. curl --user
> solr:SolrRocks http://
> <http://sengvivv02.vimar.net:8983/solr/admin/info/system>
> solrserverhostname:8983/solr/admin/info/system
> <http://sengvivv02.vimar.net:8983/solr/admin/info/system>
> and an I see with Wireshark the basic authentication, instead, from
> ManifodCF to solr I see TCP request but there is no evdence it'is using
> Basic Authentication.
>
> Can ManifodCF use basic authentication?
> Thanks a lot
>
>
>
> ------------------------------
> *Da:* Karl Wright <daddy...@gmail.com>
> *Inviato:* lunedì 31 marzo 2025 19:24
> *A:* user@manifoldcf.apache.org <user@manifoldcf.apache.org>
> *Oggetto:* Re: Error solr output connection:Threw exception: 'Solr
> authorization failure, code 401: aborting job'
>
>
> *[EXTERNAL MAIL]* La presente e-mail proviene da un sistema esterno a
> Vimar SpA. Presta attenzione al contenuto, e non fare click sui link e/o
> aprire gli allegati tranne nel caso in cui conosci il mittente e
> identifichi il contenuto come valido.
> Perhaps you can try using a sniffer tool like Wireshark?
>
> If you can connect with curl, capture that connection first, then try with
> ManifoldCF.  Compare/contrast to see what the differences are.
>
> Karl
>
>
> On Mon, Mar 31, 2025 at 11:18 AM Bisonti Mario <mario.biso...@vimar.com>
> wrote:
>
> Hi
> I tried to enable basic authentication on my solr server.
>
> I configured basic authentication with the security.json mentioned here:
>
> https://solr.apache.org/guide/solr/9_7/deployment-guide/basic-authentication-plugin.html
>
>
> When i try to login to solr or when I try to use curl with the basic
> authentication, it works.
>
>
> I set username and password on my solr output connection of my ManifoldCF:
>
> but I obtain always the error: "Threw exception: 'Solr authorization
> failure, code 401: aborting job"
>
>
> Could you help me?
> Thanks a lot
>
> Mario
>
>

Reply via email to