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<mailto: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:
[cid:ii_195ed3aa33acb971f161]

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