Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Apr 10, 2025 8:00:55 AM
Sep 6, 2017 11:39:29 PM
Qlik Sense uses HTTP, HTTPS, and WebSockets to transfer information to and from Qlik Sense.
The attached Webscoket Connectivity tester can be used to verify protocol compliance, indicating if a network policy, firewall, or other perimeter device is blocking any of the required connections.
If the tests return as unsuccessful, please engage your network team.
The QlikSenseWEbsocketConnectivtyTester is not an officially supported application and is provided as is. It is intended to assist in troubleshooting, but further investigation of an unsuccessful test will require your network team's involvement. To run this tool, the Qlik Sense server must have a working internet connection.
Qlik Sense Enterprise on Windows
Since the introduction of extended WebSocket CSRF protection, using the WebSocket Connectivity tester on any version later than November 2024 requires a temporary configuration change.
<add key="WebSocketCSWSHCheckEnabled" value="true"/>
<add key="WebSocketCSWSHCheckEnabled" value="false"/>
Verify that WebSocket is enabled in the network infrastructure, such as firewalls, browsers, reverse proxies, etc.
See the article below under Related Content for additional steps.
This will not work with the default setup of Qlik Sense November 2024 with Patch 5.
You must change the config file of the proxy. Otherwise, WebSockets testing will fail.
As per @vincent_wei
Starting with introduction of Qlik Sense Enterprise on Windows: Extended WebSock... - Qlik Community - 2509211 and option below:
<add key="WebSocketCSWSHCheckEnabled" value="true"/>
in "C:\Program Files\Qlik\Sense\Proxy\Proxy.exe.config" the WebSocket tester will fail.
To be sure no other reasons are preventing the connection set the option to false:
<add key="WebSocketCSWSHCheckEnabled" value="false"/>
restart the proxy and test again.
Revert above option as needed once confirmed it is not related to the missed CSRF WebSocket Token.
Hi,
We have followed the steps to change the Proxy.exe.config. After we revert the change (replace the original proxy.exe.config file) and restart the services, we cant access qlik sense via ssl url link, but able to access via ip address.
The url link cant be open and stuck at this link 4244 during authentication.
https://abc.com:4244/internal_windows_authentication/?targetId=<guid>
What steps that we missed out during revert?
Bonjour, j'ai des déconnexions intempestives depuis 1mois.
Chaque utilisateur passant par le LDAP (et notre reverse proxy) se connecte, joue un peu (entre 20 secondes et 1h30) puis se retrouve déconnecté : erreur 16 : connexion perdue. dans les logs, je trouve des erreurs : Error during stream authentication as Server partout sur le fichier Audit.Proxy. Ces lignes apparaissent toutes les 30 secondes, que quelqu'un soit connecté ou pas.
à noter que le problème ne se reproduit pas quand on se connecte en local sans passer par le LDAP et le NAM.
Et je vois bien les lignes de déconnexion : Connection negotiation as server failed [::ffff:mon serveur]:443 <-> [::ffff:le serveur du NAM]:51742, using: SslNoClientValidation
suivi de Client web socket [::ffff:mon serveur]:443 <-> [::ffff:le serveur du NAM]:48756 has failed for app: e140684d-8db7-452e-8499-7bcc80e91ed8
dans Engine, je lis les lignes StdServer: OnRemoteClosed entered for socket ::1:4747 <-> ::1:53501, user: UserDirectory=LDAP_GENERIC; UserId=mgensbit, app: e140684d-8db7-452e-8499-7bcc80e91ed8.
suivi de Session stop reason: Socket closed by client.
J'ai ouvert un case, on m'a demandé d'installer le Websocket Connectivity Tester, tout est au vert, même quand ça coupe, ça reste vert.
est-ce que quelqu'un a une idée ? copilot me dit qu'un équipement réseau force les fermetures de websocket. Le niveau 2 du support de mon entreprise dit que ça vient de Qlik.Et ça dure depuis 1 mois !