Loading

Errors "Sign In failed" and "HTTP 400" Using Kerberos Authentication

Publiseringsdato: Apr 13, 2024
Beskrivelse
When you try to sign in to Tableau Server that is configured for Kerberos authentication, the following error might occur:
 
Tableau Server could not authenticate you automatically. Sign in using your Tableau Server credentials.

The following error might also occur in a network trace or browser console:
 
Bad Request (HTTP 400)

Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.

Authorization

Cause

The Authorization field that contains the Kerberos ticket is making the HTTP header larger than the default maximum size for the Apache gateway and Tomcat application server. This usually occurs when a user belongs to a large number of Active Directory groups.

Løsning

Perform the following steps on the Primary: (Note, the value may need to be increased more if the 400 response persists)

  1. Open a command prompt as an administrator and navigate to the Tableau Server bin folder, for example:
    cd c:\Program Files\Tableau\Tableau Server\<version>\bin
  2. Run the following commands:
    • tsm configuration set -k gateway.http.request_size_limit -v 32768
    • tsm configuration set -k tomcat.http.maxrequestsize -v 32768
    • tsm pending-changes apply (this will trigger a Tableau Server restart)
Flere ressurser
Additonally, you will notice that the access logs will show two GET requests for kerberosLogin with a 400 response. For example: 
<ip address> - - <date and time> 443 "GET /vizportal/api/web/v1/auth/kerberosLogin HTTP/1.1" "-" 401 65 "-" 1007 Wqqa6rgY0XDbiw70Ie0HzQAAAyQ
<ip address> - - 2<date and time> 443 "GET /vizportal/api/web/v1/auth/kerberosLogin HTTP/1.1" "-" 400 278 "-" 0 - 

However, the logs should show:
<ip address> - - <date and time> 443 "GET /vizportal/api/web/v1/auth/kerberosLogin HTTP/1.1" "-" 401 65 "-" 1007 Wqqa6rgY0XDbiw70Ie0HzQAAAyQ
<ip address> - kerb-admin@KERB.DEV.TSI.LAN <date and time> 80 "GET /vizportal/api/web/v1/auth/kerberosLogin HTTP/1.1" "-" 200 531 "-" 106985 Va5YZAoglhsAACYE0t8AAAJU
Knowledge-artikkelnummer

001474098

Vedlegg

server.xml.templ

7 KB

 
Laster
Salesforce Help | Article