Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More

How are WebSockets used in Qlik Sense?

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
ToniKautto
Employee
Employee

How are WebSockets used in Qlik Sense?

Last Update:

May 10, 2022 3:23:50 PM

Updated By:

Jamie_Gregory

Created date:

Aug 12, 2017 3:00:27 AM

A WebSocket is a client-server technology that opens a communication session between the client web browser and the server.  It uses the ws:// or wss:// protocol to connect to endpoints and establishes a full-duplex communication over a single connection.

In a document, once a WebSocket connection is established with the web server, you can send data from the client browser to the server and receive data from the server to the browser.
WebSockets improve the scalability of real-time bi-directional communication between servers and web browsers. This makes a significant improvement in web communication speed.

Qlik Sense uses WebSockets that enable communication between the web browser and Qlik Sense server. A Qlik Sense application gets generated with visualization objects and data via this communication.  These visualisations can then be integrated into any webpage via HTML and javascript custom development.

Resolution

It is recommended to have a single WebSocket connection per client to make an application more manageable, when adding Qlik Sense to a web integration. Concurrency and multiple WebSockets per client may make a page unresponsive due to data coming in from each WebSocket connection.

Web sockets are supported by modern browsers such as Chrome and Firefox. However, in Internet Explorer 11, there is a default limit of WebSocket connections per server. The default limit is 6, you can select a value from 2 through 128.

 

Related Content

Qlik Sense Hub Error Cannot create connection or Error Occurred on REST Endpoint Call -  Increase We...

 

Labels (1)
Version history
Last update:
‎2022-05-10 03:23 PM
Updated by: