Skip to main content
Announcements
Qlik Connect 2025! Join us in Orlando join us for 3 days of immersive learning: REGISTER TODAY

Qlik Sense Client Managed: Adjust the MaxHttpHeaderSize for the Micro Services run by the ServiceDispatcher

100% helpful (2/2)
cancel
Showing results for 
Search instead for 
Did you mean: 
Sebastian_Linser

Qlik Sense Client Managed: Adjust the MaxHttpHeaderSize for the Micro Services run by the ServiceDispatcher

Last Update:

Dec 12, 2024 7:59:16 AM

Updated By:

Sonja_Bauernfeind

Created date:

Aug 18, 2023 8:13:09 AM

When using SAML or ticket authentication in Qlik Sense, some users belonging to a big number of groups see the error 431 Request header fields too large on the hub and cannot proceed further.

Resolution

The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.

The default setting will still be a header size of 8192 bytes. The fix adds support for a configurable MaxHttpHeaderSize.

Steps:

  1. To configure add it at the top section of the file under [globals] (C:\Program Files\Qlik\Sense\ServiceDispatcher\service.conf)
    [globals]
    LogPath="${ALLUSERSPROFILE}\Qlik\Sense\Log"
    (...)
    MaxHttpHeaderSize=16384
  2. Once the change is done, save the file and restart the Qlik Service Dispatcher service.

Note: The above value (16384) is an example. You may need to put more depending on the total number of characters of all the AD groups to which the user belongs. The max value is 65534.

 

Environment:

Qlik Sense Enterprise on Windows  

 

Labels (2)
Comments
janyf
Partner - Creator

This could help also in case when your qlik is on the same domain as your other websites and your cookies have incorrectly set limitation. Therefore they are retained also for qlik and clogging qlik cookie - causing 431 Request header fields too large 

syedhaque
Partner - Contributor

Hi @Sonja_Bauernfeind 

Do we need to configure this in all the nodes of Qlik sense

Sebastian_Linser

@janyf Hello, yes on all the nodes in every services.conf, then restart the service dispatcher.

syedhaque
Partner - Contributor

Hi @Sebastian_Linser  I have done above changes and restarted the service dispatcher but in QMC when I checked the proxy settings it still shows old value. do we need to update it in qmc portal also?

syedhaque_0-1744967768680.png