Qlik Community

Ask a Question

Knowledge Base

Search or browse our knowledge base to find answers to your questions ranging from account questions to troubleshooting error messages. The content is curated and updated by our global Support team

Announcements
QlikWorld May 10-12, Online and Free! REGISTER NOW

Qlik Sense / NPrinting : Export of maps does not work when using a network proxy

Damien_Villaret
Support
Support

Qlik Sense / NPrinting : Export of maps does not work when using a network proxy

A network proxy can lead to issues when attempting to export maps to PDFs or Images in both Qlik Sense and Qlik NPrinting.


Environments:

  • Qlik Sense Enterprise February 2018 and later
  • Qlik NPrinting February 2018 and later

 

Resolution:

Note: This setting does not work with NPrinting June 2020 and later. Scroll to section "NPrinting June 2020 and later" for the setting to be applied for those versions.


If you use only Qlik Sense Enterprise, you will need to modify the settings file for the printing service: C:\Program  Files\Qlik\Sense\Printing\printing.exe.config
In a multinode environment, the change needs to be done on all nodes with a printing service.

If you use Qlik Sense and NPrinting, you need to modify the engine settings file: C:\Program  Files\NPrintingServer\NPrinting\Engine\engine.config

Changes to be done:

 

For automatic proxy detection:

 

<!-- Disables the proxy server, true for active. default true.-->
<add key="webrenderer-no-proxy-server" value="false" />

<!-- Autodetect proxy configuration, true for active, default false. Web content loading during application startup can be delayed due to 
network proxy resolution-->
<add key="webrenderer-proxy-auto-detect" value="true" />

 

OR set the proxy manually:

 

<!-- Disables the proxy server, true for active. default true.-->
<add key="webrenderer-no-proxy-server" value="false" />

<!-- 
Specify the HTTP/SOCKS4/SOCKS5 proxy server to use for requests. An individual proxy
server is specified using the format: [<proxy-scheme>://]<proxy-host>[:<proxy-port>], example, socks5://127.0.0.1:8888
default: empty
-->
<add key="webrenderer-proxy-server" value="http://proxyserver_name:8080" /> <!-- check the 'name of your server' + port to be used if not 8080 -->

 

NPrinting June 2020 and later

The following setting needs to be applied instead in C:\Program Files\NPrintingServer\NPrinting\Scheduler\renderer.config

For June 2020:

 

  <add key="webrenderer-args" value=";--proxy-server=http://proxyserver:port;--proxy-bypass-list=qlikserver.domain.local" />

 

 

For September 2020 and later:

 

  <add key="webrenderer-args" value="--proxy-server=http://proxyserver:port;--proxy-bypass-list=qlikserver.domain.local" />

 

 


FAQ:

Question: Why Qlik Sense Printing service needs proxy server configuration. 
Answer: Because it needs access to the internet to retrieve map tiles

Question: What data it sends over the internet.
Answer: A request for the map

Question: What data it receives using proxy server.
Answer: The map tiles

Question: Is there any risk involved in opening the internet connectivity on server.
Answer: The same risk you get from opening general internet access to the server. You can whitelist the specific server

Question: Is there any workaround available, which we can perform to export map object to PDF without setting proxy server?
Answer: Allow the server access to a specific site and don't require it to go through the proxy server

Labels (1)
Version history
Revision #:
6 of 6
Last update:
‎2020-12-29 02:43 AM
Updated by:
 
Contributors