We are facing an issue while rendering Chart.js line chart with dynamic data passed from API. It goes into a Timeout issue when trying to render the chart.
Also wait for printing trigger is enabled. And this was working before well but suddenly the report seem to throw this timeout issue.
Dynamic Data trace:
{ message:
'Error during rendering report: Timeout when executing in phantom',
stack:
'Error: Timeout when executing in phantom\n at Timeout._onTimeout (/home/ubuntu/report_server/node_modules/jsreport-phantom-pdf/node_modules/phantom-html-to-pdf/lib/dedicatedProcessStrategy.js:89:26)\n at ontimeout (timers.js:466:11)\n at Timer.unrefdHandle (timers.js:578:5)' }
Below are the Stack trace for static data as well.
Error occured - Error during rendering report: Timeout when executing in phantom
Stak - Error: Timeout when executing in phantom
at Timeout._onTimeout (/home/ubuntu/report_server/node_modules/jsreport-phantom-pdf/node_modules/phantom-html-to-pdf/lib/dedicatedProcessStrategy.js:89:26)
at ontimeout (timers.js:466:11)
at Timer.unrefdHandle (timers.js:578:5)
Tried with a static data too but still not working. We are using version 1.9.1 enterprise license and phantom.js 1.9.8
Help is appreciated.