lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sudhakar Maddineni <>
Subject SolrCloud - Basic Auth - 401 error
Date Tue, 04 Sep 2012 18:54:59 GMT
  I setup a two shard cluster using tomcat 6.0.35 with solr 4.0.0-BETA
version and zookeeper 3.3.4. I wanted to secure the solr admin page and
added a BASIC auth to the container so that all admin requests to the index
will be protected.I did this by adding below security constraint tag in
web.xml in {tomcat_home}/conf directory. Also, I defined the corresponding
roles ans user credentials in tomcat-users.xml at the same location. After
doing this, I could see that admin page is successfully  secured.

ISSUE:  But, the issue is Replication is not working and getting *401-
unauthorized* access when replica tries to connect to the leader.Is there
any workaround to fix this issue?

Appreciate your help.

        Solr authenticated application
    <realm-name>Basic Authentication</realm-name>
    <description>My role</description>


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message