When navigating within the QlikView Management Console (QMC) the warning "DSC Cluster did not respond to request. Last exception (for http://<servername>:4730/DSC/Service): The request channel timed out while waiting for a reply after 00:00:30. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding."
The error above may also be seen in the QlikView Distribution Services when a publishing task fails due to this issue....
20190527T002737.055-0500 Error The task "APEx - Dashboard" failed. Exception: || QDSMain.Exceptions.TaskFailedException: Task execution failed with errors to follow. ---> QDSMain.Exceptions.LogBucketErrorException: Searching for "<list of users>" using UserAndGroupName failed. Time=120037ms. Exception=System.ServiceModel.CommunicationException: DSC did not respond to request.
Last exception (for http://<servername>:4730/DSC/Service): The request channel timed out while waiting for a reply after 00:02:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException:
I. Due to the large amount of data being transferred between the Source Directory, the Directory Service Connector (DSC), and QlikView Management Service (QMS) or Distribution Services (QDS) a communication timeout occurred.
In many cases increasing the timeout mentioned below may not fully resolve the issue OR generate unfeasible delays due to an underlying issue with communication between the QlikView Directory Service Connector (DSC) services and the source directory (i.e. Active Directory, LDAP source, etc).
I. For QlikView Management Console, there is a default timeout value of 30 seconds (30000 milliseconds) for any other QlikView service communicating with the Directory Service Connector (DSC). It's a general timeout, handling all calls to DSC for that specific service. To increase this timeout value, a change is needed to the QlikView Management Service (QMS) configuration file - QVManagementService.exe.config located in %ProgramFiles%\QlikView\Management Service.
To make this change follow the below steps:
- Stop QMS and DSC services
- Navigate in Windows File Explorer to %Program Files%\QlikView\Management Service and open the QVManagementService.exe.config file for editing
- Under the under the QlikView Management Service - BACKEND heading, edit or insert (if not present)
<!-- Timeout for DSC Query -->
<add key="DSCQueryCommunicationDefaultTimeoutMilliseconds" value="60000"/>
- Save QVManagementService.exe.config
- Restart QMS and DSC services
II. For QlikView Distribution Services, in order to increase this timeout value, a change is needed to the QlikView Distribution Service (QDS) configuration file located under %Program Files%\QlikView\Distribution Service\QlikviewDistributionService.exe.config.
- Stop QDS and DSC services
- Navigate in Windows File Explorer to the file mentioned above for editing
- Edit or insert (if not present)
<!-- Timeout in seconds for calls to the DSC-->
<add key="DSCTimeoutSeconds" value="240"/>
- Save the file.
- Restart QDS and DSC services.
Something to make note of, when an upgrade
of QlikView is implemented any changes made to the config files are reverted to their default values, so the above change previously implemented would be overwritten. Please document any changes you make to these files so that the necessary configurations can be made when upgrading QlikView in the future.