You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mikhail Khludnev (JIRA)" <ji...@apache.org> on 2016/10/11 06:28:20 UTC

[jira] [Resolved] (SOLR-9614) TestSolrCloudWithKerberosAlt.testBasics failure HTTP ERROR: 401 Problem accessing /solr/admin/cores

     [ https://issues.apache.org/jira/browse/SOLR-9614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Khludnev resolved SOLR-9614.
------------------------------------
       Resolution: Fixed
         Assignee: Mikhail Khludnev
    Fix Version/s: master (7.0)

> TestSolrCloudWithKerberosAlt.testBasics failure HTTP ERROR: 401 Problem accessing /solr/admin/cores
> ---------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-9614
>                 URL: https://issues.apache.org/jira/browse/SOLR-9614
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Mikhail Khludnev
>            Assignee: Mikhail Khludnev
>             Fix For: master (7.0)
>
>         Attachments: SOLR-9614.patch, SOLR-9614.patch
>
>
> * this occurs after SOLR-9608 commit https://jenkins.thetaphi.de/job/Lucene-Solr-master-Windows/6169/
> * but, I can't get it fixed rolling it back locally. 
> * it doesn't yet happen in branch_6x CI 
> So far I have no idea what to do. 
> Problem log
> {quote}
> ] o.a.s.c.TestSolrCloudWithKerberosAlt Enable delegation token: true
> 12922 INFO  (jetty-launcher-1-thread-1) [n:127.0.0.1:64475_solr    ] o.a.s.c.CoreContainer Authentication plugin class obtained from system property 'authenticationPlugin': org.apache.solr.security.KerberosPlugin
> 12931 INFO  (jetty-launcher-1-thread-1) [n:127.0.0.1:64475_solr    ] o.a.s.c.s.i.Krb5HttpClientBuilder Setting up SPNego auth with config: C:\Users\Mikhail_Khludnev\AppData\Local\Temp\solr.cloud.TestSolrCloudWithKerberosAlt_3F1879202E9D764F-018\tempDir-001\minikdc\jaas-client.conf
> 12971 INFO  (jetty-launcher-1-thread-1) [n:127.0.0.1:64475_solr    ] o.a.s.s.KerberosPlugin Params: {token.valid=30, kerberos.principal=HTTP/127.0.0.1, kerberos.keytab=C:\Users\Mikhail_Khludnev\AppData\Local\Temp\solr.cloud.TestSolrCloudWithKerberosAlt_3F1879202E9D764F-018\tempDir-001\minikdc\keytabs, cookie.domain=127.0.0.1, token.validity=36000, type=kerberos, delegation-token.token-kind=solr-dt, cookie.path=/, zk-dt-secret-manager.znodeWorkingPath=solr/security/zkdtsm, signer.secret.provider.zookeeper.path=/token, zk-dt-secret-manager.enable=true, kerberos.name.rules=RULE:[1:$1@$0](.*EXAMPLE.COM)s/@.*//
> RULE:[2:$2@$0](.*EXAMPLE.COM)s/@.*//
> DEFAULT, signer.secret.provider=zookeeper}
> 13123 INFO  (jetty-launcher-1-thread-1) [n:127.0.0.1:64475_solr    ] o.a.c.f.i.CuratorFrameworkImpl Starting
> 13133 WARN  (jetty-launcher-1-thread-1-SendThread(127.0.0.1:64444)) [n:127.0.0.1:64475_solr    ] o.a.z.ClientCnxn SASL configuration failed: javax.security.auth.login.LoginException: No JAAS configuration section named 'Client' was found in specified JAAS configuration file: 'C:\Users\Mikhail_Khludnev\AppData\Local\Temp\solr.cloud.TestSolrCloudWithKerberosAlt_3F1879202E9D764F-018\tempDir-001\minikdc\jaas-client.conf'. Will continue connection to Zookeeper server without SASL authentication, if Zookeeper server allows it.
> 13145 ERROR (jetty-launcher-1-thread-1-EventThread) [n:127.0.0.1:64475_solr    ] o.a.c.ConnectionState Authentication failed
> 13153 INFO  (jetty-launcher-1-thread-1-EventThread) [n:127.0.0.1:64475_solr    ] o.a.c.f.s.ConnectionStateManager State change: CONNECTED
> 13632 INFO  (jetty-launcher-1-thread-1) [n:127.0.0.1:64475_solr    ] o.a.s.c.s.i.Krb5HttpClientBuilder Setting up SPNego auth with config: C:\Users\Mikhail_Khludnev\AppData\Local\Temp\solr.cloud.TestSolrCloudWithKerberosAlt_3F1879202E9D764F-018\tempDir-001\minikdc\jaas-client.conf
> 18210 INFO  (jetty-launcher-1-thread-1) [n:127.0.0.1:64475_solr    ] o.a.s.c.CorePropertiesLocator Found 0 core definitions underneath C:\Users\Mikhail_Khludnev\AppData\Local\Temp\solr.cloud.TestSolrCloudWithKerberosAlt_3F1879202E9D764F-018\tempDir-002\node1\.
> 20158 ERROR (OverseerThreadFactory-6-thread-1-processing-n:127.0.0.1:56132_solr) [n:127.0.0.1:56132_solr    ] o.a.s.c.OverseerCollectionMessageHandler Error from shard: http://127.0.0.1:56132/solr
> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://127.0.0.1:56132/solr: Expected mime type application/octet-stream but got text/html. <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
> <title>Error 401 </title>
> </head>
> <body>
> <h2>HTTP ERROR: 401</h2>
> <p>Problem accessing /solr/admin/cores. Reason:
> <pre>    Authentication required</pre></p>
> <hr /><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.3.8.v20160314</a><hr/>
> </body>
> </html>
> 	at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:578)
> 	at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:262)
> 	at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:251)
> 	at org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1219)
> 	at org.apache.solr.handler.component.HttpShardHandler.lambda$0(HttpShardHandler.java:195)
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org