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: 
lanlizgu
Creator III
Creator III

NPrinting doesn't render images

I upgraded Qlik NPrinting September 2019 to February 2020 and now it doesn't show images, getting the following error:

lanlizgu_0-1593689497403.png

 

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.

 

Thank you.

 

Best regards.,

Labels (2)
10 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi
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?

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
lanlizgu
Creator III
Creator III
Author

It was not showing the error in the previous version

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi, 

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.

 

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
fjalcazar
Contributor
Contributor

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:

https://[qlik.sense.server]/[prefix]/resources/printing-live.html?callback=qlikprinting&wshost=local...

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.

fjalcazar
Contributor
Contributor

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).

NPrinting server for the left certificate fails to render imagesNPrinting server for the left certificate fails to render images

Ruggero_Piccoli
Support
Support

Hi,

Please:

  1. uninstall the Qlik NPrinting Engine with the error in the certificate
  2. check to be sure that the certificate with the error was removed
  3. install the Qlik NPrinting Engine again

Best Regards,

Ruggero



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
fjalcazar
Contributor
Contributor

Hi Ruggero,

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

Regards,

Francisco

kleedom
Contributor II
Contributor II

Was a solution ever discovered for this issue?  We are seeing a similar error using Feb 2020 release.

Thanks,

Ken

WMLouis
Contributor II
Contributor II

We're also experiencing this with April 2020 release.  Any help would be greatly appreciated.