Timeout Error - jsreportonline
-
Hello, I'm getting the following error message when executing report:
Error occured - Error during rendering report: Timeout
logs:
+0 Starting rendering request 127947
+3 Rendering template {shortid:BkqeqU00-, recipe:phantom-pdf,engine:handlebars}
+4 Inline data specified.
+7 Executing script BkKxlQWJf
+700 Resources not defined for this template.
+702 Rendering engine handlebars
+1141 Compiled template not found in the cache, compiling
+1167 Replaced images []
+1168 Executing recipe phantom-pdf
+1241 Converting in http server based phantomjs 1.9.8
+1242 Request file:///%2Ftmp%2Fc9a6e1d0-c650-11e7-8ee4-e566cc38d6echtml.html
+1280 phantom-pdf recipe finished with 2 pages generated
+1280 Skipping storing report.
Stak - Error: Timeout
at Timeout._onTimeout (/usr/src/app/node_modules/script-manager/lib/manager-servers.js:137:23)
at ontimeout (timers.js:469:11)
at Timer.unrefdHandle (timers.js:580:5)The report has worked fine up until about an hour ago.
One additional note. About the time the error message started occuring I noticed that I had used up all of my credits. I assumed the error message was due to the fact that I exceeded my credits but I'm still getting the error message even after upgrading my plan.
Any suggestions?
-
We will look into it now...
-
You seems to have attached a custom script with
afterRender
function which is not properly ending withdone()
call.
This means it never stops and the whole template rendering timeouts.
-
Got it... Thank you for the quick response.