NPrinting APIs No Longer Working After Upgrading to NPrinting Nov 2019
We just upgraded our NPrinting instance to the November 2019 version (SR1). (Our Qlik version is also Nov 2019 - Patch 6.) We had been using NPrinting REST connections successfully prior to this upgrade to run NPrinting tasks using Qlik Sense load script. Now, when we try to test the NPrinting Get and Post API connections, we're getting a 401 error: "HTTP protocol error 401 (Unauthorized): Requested resource requires authentication."
We have verified every aspect of the connection settings: we're using Windows NTLM, using an NPrinting user that was created based on the Qlik service account, etc. Like I said, all of this was working prior to the upgrade, but now it isn't.
I've tested the URL we're using with a Chrome browser - and the URL is returning information successfully via Chrome. But not with Qlik.
We're out of ideas - and I'm not finding any posts out there with similar issues. So any help from the Community would be much appreciated.
Re: NPrinting APIs No Longer Working After Upgrading to NPrinting Nov 2019
After some research, I'm realizing that the cookie returned from NPrinting has changed in the November 2019 version. The cookie information returned from NPrinting used to look like this (the red portion is what we parsed out as the final cookie to send back to NPrinting):
There's now a semicolon after the word "Secure", and the phrase "SameSite=None". I'm trying to figure out what text I need to parse out to be able to send back to NPrinting to make an API post call to run a task. Nothing is working for me so far.