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."
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.
Browse to C:\Program Files\Qlik\Sense\AppDistributionService\appsettings.json
Backup the file, and once done, open it with the software editor of your choice
Locate the following section and modify the ""TimeOutInSeconds" to a higher value. We recommend starting with doubling this value to 600 (10minutes)