Hi is there something to know who is sending the request and what's the body being sent for specific template?
Posts made by Dhurba123a
-
Get Request Details
-
RE: Jsreport getting down
2022-09-13T06:43:22.347Z - error: Error during processing request at http://52.66.136.198: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 -
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.
-
RE: How to handle if the src given in docx Hyperlink image is not available.
What happens when the image is not available? It's giving Error: Error while executing docx recipe. getaddrinfo ENOTFOUND image.
Is there any way around so that I can render remaining part of the report if image is not available. Please help..its urgent -
How to handle if the src given in docx Hyperlink image is not available.
Hi, We are using docx report to generate the report. But when hyperlink is given to image and if the image is not available it Throws error 'Error: Error while executing docx recipe. getaddrinfo ENOTFOUND picsm.photos\n at module.exports ...........'.
Is there any other methods I can render images ? for example with base64?
and if the image is not available can I show nothing? -
RE: Get Response Headers Data
Thanks for replying. Anyway the problem is solved. I am using nodejs get router to make user download their reports using res.sendFile('Path of the report saved in jsreport directory').
Now we've come across new doubt. i.e We have docx file with table inside. When I write condition to check if the data exists in columns, if the data are not present I want whole row to be removed. But When I write if condition Text are being deleted but the empty row popups. What can be done? How to delete whole row or column when there is no data present in request body? -
RE: Get Response Headers Data
FYI, Our team has bought JS REPORT license for lifetime. Please Help. Thanks
-
RE: Get Response Headers Data
I want the complete downloadable url of the generated report with the extension, so that I can send it through API to the Client. As of now, I'm getting permanent-link as a url. But Client is not able to download this file from their end without extension and Proper file Name. Can you help.................
-
RE: Get Response Headers Data
Thank you for the reply. I am able to get the headers now. I have configured the JS report as in doccumentation and created some templates. Now my concern was, will my templates and data be safe? I mean, are my data and templates accessible by JSreport? or only I will have my data and templates with myself locally? Please answer.
-
RE: Get Response Headers Data
var data = { template: {"name": templateName}, data:{ "aadhaar-number": aadhaarNumber, "verification-date": now, "verification-done-by": verificationDoneBy, "comments": comments, "client-name": clientName, "client-address": clientAddress, "client-branch": clientBranch, "src": `data:image/png;base64, ${base64data}`, "date": now }, options: { reports: { "save": true } } } var options = { uri: 'http://localhost:8001/api/report', method: "POST", json: data, } request(options).pipe(res);
So here, Now I can get the response as a file saving in the disk. But I need to send response as a json, which includes the permanent-link, blob-name, report-id.
-
Get Response Headers Data
Hi, I am using express server POST request to submit data to jsreport server and its working fine. I need the permanent-link and blob name and other data as well. If I send post request from the postman, The headers are being printed as permanent-link and all. But In express route, How do i save these data and send the response. Please Help