Unable to access Information Designer using Kerberos authentication.

Unable to access Information Designer using Kerberos authentication.

book

Article ID: KB0070026

calendar_today

Updated On:

Products Versions
Spotfire Server 14.x.x

Description

Unable to access Information Designer using Kerberos authentication.

After upgrading to the 14.x.x environment with Kerberos authentication enabled, you may encounter the following error when attempting to open a web report with an information link. Additionally, you may not be able to open Information Designer following the upgrade.

-----------
WARN YYYY-MM-DDTHH:MM:SS,497-0500 [USER ID, #X-00, #000000] ws.external.InformationServiceHttpProxyHandler: 431 Request Header Fields Too Large: 
Error 431 Request Header Fields Too Large
HTTP ERROR 431 Request Header Fields Too Large
URI: /spotfire/ws/QueryManagerService
STATUS: 431
MESSAGE: Request Header Fields Too Large
CAUSED BY: org.eclipse.jetty.http.BadMessageException: 431: null
Caused by: org.eclipse.jetty.http.BadMessageException: 431: null
at org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java:1164)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:1545)
at org.eclipse.jetty.server.internal.HttpConnection.parseRequestBuffer(HttpConnection.java:567)
at org.eclipse.jetty.server.internal.HttpConnection.onFillable(HttpConnection.java:390)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:322)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:99)
at org.eclipse.jetty.io.ssl.SslConnection$SslEndPoint.onFillable(SslConnection.java:574)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:390)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:150)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:99)
at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:478)
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:441)
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:293)
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:201)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:410)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:971)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1201)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1156)
at java.base/java.lang.Thread.run(Thread.java:840)
href="https://eclipse.org/jetty"
Powered by Jetty:// 12.0.6

 

Environment

All supported operating systems

Resolution

You can follow the below steps to get the changes done on the configuration to make it work.

-
Set the jetty http configurations like requestHeaderSize, ResponseHeaderSize.
Spotfire Server will use these configured values while launching information designer as an external process.

Option A. 

You can either add it manually in the Configuration tool or the configuration.xml file through the below steps.
1. In the Configuration tool or the exported configuration.xml file add the below configurations under <information-services> tag.
<external-process>
   <jvm-opts>
      <argument>-Djetty.httpConfig.requestHeaderSize=value</argument>
    <argument>-Djetty.httpConfig.ResponseHeaderSize=value</argument>
   </jvm-opts>
</external-process>

2. Provide minimal requestHeaderSize value to save the configuration and restart the Spotfire Server service.
3. Now after restart, while launching Information Designer as an external process you should get the error related to the header size or URI size.
4. Try updating requestHeaderSize to a higher value like 8192 (8kb) and that will solve the issue.

Option B.
Using the Command line:

Windows: config config-external-information-services-process -A-Djetty.httpConfig.requestHeaderSize=65535
Linux: ./config.sh config-external-information-services-process -A-Djetty.httpConfig.requestHeaderSize=65535

Issue/Introduction

Unable to access Information Designer using Kerberos authentication.

Additional Information

https://docs.tibco.com/pub/spotfire_server/latest/doc/html/TIB_sfire_server_tsas_admin_help/server/topics/config-external-information-services-process.html