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 <satya.chaita...@gmail.com> 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 >