Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I just finished a fresh install of Qlik NPrinting May 2021 SR2 and am looking to connect to Qlik Sense which is also on May 2021 (Patch 4).
When verifying the connection, I get all green checkmarks, but when it comes time to generating the Qlik metadata, it just times out with no intelligent error message:
When I check the NPrinting log files, I do see this:
20211124T113220.167-05:00 [39] INFO Engine.Navigator.QlikSense.SDK.Rendering.SenseAuthenticator - Engine.Navigator.QlikSense.SDK 21.14.5.0 Engine.Navigator.QlikSense.SDK.Rendering.SenseAuthenticator 20211124T113220.166-05:00 INFO MYNPRINTINGSERVER1 0 0 0 0 0 0 0 0 trying to get login cookie via a qlikTicket from: https://MYQLIKSENSESERVER1.fss.anitech.com/hub/?qlikTicket=CLjdwBN92wWXWzwJ
And then right above it, I see:
20211124T110319.461-05:00 [26] ERROR Engine.Navigator.QlikSense.SDK.Rendering.SenseAuthenticator - Engine.Navigator.QlikSense.SDK 21.14.5.0 Engine.Navigator.QlikSense.SDK.Rendering.SenseAuthenticator 20211124T110319.461-05:00 ERROR MYNPRINTINGSERVER1 0 0 0 0 0 0 0 0 An issue occurred in MashupServer.GetAuthenticationCookiesAndConsumeQlikTicket. Proceeding anyway by using Windows authentication to load the mashup page. ERROR: System.Net.WebException: The remote server returned an error: (400) Bad Request.↓↓ at System.Net.HttpWebRequest.GetResponse()↓↓ at Engine.Navigator.QlikSense.SDK.QRSApi.TryGetResponse(HttpWebRequest request) in C:\Jws\release-may2021-QJBWLpX4f\server\NPrinting\src\Engine.Navigator.QlikSense.SDK\QRSApi.cs:line 92↓↓ at Engine.Navigator.QlikSense.SDK.QRSApi.GetQlikTicket(QlikSenseConnectionString conn) in C:\Jws\release-may2021-QJBWLpX4f\server\NPrinting\src\Engine.Navigator.QlikSense.SDK\QRSApi.cs:line 437↓↓ at Engine.Navigator.QlikSense.SDK.Rendering.SenseAuthenticator.GetAuthenticationCookiesAndConsumeQlikTicket() in C:\Jws\release-may2021-QJBWLpX4f\server\NPrinting\src\Engine.Navigator.QlikSense.SDK\Rendering\SenseAuthenticator.cs:line 98↓↓ at Engine.Navigator.QlikSense.SDK.Rendering.SenseAuthenticator.RefreshAuthCookies() in C:\Jws\release-may2021-QJBWLpX4f\server\NPrinting\src\Engine.Navigator.QlikSense.SDK\Rendering\SenseAuthenticator.cs:line 74
Aside from generating the certificate from the Central node and copying it over to the NPrinting server, are there any other steps I need to take to get past this? The NPrinting metadata generation only fails because it seems like it's just simply timing out. Not sure where else to be looking. For background information, we also have three rim nodes which are used as load balancing engines, but I don't think I need to generate anything from them.
Thanks for your time!
Hello @QlikToFindOut
This should be straightforward operation.
Based on your description and response to Lucas, then there is a good chance that you may not have exported the certificates correctly from the Qlik Sense server.
To do so, I suggest exporting again as follows:
1. Re-Export Certificates from Qlik Sense correctly and copy to your NPrinting server
2. June 2019 and Later Versions of NPrinting:
3. Restart all NPrinting services
Let us know how it goes...
Is the URL you are using for the Poxy address for the connection configuration in Nprinting a loadbalancing URL? If so that is more than likely the culprit.
Hello @QlikToFindOut
This should be straightforward operation.
Based on your description and response to Lucas, then there is a good chance that you may not have exported the certificates correctly from the Qlik Sense server.
To do so, I suggest exporting again as follows:
1. Re-Export Certificates from Qlik Sense correctly and copy to your NPrinting server
2. June 2019 and Later Versions of NPrinting:
3. Restart all NPrinting services
Let us know how it goes...
A couple more things.
Check that the necessary ports - in and out - between the NP server/engine computer and the Qlik Sense server are opened.
The necessary ports are listed here.
If you are using a prefix in the virtual proxy path, make sure that this is included in the NPrinting connection address field
Go back and make sure that your proxy address is to a virtual proxy which uses Windows Authentication. Other Auth methods will not work with NPrinting. Check the requirements at the link below
Interesting point @Frank_S regarding certificates. @QlikToFindOut says "When verifying the connection, I get all green checkmarks" which typically means ports and certificates are ok, but you are right - logs are showing issue with authentication and obtaining a cookie.
Does it mean there is a small chance of false/positive when running verification or would that be a very odd incident?
thanks
Lech
The original response is just the first step in troubleshooting this type of issue which we request to be performed in most cases...even if the verification is all green.
Please let us know if performing the certificate re-export worked for you or not.
If not we may need to perform a deeper support desk investigation to look into this for you.
Keep in mind Qlik Sense requirements as well. I am sharing here for your convenience.
Also check your QVF for the unsupported items mention in the link below:
If none of the above applies to your situation, please start a support request so we can investigate further where we will perform an in depth review of your NPrinting and Qlik Sense logs. Please do not post those in this public forum as they may contain sensitive internal server information.
kind regards...
This was it, thanks!
No Worries @QlikToFindOut
I'm please to hear it!
In my case the below setting solved the issue:
In the NP webconsole, go to Admin>Settings>Task
In the Security section, uncheck the box for 'Apply Qlik Sense server certificate validation' and click update. If you are publishing reports back to the QlikSense hub this is needed, otherwise you don't need it turned on.