lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Merlin Morgenstern <merlin.morgenst...@gmail.com>
Subject Solr authentication - Error 401 Unauthorized
Date Fri, 11 Sep 2015 09:06:22 GMT
I have secured solr cloud via basic authentication.

Now I am having difficulties creating cores and getting status information.
Solr keeps telling me that the request is unothorized. However, I have
access to the admin UI after login.

How do I configure solr to use the basic authentication credentials?

This is the error message:

/opt/solr-5.3.0/bin/solr status

Found 1 Solr nodes:

Solr process 31114 running on port 8983

ERROR: Failed to get system information from http://localhost:8983/solr due
to: org.apache.http.client.ClientProtocolException: Expected JSON response
from server but received: <html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

<title>Error 401 Unauthorized</title>

</head>

<body><h2>HTTP ERROR 401</h2>

<p>Problem accessing /solr/admin/info/system. Reason:

<pre>    Unauthorized</pre></p><hr><i><small>Powered by
Jetty://</small></i><hr/>


</body>

</html>

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