Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW

CEF rendering errors in NPrinting. Troubleshooting step: use benchmarks to test the importing image process

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

CEF rendering errors in NPrinting. Troubleshooting step: use benchmarks to test the importing image process

Last Update:

Apr 28, 2023 3:29:55 AM

Updated By:

Sonja_Bauernfeind

Created date:

Oct 17, 2018 5:54:07 AM

The benchmark application replicates the steps NPrinting follows to import images from Qlik Sense. It can be used to import many copies of the same image quickly and verify if there are any problems during the process.
This must be used any time a report generation fails with "CEF rendering" error messages in the NPrinting Engine log files.

The benchmark creates specific log files in the NPrinting log folder and saves the imported images in C:\tmp.

Environment

NPrinting 18 April release and higher

 

Cause:

CEF rendering errors became quite common and the logs are not detailed enough to understand the cause of the problem.
The test described here gives useful information to troubleshoot the problem.

Resolution:

Here are the steps to configure the Benchmark:

  1. Download the zip file from here (GitHub) or use the direct download link (GitHub).
  2. Etract it in C:\Benchmark\ on the machine where NPrinting Engine is installed. 
  3. Open the Engine.Navigator.QlikSense.Benchmarks.exe.config file in C:\Benchmark\Engine.Navigator.QlikSense.Benchmarks with a text editor program.
  4. It is necessary to re-configure the connection to Qlik Sense. Follow these steps:

    In <!-- Sense user identity -->

    <add key="bench-user-identity" value="domain\UserName" />

    Add the user domain and name as it is in the NPrinting connection

    In <!-- Sense url -->

    <add key="bench-proxy-url" value="https://qlikserverName" />

    Add the Qlik Sense Server Proxy address as it is in the NPrinting connection.

    In <!-- Sense app name -->

    <add key="bench-app-name" value="PxP training Executive Dashboard" />

    Add the Sense app name (not the app ID).

    In <!-- Sense object ids to print in the app, each navigator will render in the specified sequence the ids -->

    <add key="bench-obj-ids" value="OjectID" />

    Add the ID of the image that you are importing in the report. The image ID can be seen in the NPrinting template.

    In <!-- number of NPrinting printing identical cloned request per navigator process call -->

    <add key="bench-request-number" value="10" />

    Specify how many times the image must be imported. For troubleshooting purposes, 10 can be considered as the minimum.

  5. Stop the NPrinting Engine and the NPrinting Scheduler services.
  6. Double-click on Engine.Navigator.QlikSense.Benchmarks.exe to start the application.

Collect the logs in the NPrinting logs folder and check if the images are generated in C:\tmp. Verify that all the images are there and how is the image quality.

Labels (2)
Comments
SonPhan
Partner - Creator
Partner - Creator

Hi Sonja,

the download file is not available, is there any other way to get access to the file?

Best regards Son

Sonja_Bauernfeind
Digital Support
Digital Support

Hello @SonPhan

I'll speak to our Support team to see where the file went. Thanks for flagging this!

Update: we have the file available; if you need it currently please direct message me.

All the best,
Sonja

David_Friend
Support
Support

@SonPhan do you still need it

lcasbyapr
Contributor
Contributor

I need it. How can I get it?

Sonja_Bauernfeind
Digital Support
Digital Support

Hello @lcasbyapr 

I got in touch with you through direct messages.

All the best,
Sonja 

Sonja_Bauernfeind
Digital Support
Digital Support

The file download link is functioning as intended again.

Version history
Last update:
‎2023-04-28 03:29 AM
Updated by: