Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Qlik Sense - How to increase the App Distribution service timeout setting with QRS?

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Alexis_Touet
Former Employee
Former Employee

Qlik Sense - How to increase the App Distribution service timeout setting with QRS?

Last Update:

Oct 8, 2021 10:17:31 AM

Updated By:

Alexis_Touet

Created date:

Oct 8, 2021 5:51:34 AM

This article explains how to adjust the App Distribution Service (ADS) timeout with QRS. 

By default, the value is set to 300 seconds (5 minutes), which should be fine for small applications.
However, for applications containing a high number of objects, it may be necessary to increase it in order to allow QRS to export the entire content. 

Typical behavior in ADS log is when you can observe the following error entries being printed:

Exception caught sending request to : "https://localhost:4242/qrs/app/<your app ID>/export/<new app ID>?xrfkey=ichbineinberlinR&exportScope=all" Message: "A task was canceled."System.Threading.Tasks.TaskCanceledException: A task was canceled

&

Failed to execute workflow for app id = "<your app ID>". "A task was canceled."

 

Environment

Qlik Sense Enterprise on Windows 

The information in this article is provided as-is and to be used at your own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.

 

How to modify this Value

 

Caution: this procedure will require a restart of the service dispatcher, which will have an impact on end-users. It is recommended to do it during a maintenance/change window. 

  1. Browse to  C:\Program Files\Qlik\Sense\AppDistributionService\appsettings.json 
  2. Backup the file, and once done,  open it with the software editor of your choice
  3. Locate the following section and modify the ""TimeOutInSeconds" to a higher value. We recommend starting with doubling this value to 600 (10minutes) 
    "QRS": {
     "Url": "https://localhost:4242/qrs ",
     "Proxy":
    
    {  "Server": "",  "Port": 0,  "BypassOnLocal": "false"  }
    ,
     "RetryPolicy":
    
    {  "MaxRetries": 3,  "RetryTimeMs": 100  }
    ,
     "TimeOutInSeconds": 600,​
  4. Restart Qlik Sense service dispatcher
  5. Repeat the same on each node doing App distribution to QCS

 

Labels (1)
Contributors
Version history
Last update:
‎2021-10-08 10:17 AM
Updated by: