You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@manifoldcf.apache.org by Marisol Redondo <ma...@gmail.com> on 2023/06/07 11:23:38 UTC

Solr connector authentication issue

Hi,

We are using Solr 8 with basic authentication, and when checking the output
connection I'm getting an Exception "Solr authorization failure, code 401:
aborting job"

The solr type is Solrcloud, as we have 3 server (installed in AWS
Kubernette containers), I have set the user ID and password in the Sever
tab and can connect to Zookeeper and solr, as, if I unchecked the option
"Bock anonymous request", the connector is working.

How can I make the connection working? I can't unchecked the "Block
anonymous request"
Am I missing any other configuration?
Is there any other place where I have to set the user and password?

Thanks
    Marisol

R: web crawler https

Posted by Bisonti Mario <Ma...@vimar.com>.
Thanks a lot Karl!
I uploaded ssl certificate and flag on “always trust” and it works

Mario


Da: Karl Wright <da...@gmail.com>
Inviato: lunedì 25 settembre 2023 20:41
A: user@manifoldcf.apache.org
Oggetto: Re: web crawler https

See this article:

https://stackoverflow.com/questions/6784463/error-trustanchors-parameter-must-be-non-empty

ManifoldCF web crawler configuration allows you to drop certs into a local trust store for the connection.  You need to either do that (adding whatever certificate authority cert you think might be missing), or by checking the "trust https" checkbox.

You can generally debug what certs a site might need by trying to fetch a page with curl and using verbose debug mode.

Karl


On Mon, Sep 25, 2023 at 10:48 AM Bisonti Mario <Ma...@vimar.com>> wrote:
Hi,
I would like to try indexing a Wordpress internal site.
I tried to configure Repository Web, Job with seeds but I always obtain:

WARN 2023-09-25T16:31:50,905 (Worker thread '4') - Service interruption reported for job 1695649924581 connection 'Wp': IO exception (javax.net.ssl.SSLException)reading header: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

How could I solve?
Thanks a lot
Mario

Re: web crawler https

Posted by Karl Wright <da...@gmail.com>.
See this article:

https://stackoverflow.com/questions/6784463/error-trustanchors-parameter-must-be-non-empty

ManifoldCF web crawler configuration allows you to drop certs into a local
trust store for the connection.  You need to either do that (adding
whatever certificate authority cert you think might be missing), or by
checking the "trust https" checkbox.

You can generally debug what certs a site might need by trying to fetch a
page with curl and using verbose debug mode.

Karl


On Mon, Sep 25, 2023 at 10:48 AM Bisonti Mario <Ma...@vimar.com>
wrote:

> Hi,
>
> I would like to try indexing a Wordpress internal site.
>
> I tried to configure Repository Web, Job with seeds but I always obtain:
>
>
>
> WARN 2023-09-25T16:31:50,905 (Worker thread '4') - Service interruption
> reported for job 1695649924581 connection 'Wp': IO exception
> (javax.net.ssl.SSLException)reading header: Unexpected error:
> java.security.InvalidAlgorithmParameterException: the trustAnchors
> parameter must be non-empty
>
>
>
> How could I solve?
>
> Thanks a lot
>
> Mario
>
>

web crawler https

Posted by Bisonti Mario <Ma...@vimar.com>.
Hi,
I would like to try indexing a Wordpress internal site.
I tried to configure Repository Web, Job with seeds but I always obtain:

WARN 2023-09-25T16:31:50,905 (Worker thread '4') - Service interruption reported for job 1695649924581 connection 'Wp': IO exception (javax.net.ssl.SSLException)reading header: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

How could I solve?
Thanks a lot
Mario

Re: Documentation issue?

Posted by Piergiorgio Lucidi <pi...@apache.org>.
Hi Mario,

it is solved now, I can access the page correctly.
We have migrated the website using the brand new GitHub repo.

Thank you for contacting us.

Cheers,
PG

Il giorno gio 14 set 2023 alle ore 09:22 Bisonti Mario
<Ma...@vimar.com> ha scritto:
>
> Hi, I would like to report that at the url: https://manifoldcf.apache.org/release/release-2.25/en_US/index.html I obtain:
>
> Not Found
>
> The requested URL was not found on this server.
>
>
>
> Thank you
>
> Mario



-- 
Piergiorgio

Documentation issue?

Posted by Bisonti Mario <Ma...@vimar.com>.
Hi, I would like to report that at the url: https://manifoldcf.apache.org/release/release-2.25/en_US/index.html I obtain:

Not Found
The requested URL was not found on this server.

Thank you
Mario

Re: Solr connector authentication issue

Posted by Karl Wright <da...@gmail.com>.
But if those are set, and the connection health check passes, then I can't
tell you why Solr is unhappy with your connection.  It's clearly working
sometimes.  I'd look on the Solr end to figure out whether its rejection is
coming from just one of your instances.



On Wed, Jun 7, 2023 at 7:49 AM Karl Wright <da...@gmail.com> wrote:

> The Solr output connection configuration contains all credentials that are
> sent to Solr.  If those aren't set Solr won't get them.
>
> Karl
>
>
> On Wed, Jun 7, 2023 at 7:23 AM Marisol Redondo <
> marisol.redondo.garcia@gmail.com> wrote:
>
>> Hi,
>>
>> We are using Solr 8 with basic authentication, and when checking the
>> output connection I'm getting an Exception "Solr authorization failure,
>> code 401: aborting job"
>>
>> The solr type is Solrcloud, as we have 3 server (installed in AWS
>> Kubernette containers), I have set the user ID and password in the Sever
>> tab and can connect to Zookeeper and solr, as, if I unchecked the option
>> "Bock anonymous request", the connector is working.
>>
>> How can I make the connection working? I can't unchecked the "Block
>> anonymous request"
>> Am I missing any other configuration?
>> Is there any other place where I have to set the user and password?
>>
>> Thanks
>>     Marisol
>>
>>

Re: Solr connector authentication issue

Posted by Karl Wright <da...@gmail.com>.
The Solr output connection configuration contains all credentials that are
sent to Solr.  If those aren't set Solr won't get them.

Karl


On Wed, Jun 7, 2023 at 7:23 AM Marisol Redondo <
marisol.redondo.garcia@gmail.com> wrote:

> Hi,
>
> We are using Solr 8 with basic authentication, and when checking the
> output connection I'm getting an Exception "Solr authorization failure,
> code 401: aborting job"
>
> The solr type is Solrcloud, as we have 3 server (installed in AWS
> Kubernette containers), I have set the user ID and password in the Sever
> tab and can connect to Zookeeper and solr, as, if I unchecked the option
> "Bock anonymous request", the connector is working.
>
> How can I make the connection working? I can't unchecked the "Block
> anonymous request"
> Am I missing any other configuration?
> Is there any other place where I have to set the user and password?
>
> Thanks
>     Marisol
>
>