Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9614

TestSolrCloudWithKerberosAlt.testBasics failure HTTP ERROR: 401 Problem accessing /solr/admin/cores

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 7.0
    • None
    • None

    Description

      • 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

        ] 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:

        Unknown macro: {token.valid=30, kerberos.principal=HTTP/127.0.0.1, kerberos.keytab=C}

        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)

      Attachments

        1. SOLR-9614.patch
          0.8 kB
          Alan Woodward
        2. SOLR-9614.patch
          0.7 kB
          Mikhail Khludnev

        Issue Links

          Activity

            People

              mkhl Mikhail Khludnev
              mkhl Mikhail Khludnev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: