Timeout using ReportingService
-
Hi, I use ReportingService and configure the HttpClientTimeout property with = TimeSpan.FromMinutes(10).
But, in 5 seconds, jsReports throws a timeout exception.(I use pdf-utils in my example)
How can I configure the timeout?Thanks
-
The exception says:
"Unable to render template. Timeout during evaluation of pdf-utils operations"
-
Please increase
templatingEngines.timeout
config.If you use c# jsreport types use this prop.
-
I'm using this class:
https://github.com/jsreport/jsreport-dotnet-client/blob/master/jsreport.Client/ReportingService.csBut, there isn't any templatingEngines.timeOut property
-
In this case you are trying to communicate with the remote jsreport on prem server?
You need to configure it injsreport.config.json
with{ "templatingEngines": { "timeout": 99999" } }
-
Perfect, resolved!
Thanks @jan_blaha