
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Qlik Sense Client Managed: Adjust the MaxHttpHeaderSize for the Micro Services run by the ServiceDispatcher
Dec 12, 2024 7:59:16 AM
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:
- 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
- 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

- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
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

- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Do we need to configure this in all the nodes of Qlik sense

- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
@janyf Hello, yes on all the nodes in every services.conf, then restart the service dispatcher.

- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
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?