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: 
vgutkovsky
Master II
Master II

NPrinting in a Distributed Environment

I'm trying to get NPrinting On Demand to work. We're using NPrinting 19 and QlikView 11.20 SR15. We have a distributed environment that looks as follows:

NPrinting Environment.png

I've changed the default Web Proxy port from 4993 to 9001 and I'm able to successfully get to the web console by going to https://friendlyurl:9001. This URL is signed with a public certificate, so certificate trust isn't an issue. I've used this same URL when setting up the NPrinting On Demand components on the two web servers. I've set up every possible variation of the web servers as Trusted Origins in NPrinting: (1) https://friendlyurl, (2) https://webserver1, (3) https://webserver1FQDN, (4) https://webserver1IP, (5) https://webserver2, (6) https://webserver2FQDN, (7) https://webserver2IP. I've created an On Demand report in NPrinting and all testing is being done as a user with an Administrator security role (AD username connected to NPrinting user the proper way).

 

However, when I open a QlikView app in IE and click on the On Demand button, I get the following:

NPrinting IE.png

 

When I look in Chrome's console, I get more details:

NPrinting On Demand Error.png

 

Has anyone ever seen anything like this before? I've heard of 401 errors in this case, but how do I fix this 404? Is a distributed environment not supported for NPrinting?

Labels (2)
1 Solution

Accepted Solutions
vgutkovsky
Master II
Master II
Author

OK, final update! I figured out the first issue--it's because I'm not using JWT. For Windows devices that's fine, but you need to use JWT to get On Demand working on iPads. Boom.

View solution in original post

3 Replies
vgutkovsky
Master II
Master II
Author

Update: I was able to get one step further after I uninstalled the On Demand components from the web servers and reinstalled using the actual NPrinting server name (instead of the friendly URL). Very strange, they should resolve as one and the same. The only possible explanation I can think of is that there's some sort of pass-through issue with the Netscaler, but that would be very strange as everything was working just fine with v16.

 

Anyway, now it shows me this in IE after I install the untrusted certificate (public cert is only valid on the friendly URL):

NPrinting IE 2.png

 

I have a report enabled for On Demand. This report uses a Server (not local) connection. And I'm logged on as an admin. NPrinting logs are clean.

 

Any ideas as to either issue would be greatly appreciated!

vgutkovsky
Master II
Master II
Author

Continuing to make progress--I've resolved the second issue. For those interested, the cause was that v19 works differently than v16. In v16, you were allowed to point a report to a QVW other than the one you have currently opened. Meaning, you could embed On Demand objects in App1.qvw and have them point to a report that uses App2.qvw. 

 

In v19, the report QVW must be the same as the QVW as the one you've opened, because NPrinting limits which reports are displayed in the On Demand object based on the currently-open app matching the connection app in NPrinting. Sneaky.

 

Still banging my head against the first issue.

vgutkovsky
Master II
Master II
Author

OK, final update! I figured out the first issue--it's because I'm not using JWT. For Windows devices that's fine, but you need to use JWT to get On Demand working on iPads. Boom.