error on health check from command line

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

error on health check from command line

Satya Marivada
Hi,

How do I supply the basic auth credentials for the below healthcheck that
has to be done from command line?

$ ./bin/solr healthcheck -c poi -z host1:2181,host2:2181,host3:2181

ERROR: Solr requires authentication for https://host1:15101/solr/shard1/.
Please supply valid credentials. HTTP code=401

Thanks,
Satya
Reply | Threaded
Open this post in threaded view
|

Re: error on health check from command line

Satya Marivada
Additional information: Using solr-6.3.0

Also tried, no luck:

./bin/solr healthcheck -c poi -z host1:2181,host2:2181,host3:2181
SOLR_AUTH_TYPE=“basic”
SOLR_AUTHENTICATION_OPTS="-Dbasicauth=username:password"

On Tue, Jul 10, 2018 at 9:09 AM Satya Marivada <[hidden email]>
wrote:

> Hi,
>
> How do I supply the basic auth credentials for the below healthcheck that
> has to be done from command line?
>
> $ ./bin/solr healthcheck -c poi -z host1:2181,host2:2181,host3:2181
>
> ERROR: Solr requires authentication for https://host1:15101/solr/shard1/.
> Please supply valid credentials. HTTP code=401
>
> Thanks,
> Satya
>