I upgraded Qlik NPrinting September 2019 to February 2020 and now it doesn't show images, getting the following error:
the preview request failed with messaje: object 'xxx' from sense app 'xxx' had problems when rendering. Error cef. rendering exception. error during GRPC request. error: engine.Navigator.QlikSense.sdk.rendering.mashuploadexception: request with id 'xxx' failed with remote error errorloadurltimeoutresult, mashup failure
I have QlikSense June 2020.
in my opinion it is not supported configuration.
Nprinting February 2020 cannot support Qlik Sense 2020 as it could not be tested with this version of Qlik Sense.
I thought it is logical, isnt it?
I understand that it "could" work with the previous version but it still does not mean it was supported.
The other thing you can check is the Cipher Suits: see this for reference:
But the first thing to do is to make sure you are running supported configuration.
I am facing the same error for Qlik Sense & NPrinting September 2020 versions. On-demand works as long as no images are included, otherwise the report keeps running for 10 minutes and then it fails.
I can see remote error ErrorLoadurlTimeoutResult in the NPrinting engine log.
The reporting web renderer log (reporting_web_renderer.log) has entries like the following one:
[2020-10-01 12:57:37.851261] error, LoadAndRenderChart failed img=worker_29_1w_imgidx_028_navid_fd6a9d2c0d914625bc93afc0394be0be_rid_49cabc13ea424da8a89e05bbbb452708 error=task LOAD_URL_TIMEOUT, result: ERROR_LOADURL_TIMEOUT_RESULT, the rendering page could not be loaded, check the URL
I went over Article 000056332, NPrinting Troubleshooting Steps for the GRPC and or CEF Image Error, without any luck.
I have also successfully tested the Qlik Sense Printing Mashup, as detailed in Article 000058162, NPrinting incorrect image from Sense or CEF rendering error. First test.
As a workaround, creating a HTML report and embedding the Qlik Sense chart within an iframe does work, but this is only possible with HTML reports.
Finally, I am checking the URLs referenced in the reporting_web_renderer.log file, such as:
If I use that printing-live.html URL with parameters wshost=localhost and wsport=2727 I get a certificate validation error when trying the same method as in Article 000056332:
Error in connection establishment: net::ERR_CERT_COMMON_NAME_INVALID
The moment I take out those 2 parameters the Qlik Sense chart gets rendered succesfully.
I have compared SSL certificates added by the NPrinting Engine installer from 2 different environments. The one that is failing to render images has a validation error on the localhost certificate (left image), whereas the one that works shows no validation error (right image).
Installing again the NPrinting Engine fixed the localhost certificate issue. Uninstall process took care of removing the certificates from the computer. New certificates were created by the NPrinting Engine installer afterwards and validation is now successful.
However, my 1st issue with on-demand reports containing images continues with no changes. This is an extract from the reporting_web_renderer.log file. I am not sure which URL the message is referring to. NPrinting connection to Qlik Sense gets validated successfully and metadata refresh completes with no issues.
[2020-10-01 18:14:14.950569] img common details processing_img=worker_17_1w_imgidx_016_navid_8647aab45a224a32baf18740fb04a155_rid_cc3b49b0e2034616a03953b795e86fb7 object_id=MYydCSV width=800 height=810 dpi=96 zoom=1 worker_pool_id=17 url=https://[qlik.sense.fqdn]/[prefix]/resources/printing-live.html?callback=qlikprinting&wshost=localhost&wsport=2727&opt=noanimate&wssecure=1&driverid=17_1w
[2020-10-01 18:14:15.024852] process message browser=10420 status=started
[2020-10-01 18:14:21.118657] Stat: WorkerpoolId=17 Queuelen=0
[2020-10-01 18:14:21.118664] state count stat=RUNNING worker_count=1
[2020-10-01 18:14:45.035179] process message browser=10552 status=started
[2020-10-01 18:14:45.039870] process message browser=10420 status=stop
[2020-10-01 18:14:45.101635] process message browser=11180 status=started
[2020-10-01 18:14:45.104425] process message browser=10552 status=stop
[2020-10-01 18:15:14.952131] processed request id=worker_17_1w_imgidx_016_navid_8647aab45a224a32baf18740fb04a155_rid_cc3b49b0e2034616a03953b795e86fb7 valid=false render_msec=60002
[2020-10-01 18:15:14.952146] error, LoadAndRenderChart failed img=worker_17_1w_imgidx_016_navid_8647aab45a224a32baf18740fb04a155_rid_cc3b49b0e2034616a03953b795e86fb7 error=task LOAD_URL_TIMEOUT, result: ERROR_LOADURL_TIMEOUT_RESULT, the rendering page could not be loaded, check the URL