Jsreport getting down
Hi, We have hosted jsreport in aws Linux. Sometimes the jsreport crashes and I have to restart the server again and again. Are there any requirements to host jsreport? Kindly help. Its been more than a month we are facing this problem.
2022-09-13T06:43:22.347Z - error: Error during processing request at http://18.104.22.168:8002/api/report, details: Timeout when waiting for worker, stack: Error: Timeout when waiting for worker
at Timeout._onTimeout (/var/www/html/node_modules/@jsreport/advanced-workers/lib/pool.js:78:27)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)
This is the error we are getting.
by the way we have more than 20 report templates in jsreport? Is there any minimum requirements that we need to deploy on ? If any of the template could not render or throws error, whole application is getting down. Please Help
Are there any requirements to host jsreport?
jsreport basically evaluates your code, so it depends on what you do.
Timeout when waiting for worker, stack: Error: Timeout when waiting for worker
This error means that jsreport is busy processing the other requests.
workers.numberOfWorkersdetermines how many requests can be processed in parallel. You could try to increase it.
Are you able to replicate the problems localy outside aws? Would you be able to provide us some steps we could follow in order to reproduce it?
I have done some load tests and there seems to be some problem in the chrome version used in the 3.7.1. We will release today jsreport 3.8.0 with the updated chrome which should eventually fix this.
The 3.8.0 is published, please try it out.
Okay, Thanks. We'll check