Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!

QlikView Client connection fails with Connected server OK, negotiations timed out Switching to HTTP tunneling No reply received

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

QlikView Client connection fails with Connected server OK, negotiations timed out Switching to HTTP tunneling No reply received

Last Update:

Jun 29, 2023 7:41:03 AM

Updated By:

Sonja_Bauernfeind

Created date:

Aug 22, 2017 5:03:05 AM

The QlikView Desktop client or IE Plugin return the error:

Connected server OK, negotiations timed out Switching to HTTP tunneling Connected to server OK, No reply received

Documents cannot be opened and Licenses cannot be leased. Port 4747 is available.

connected to server ok no reply received.png

If extended error logging is enabled on the QlikView server, in the extended error log, users may see the following error:

2017-08-15 17:22:58    Info    General    QVDoc.cpp    4297    Trying TCP/IP connection [<servername>:4747]    0    
2017-08-15 17:22:58    Warning    Connect    CryptAcquire.cpp    97    Could not CryptSetProvParam    1008    An attempt was made to reference a token that does not exist.
2017-08-15 17:23:02    Error    Connect    ClientKeyExchange.cpp    59    Could not CryptGenKey    5    Access is denied.
2017-08-15 17:23:02    Warning    General    Context_qv.cpp    527    Server closed connection    0   
2017-08-15 17:23:02    Warning    Connect    ClientServerSupport.cpp    585    Server denied connection: ""    0  

 

Resolution

There are two common root causes for this scenario:

  1. Permissions
  2. Timeout

 

Permissions to RSA\MachineKeys

This indicates that the user running the QlikView client does not have permissions to read/write to and from the RSA\MachineKeys directory. Contact a System Administrator to grand full-access right to:

  • Windows XP: C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys
  • Windows 7 and up: C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys

Server Connection Timeout

Timeout value set is not long enough for the client and server to negotiate the connection.  This can happen if the client is not in the same geographic location as the QVServer or other network latency issues are occurring in the environment.

To configure the timeout setting:

  1. Click Help in the menu bar of the Desktop Client
  2. Click on About QlikView
  3. Right click on the QlikView logo in the bottom left of the pop-up window
  4. Scroll through the list until you see ServerConnectionTimeout
  5. Increase the value to 20000 or 30000 milliseconds.

 

Related Content:

Open in Server fails using QlikView Desktop May 2023 or later against earlier version of QlikView Se... 
Communication to QlikView server fails: Switching to HTTPS tunneling 

 

Environment:

QlikView 

Labels (1)
Comments
p_verkooijen
Partner - Specialist II
Partner - Specialist II

Had this issue
Antivirus was blocking the access to the RSA MachineKeys path

C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\*************

p_verkooijen_0-1709733296100.png

 

p_verkooijen
Partner - Specialist II
Partner - Specialist II

Just had the issue on an (old) Windows Server 2012R2 which I upgraded to May2023 SR2

Had to revert to SessionAlgorithm=CALG_AES_128 as mentioned in https://community.qlik.com/t5/Official-Support-Articles/QlikView-12-80-set-a-different-Session-Algor...

  1. Stop all Qlik services
  2. Shutdown QlikView Desktop instances

Changed:

QlikView client and Server settings.ini

  • Client: %appdata%\QlikTech\QlikView\Settings.ini 
  • Server: C:\ProgramData\QlikTech\QlikViewServer\Settings.ini

Add: SessionAlgorithm=CALG_AES_128

p_verkooijen_1-1718194087930.png

 

QlikView server

  • C:\Program Files\QlikView\Distribution Service\QVDistributionService.exe.config
  • C:\Program Files\QlikView\Server\Web Server\QVWebServer.exe.config
  • C:\Program Files\QlikView\Management Service\QVManagementService.exe.config

Add:  <add key="SessionAlgorithm" value="CALG_AES_128"></add> 

p_verkooijen_0-1718194070828.png

If you are using IIS, also change 

  • C:\Program Files\QlikView\Server\QlikViewClients\QlikViewAjax\Web.config


Start all Qlik services, start the QlikView desktop and Open in Server should work.

 

ADC_D2I
Contributor
Contributor

I fixed this issue.

 

1. Validate the read and write permission in the path, for the users and local administrators.
C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys
2. If the owner is System, change the owner to Administrator (local groups).

ADC_D2I_0-1720716948393.png

3. Enable Heritance

 

Contributors
Version history
Last update:
‎2023-06-29 07:41 AM
Updated by: