You need to obtain / renew your Kerberos ticket using kinit
> Am 19.10.2019 um 12:31 schrieb Lvyankui <lv.yan...@h3c.com>: > > SolrCloud mode, Solr and Zookeeper enabled kerberos, create collection > failed with following command > curl --negotiate -u : 'http:// > noder27:8983/solr/admin/collections?action=CREATE&name=test01&numShards=1&replicationFactor=1&collection.configName=_default&wt=json' > The error is: > { > "responseHeader":{ > "status":0, > "QTime":31818}, > "failure":{ > > "noder27.hde.h3c.com:8983_solr":"org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error > from server at http://noder27.hde.h3c.com:8983/solr: Expected mime type > application/octet-stream but got text/html. <html>\n<head>\n<meta > http-equiv=\"Content-Type\" > content=\"text/html;charset=utf-8\"/>\n<title>Error 401 Authentication > required</title>\n</head>\n<body><h2>HTTP ERROR 401</h2>\n<p>Problem > accessing /solr/admin/cores. Reason:\n<pre> Authentication > required</pre></p>\n</body>\n</html>\n" > }} > > But if I restart Solr several times,it will return to normal probability. > ------------------------------------------------------------------------------------------------------------------------------------- > 本邮件及其附件含有新华三集团的保密信息,仅限于发送给上面地址中列出 > 的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、 > 或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本 > 邮件! > This e-mail and its attachments contain confidential information from New > H3C, which is > intended only for the person or entity whose address is listed above. Any use > of the > information contained herein in any way (including, but not limited to, total > or partial > disclosure, reproduction, or dissemination) by persons other than the intended > recipient(s) is prohibited. If you receive this e-mail in error, please > notify the sender > by phone or email immediately and delete it!