Error when communicating with worker: socket hang up JSreportOnline
-
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)'
-
Please check the following docs, specifically ARIA and the images part.
https://jsreport.net/learn/chrome-pdf#performance-optimizationIf this won't help, please reach us at support@jsreport.net with your subdomain name.
We will take a look if there is something we can do to help.