jsreportonline PDF generation timeout



  • I'm using the jsreportonline (via api) to generate reports. While requesting a new report the report times out after 20 seconds on pdf generation. I do see in the online FAQ that the limits are hard limits.

    My application is currently using a bronze account and I was wondering if the timeout limit can be increased? Here is the exact error we see,

    {"message":"Timeout Error: pdf generation not completed after 20000ms","stack":"Error: Timeout Error: pdf generation not completed after 20000ms\n at Timeout.setTimeout (/app/node_modules/jsreport-chrome-pdf/lib/conversion.js:192:19)\n at ontimeout (timers.js:498:11)\n at tryOnTimeout (timers.js:323:5)\n at Timer.listOnTimeout (timers.js:290:5)"}



  • Unfortunately, these limits can't be changed.

    The 20s should be enough even for a long report. How many pages do you expect on the output?
    Maybe there is a chance you would be able to email me the HTML you use for pdf convert?
    You should be able to get it by running with HTML recipe and saving the output.


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.