You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2017/01/03 08:47:58 UTC

[jira] [Updated] (CALCITE-1470) HttpServerSpnegoWithJaasTest fails on Windows

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

Julian Hyde updated CALCITE-1470:
---------------------------------
    Fix Version/s: avatica-1.9.0

> 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.9.0
>
>
> {noformat}
> Failed tests:
>   HttpServerSpnegoWithJaasTest.testAuthenticatedClientsAllowed:223
> expected:<[OK client@EXAMPLE.COM]> 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/localhost@EXAMPLE.COM
> 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)