Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Qlik Sense Hub reports OnRepositoryWebsocketFailed for users with large number of user group attributes

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

Qlik Sense Hub reports OnRepositoryWebsocketFailed for users with large number of user group attributes

Last Update:

Feb 23, 2021 3:58:52 AM

Updated By:

Sonja_Bauernfeind

Created date:

Feb 3, 2021 4:55:43 AM

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:

  1. Open C:\Program Files\Qlik\Sense\Repository\Repository.exe.config in a text editor as an administrator
  2. Modify the line <add key="EnableDotNetWebSockets" value="false" />  to  <add key="EnableDotNetWebSockets" value="true" />
  3. Save the file and restart all Qlik Sense services
  4. 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

 

Labels (1)
Contributors
Version history
Last update:
‎2021-02-23 03:58 AM
Updated by: