What to do if getting the error TimeoutException: Se excedió el tiempo de espera de la operación?

What to do if getting the error TimeoutException: Se excedió el tiempo de espera de la operación?

FIRST CREATED ON 19 Feb 2024  I  AUTHOR Emma Camacho


When running a task that connects to a Qlik Sense Datasource that is very big and complex that even when accessing it within the Qlik Sense Hub takes a lot of time to load, the following error might appear in the Execution Calendar.


Issue


A JSON RPC connection error has occurred.


Stack Trace 


JsonConnectionRpcException: A JSON RPC connection error has occurred.
en MailAndDeploy.Server.Json.Rpc.JsonRpcConnection.Receive(TimeSpan pTimeout)
en MailAndDeploy.Server.Json.Rpc.JsonRpcConnection.Send(JsonRpcRequest pRequest, TimeSpan pTimeout)
en MailAndDeploy.Server.Connectors.QlikSense.Model.QsApp.EstablishRpcConnection()
en MailAndDeploy.Server.Connectors.QlikSense.Model.QsApp..ctor(QsConnector pConnector, String pAppId)
en MailAndDeploy.Server.Connectors.QlikSense.QsConnector.OpenApp(QlikSenseAppDatasource pDatasource, UserIdentity pIdentity)
en MailAndDeploy.Server.Execution.TaskExecutionContext.GetDatasourceConnector(Datasource pDatasource)
en MailAndDeploy.Server.Persistency.Entities.FilterDatasourceFieldAction.ExecuteAction()
en MailAndDeploy.Server.Persistency.Entities.Action.Execute()
en MailAndDeploy.Server.Persistency.Entities.Report.CreateReportDocument(FileType pFileType, IEnumerable`1 pParameterValues, Action[] pCustomPreparationActions)
en MailAndDeploy.Server.Persistency.Entities.CreateReportDocumentSpecification.CreateReportDocument()
en MailAndDeploy.Server.Persistency.Entities.CreateReportDocumentAction.ExecuteAction()
en MailAndDeploy.Server.Persistency.Entities.Action.Execute()
en MailAndDeploy.Server.Persistency.Entities.Task.Execute(IEnumerable`1 pParameterValues)
TimeoutException: Se excedió el tiempo de espera de la operación.
en MailAndDeploy.Server.ExtensionMethods.Await[T](Task pTask, TimeSpan pTimeout)
en MailAndDeploy.Server.Json.Rpc.JsonRpcConnection.Receive(TimeSpan pTimeout)


Resolution


Install version 3.5.11 or higher as the timeout for opening Apps in Qlik Sense was increased.

For more information, see https://help.mail-and-deploy.com/docs/version-3511