Users with a large number of user group attributes (SAML authentication, custom Ticket authentication, or JWT authentication) receive the following error when accessing the Qlik Sense Hub:
Connection lost. Make sure that Qlik Sense is running properly
The error OnRepositoryWebsocketFailed can be verified in the browser developer tools in the QrsData WebSocket connection messages:
{"jsonrpc":"2.0","method":"OnRepositoryWebsocketFailed","params":{"severity":"fatal","timestamp":"2020-07-14T13:01:05.0171593Z"}}
This will also prevent the logout button to work properly as it is awaiting a response from that WebSocket connection.
Environment
Resolution
This is due to a hardcoded limit of the Repository websocket regarding the header size.
In order to solve this issue, the DotNet WebSocket needs to be enabled in the Repository configuration file.
Steps:
- Open C:\Program Files\Qlik\Sense\Repository\Repository.exe.config in a text editor as an administrator
- Modify the line <add key="EnableDotNetWebSockets" value="false" /> to <add key="EnableDotNetWebSockets" value="true" />
- Save the file and restart all Qlik Sense services
- In a multinode environment, this needs to be repeated on all the nodes.
Note: The Dotnet Websocket requires Windows 6.2 (Windows Server 2012) or higher
https://docs.microsoft.com/en-us/windows/win32/sysinfo/operating-system-version
Internal ID: QB-1972