I have an existing NPrinting environment where we have enabled windows Authentication and when clicked on the Windows Login icon it gets into the server, while in the new environment have enabled windows Authentication and whe I clicked on the windows login icon it asks for username and password
As it prompts for username and password this is not working as expected for the OnDemand button used in Qlik Sense.
Would be of great help if anyone can share their experience
Please remember that you must add ALL trusted origins that all of your users use to access the Qlik Sense hub.
This is mentioned in the video shared by Lech. https://www.youtube.com/watch?v=eHVBVoLy16Y
This is commonly missed but must be addressed.
A trusted origins is where you access your Qlik Sense hub server address from. This address may be different depending on what you have provided to your end users.
Add each Qlik Sense server address to the 'trusted origins' on the NP server.
If you have added 3rd party certificates to secure the NP server then you must ensure that each client computer has its own computer certificate and root certificate (This is a separate customization from the default installation of NPrinting which may required Qlik Professional Services to help you complete if your deployment is not working for you.)
But I will restate as mentioned near the end of the video and in the resources area of the techspert thursday link below, to ensure that you remove the password from the .key file describe in the article below
(This also shared as part of this Techspert Thursday session https://community.qlik.com/t5/Techspert-Talks/STT-NPrinting-On-Demand-with-Qlik-Sense-Troubleshootin... )
If the NP server is not secured by a 3rd party cert, then also as the video describes, you must log into NPrinting web console first then into the Qlik Sense hub from the same browser in a separate tab.
I encourage you to watch the video and check the resources in the techspert thursday link from end to end as it does cover most scenarios and likely yours as well. But if it doesn't help you, then I would encourage you to contact your Qlik Account manager and request a Professional Services engagement to help you complete your deployment of NP with Qlik Sense On Demand across your enterprise.
It seems that the authentication isn't directly transferred during the call. I don't know any details how it's handled by NPrinting but it mustn't mandatory be a NPrinting setting causing the issue else it might be caused from the network, like restricted ports and/or any proxy-server or stuff like that.
As always there are many moving parts and essentially all setup steps from https://help.qlik.com must be done - so please make sure you search for the OnDemand setup topic in NPrinting section of help and follow all steps.
Symptoms you are saying indicate that:
I have added all the environments as a Trusted login under OnDemand setting on NPrinting server and it didn't ask for password and open the report.. So this is working fine
Another issue am facing with this is -
When a user click on the OnDemand button it gets as error saying " Unable to Connect to server" as and when user open the NPrinting server and then click on the OnDemand button it works fine
Any idea why this is the case? why a user needs to login into NPrinting server before clicking on the OnDemand button.?
Do I have to add /update any setting to make it function smoothly between NPrinting & Qlik Sense
As mentioned before - You must configure 3rd party trusted SSL certificates for Qlik Sense and NPrinting in order to have fully seamless logon. Those typically would need to be FQDN.
also watch this to have full understanding of the problem:
nope, Nprinting is working fine as all the required certificates is installed while installation. the problem I face or any other user faces when they click on ondemand button from Qlik Sense