My request to jsreportonline
const res = await client.render(
{
template: { name: 'unica-pdf' },
tasks: {},
data: { promoters: templatePromoter },
},
{ timeout: 180000 }
)
Returna after 31 seconds:
Error: The communication with your dedicated container crashed (during worker execute). This is usually caused by reaching provided resources limits. The container is now about to be restarted. Error when communicating with worker: socket hang up\n' +
' at processDockerWorkerError (/usr/src/app/lib/main/errorNotifications.js:68:18)\n' +
' at Object.execute (/usr/src/app/lib/main/dockerWorker.js:42:31)\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at async MainReporter.executeWorkerAction (/usr/src/app/node_modules/@jsreport/jsreport-core/lib/main/reporter.js:582:22)\n' +
' at async MainReporter.render (/usr/src/app/node_modules/@jsreport/jsreport-core/lib/main/reporter.js:478:30)'