Hi,

When I try to add the user for the Solr Basic Authentication using the
following method in curl

curl --user user:password http://localhost:8983/solr/admin/authentication
-H 'Content-type:application/json' -d '{
  "set-user": {"tom" : "TomIsCool" ,
               "harry":"HarrysSecret"}}'

I get the following error:

{
  "responseHeader":{
    "status":400,
    "QTime":0},
  "error":{
    "metadata":[
      "error-class","org.apache.solr.common.SolrException",
      "root-error-class","org.apache.solr.common.SolrException"],
    "msg":"No contentStream",
    "code":400}}
curl: (3) [globbing] unmatched brace in column 1
枩]?V7`-{炘9叡 t肤 ,? E'qyT咐黣]儎;衷 鈛^W褹?curl: (3) [globbing] unmatched cl
ose brace/bracket in column 13


What does this error means and how should we resolve it?
I'm using SolrCloud on Solr 6.4.2.


Regards,
Edwin

Reply via email to