Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
cjcunningham
Contributor III
Contributor III

NPrint connection to Qlik Sense failing on certificate validation (AWS)

I'm running a single node qlik sense and single node NPrint on separate ec2s in AWS. The NPrint server and single engine are running on the same machine as well. I've had issues for a while now getting the two machines to connect via the qlik sense box's proxy address.

I recently had the two machines joined to the same domain and switched the qlik services to utilize the same windows service domain user account. But that hasn't fixed the issue either so far. I've tried to have all of the ports open that the documentation mention but that's yielded no luck either.

Any advice on this issue would be greatly appreciated. Whenever I run the 'run verification' test via the NPrint console, I don't see any logs on my NPrint server get updated either. 

Here's some specific questions I have.

  • Is there an increased logging I could enable that would give me more details as to why this test is failing?
  • Also if anyone knows the specific ports involved with this connection process that could be helpful too.
  • I've included where I put the certificates on the NPrint machine that I exported from qlik sense.
    • Is it right that all 3 files should be there?
    • I tried exporting them with the secret key and without.
    • I've also tried setting the machine name of the certificates to the NPrint machine's name listed in Window's 'about' page, as well as using its private IP address. I'm uncertain if the machine name provided on the certificate page actually affects anything when the NPrint machine runs with a single NPrint engine.

cjcunningham_0-1713216814759.png

cjcunningham_1-1713216954015.png

 

Labels (2)
3 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi. 

Few remarks:

 

That should do for now.

cheers

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
cjcunningham
Contributor III
Contributor III
Author

Hello, 

Thanks for the info.

  1. I did reinstall nprint on the server after the domain join was complete
    1. The host name did change. As far as I know I'm using the new host name when generating the certificates. 
  2. In our previous qlik environment, running on june 2020 versions, we used the same domain user for qlik sense and qlik nprint. I was under the impression that that was ideal when doing single node environments. 
  3. I've tried using the listed hostname as well as the fqdn and the private ip. Should the secret key be checked? I think I've tried with and without.
  4. I've tried disabling the "Qlik Sense server certificate validation checkbox" and that doesn't seem to have made a difference either.

Is there a log/log level I could utilize to see more specifically what is failing in my testing?

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi @cjcunningham 

hmm I dont know what to say. If you follow istructions and meet all requirements as per documentation you should be ok. You are asking "Should the secret key be checked?" - I say - it was in documentation right there in the step by step video:

Lech_Miszkiewicz_0-1713309959039.png

hence I question if you actually thoroughly studied it and followed it as it is critical to meet all requirements listed there? If you did and you simply missed it - maybe go through it again and pay attention to every detail. All requirements MUST be mets!

Once again regarding the actual error:

https://help.qlik.com/en-US/nprinting/May2023/Content/NPrinting/Troubleshooting/Verify-connection-to...

So my usual steps to troubleshoot something like this are:

Lastly - it is never ideal to use the same service account for both services as it is hard to troubleshoot. Also there is no line in documentation saying that such setup would be ideal so I am wondering where did you take that assumption from. I have had very heated conversation few years ago with qlik employee on that very subject and it turned out that having dedicated accounts solved the problem for me then, so I will always stay by what i said earlier - have dedicated account for NPrinting services (it can be 1 account for all 3 NPrinting services, but different than Qlik Sense service account). I mean-again if you read documentation i provided links to you would see this:

Lech_Miszkiewicz_1-1713311321436.png

Lastly - If you are 100% sure that you met all requiresemtns and you are doing everything by the book / help site and it still does not work then open support ticket with Qlik as in such situation you need someone hands on looking at your environment and you dont want to share details here on community.

additional targeted help site links:

good luck!

 

cheers

Lech

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.