Josh Elser created CALCITE-1470:
-----------------------------------

             Summary: HttpServerSpnegoWithJaasTest fails on Windows
                 Key: CALCITE-1470
                 URL: https://issues.apache.org/jira/browse/CALCITE-1470
             Project: Calcite
          Issue Type: Bug
          Components: avatica
            Reporter: Josh Elser
            Assignee: Aaron Mihalik
             Fix For: avatica-1.10.0


{noformat}
Failed tests:
  HttpServerSpnegoWithJaasTest.testAuthenticatedClientsAllowed:223
expected:<[OK [email protected]]> but was:<[<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 500 </title>
</head>
<body>
<h2>HTTP ERROR: 500</h2>
<p>Problem accessing /. Reason:
<pre>    Unauthenticated users should not reach here!</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
</body>
</html>
]>

A related error may be:
GSSException: Failure unspecified at GSS-API level (Mechanism level:
Invalid argument (400) - Cannot find key of appropriate type to decrypt AP
REP - AES128 CTS mode with HMAC SHA1-96)
        at
sun.security.jgss.krb5.Krb5Context.acceptSecContext(Krb5Context.java:856)
        at
sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:342)
{noformat}

{noformat}
The key line in the debug out was the "Found KeyTab" line below:

SpNegoContext.initSecContext: sending token of type = SPNEGO NegTokenInit
SNegoContext.initSecContext: sending token = a0 82 ...
Found KeyTab C:Users mihalik empcalcite vaticaserver
argetHttpServerSpnegoWithJaasTest_keytabsHTTP_localhost.keytab
for HTTP/[email protected]
Entered SpNegoContext.acceptSecContext with state=STATE_NEW
SpNegoContext.acceptSecContext: receiving token = a0 82 ...
SpNegoToken NegTokenInit: reading Mechanism Oid = 1.2.840.113554.1.2.2
{noformat}



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

Reply via email to