Hello!, I´m sorry, I've set greater numbers but does nothing, it always throws timeout exception with 10000ms.
Posts made by Jose David
-
RE: Timeout issue when rendering xlsx using reportingService . Net6 jsReport 3.8.1
-
Timeout issue when rendering xlsx using reportingService . Net6 jsReport 3.8.1
Hi!, I'm unable to increase the timeout for rendering an excel file using ReportingService:
This is the code that I have so far:
var rs = new ReportingService(url, userName, password) { HttpClientTimeout = TimeSpan.FromMinutes(10)}; var generatedExcel = await rs.RenderAsync(new RenderRequest { Options = new RenderOptions { Timeout = 10000, }, Template = new Template { Recipe = Recipe.HtmlToXlsx, Engine = Engine.JsRender, Content = table, }, });
When I execute that code I get the following error:
"Unable to render template. Timeout Error: script evaluation not completed after 10000ms"
This is with large ammount of data.
How can I Increase the timeout?
Thank you for your help!
-
[JSReport Azure, C# .Net 6] Error rendering report: instance has been daemonized and initialized successfully
Environment:
Platform: Azure - Linux
Language: C# .Net 6
JSReport Version: 2.11.0
Recipe: html-to-xlsxHi, I'm having the following exception when trying to render a report using html-to-xlsx recipe:
"Error rendering report: instance has been daemonized and initialized successfully (pid: 703428)rendering has finished with errors:A critical error occurred while trying to execute the render command (2). Error while executing html-to-xlsx recipe. Failed to launch chrome!/agione-temp/compile/jsreport-2.11.0-BkQPrWToP/chrome/chrome: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directoryTROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md (1). caused by error (2):-> stackError: at onCriticalError (/snapshot/jsreport/node_modules/jsreport-cli/lib/commands/render.js:302:19) at /snapshot/jsreport/node_modules/jsreport-cli/lib/commands/render.js:256:14 at processTicksAndRejections (internal/process/task_queues.js:97:5)caused by error (1):-> stackError: Error while executing html-to-xlsx recipe. Failed to launch chrome!/agione-temp/compile/jsreport-2.11.0-BkQPrWToP/chrome/chrome: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directoryTROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md"
I would appreciate any guidance on how to resolve this error and successfully render the report. Please let me know if you require any further information.
Thank you for your assistance!