Thanks a lot karl.
Only to be sure i understood fin, I don't see radio button in my ManifoldCF 
2.28 version.
When I defined an output connection type=Solr, I have:

[cid:e0663491-4088-4f93-96e6-1055b1450801]

I don't see any radio button.

Am I in the right place?
Thanks a lot

________________________________
Da: Karl Wright
Inviato: Martedì, 01 Aprile, 2025 12:20
A: [email protected]
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.

 
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 
<[email protected]<mailto:[email protected]>> 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 <[email protected]<mailto:[email protected]>>
Inviato: lunedì 31 marzo 2025 19:24
A: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>>
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 
<[email protected]<mailto:[email protected]>> 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_195f0dc5dcecb971f161]

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