Problems with jsreport on serverless (lambda)
-
After first request to jsreport.init() server on lambda, jsreport.init() - not worked. All time I waiting answer from jsreport and in end I have answer "Endpoint request timed out". And I have conclusion - jsreport.init() not worked. problem only with starting jsreport.init() after first request.
How fix that it?
-
Question is a little cryptic and I am a noob on this tool but increasing the timeout period to 1 minute (only needs ~30 seconds) and memory for my lambda to 1024 mb helped a lot. I have other issues related to FS on lambda so not a complete solution.