Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW

Qlik NPrinting Connection Verification Fails at "Installed certificates are valid to connect to Qlik Sense"

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

Qlik NPrinting Connection Verification Fails at "Installed certificates are valid to connect to Qlik Sense"

Last Update:

May 11, 2021 9:36:16 AM

Updated By:

Sonja_Bauernfeind

Created date:

Nov 20, 2018 2:49:23 PM

Scenarios for when Qlik NPrinting Connection verification fails at Installed certificates are valid to connect to Qlik Sense

  • A new connection to Qlik Sense for a new NPrinting installation fails
  • A new connection from an existing NPrinting installation to a new Qlik Sense server instance fails
  • NPrinting cannot connect to another Qlik Sense server instance

 

Environment:

Qlik NPrinting April 2019 and earlier versions 

 

Logs may register similar to the following lines:


Error: Installed certificates are valid to connect to Qlik Sense

PerformDiagnosis found a problem. ERROR: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. --->

! Please NOTE: Due to a limitation on Qlik Sense certificates, Qlik NPrinting April 2019 and older can only connect to one Qlik Sense installation at a time.
See the Qlik Online Help: Deploying Qlik NPrinting > Planning your deployment > Architecture > Supported and unsupported configurations 

 

Resolution

 

To resolve the issue, please upgrade to any higher version of NPrinting from June 2019 and newer version and use the following instructions: Connect NPrinting Server to One or More Qlik Sense servers


For April 2019 and earlier versions:

For error I. above, verify that certificates were correctly imported whiled logged in to Windows with the Qlik NPrinting service account. 
The certificates should not be imported using the MMC, but using the certificate installer tool that is located by default under C:\Program Files\NPrintingServer\Tools\QmcCertificatesInstaller 

Note: Prior to using the installer tool, make sure there are no other certificates present under C:\Program Files\NPrintingServer\Settings\SenseCertificates. Otherwise, rename the folder and create a new SenseCertficates folder under this location, then re-import the certificates using the cert installer tool.

For error II. above, ensure that communication between Qlik NPrinting and Qlik Sense on port 4242 has been opened for all TCP traffic. If there are application layer firewalls in the environment TLS communication needs to be fully open. A symptom of this would be no TLS negotiation packets arriving on the Qlik Sense server or NPrinting Server. This can be validated with a network capture which can be obtain with sniffing tools such as Wireshark.

See the Qlik Online Help: Deploying Qlik NPrinting  > Qlik NPrinting installation > Connecting Qlik NPrinting with Qlik Sense
For and installation guide, refer to Connecting Qlik NPrinting with Qlik Sense.

For a workaround to point to a different instance of Qlik Sense: How Point to a Different Instance of QlikSense from NPrinting 17.x

If connecting to multiple Qlik Sense environments starting on NPrinting June 2019 release, see Connect NPrinting Server to Multiple Qlik Sense servers


Labels (1)
Contributors
Version history
Last update:
‎2021-05-11 09:36 AM
Updated by: