- Home
- Forum
- ASP.NET Core - EJ 2
- Deployment in AWS EBS of Html to pdf conversion on linux
Deployment in AWS EBS of Html to pdf conversion on linux
Hi Team,
Attachment: DocConverterApi_8411b4e7.zip
I am getting error like "No such file or directory" while calling html to pdf conversion method.
Our project is deployed in AWS EBS Linux instance and we also installed prerequisite for Linux event though it is not working.
We have followed your documentation completely. PFA
Your help must be appreciated.
Attachment: DocConverterApi_8411b4e7.zip
SIGN IN To post a reply.
11 Replies
SL
Sowmiya Loganathan
Syncfusion Team
January 26, 2021 01:14 PM UTC
Hi Ranjit,
Thank you for contacting Syncfusion support.
We have analyzed the reported issue and currently we are working on this. We will update the further details on January 27, 2020.
Regards,
Sowmiya Loganathan
RS
Ranjit Sharma
January 28, 2021 09:26 AM UTC
Hi Sowmiya,
Any Updates ?
It is very urgent for us.
SL
Sowmiya Loganathan
Syncfusion Team
January 28, 2021 12:21 PM UTC
Hi Ranjit,
Thank you for your patience.
At present, we do not have direct support for converting HTML to PDF in AWS environment. Our converter requires some dependencies packages for converting HTML to PDF in AWS, currently we do not have commands to install those dependencies packages in AWS environment. However, we can convert the HTML to PDF document by using Docker container with AWS, here, we can add those dependencies packages in a docker file.
Please refer to this below link for converting HTML to PDF in Linux docker container.
Please let us know if you need any further assistance with this.
Regards,
Sowmiya Loganathan
RS
Ranjit Sharma
January 28, 2021 12:24 PM UTC
Hi Sowmiya,
Thanks a lot for replying,I will try your suggestion and come to you if needed.
Regards,
Ranjit Sharma
RS
Ranjit Sharma
February 18, 2021 09:51 AM UTC
Hi Sowmiya,
I had tried your suggestion but getting an error. Could you please provide us a sample lambda function ?
{
"errorMessage": "RequestId: c35a198e-2380-4e2d-ad37-1e617c5143c0 Error: Couldn't find valid bootstrap(s): [AWSLambda2::AWSLambda2:Function::FunctionHandler]",
"errorType": "Runtime.InvalidEntrypoint"
}
"errorMessage": "RequestId: c35a198e-2380-4e2d-ad37-1e617c5143c0 Error: Couldn't find valid bootstrap(s): [AWSLambda2::AWSLambda2:Function::FunctionHandler]",
"errorType": "Runtime.InvalidEntrypoint"
}
Regards
Ranjit Sharma
GK
Gowthamraj Kumar
Syncfusion Team
February 19, 2021 05:45 PM UTC
Hi Ranjit,
Thank you for your update.
As we said earlier, we do not have direct support for converting HTML to PDF in AWS Lambda function. Our converter requires some dependencies packages for converting HTML to PDF in AWS Lambda, currently we do not have commands to install those dependencies packages in AWS environment, it does not work in AWS Lambda function. We have asked raised a query about dependencies installation in AWS forum. Once we got or find any solution to install the packages, we will let us know the details in this forum.
However, we did not face this type of error “Couldn't find valid bootstrap(s): Runtime.InvalidEntrypoint” before on our end and we suspect that the error raise from AWS runtime. Can you please share the sample which you are facing this error, or steps to replicate this on our end.
Currently, we have sample for converting Html to PDF using Linux docker container and we will deploy the sample in AWS environment and provide the details on February 23rd 2021.
Regards,
Gowthamraj K
GK
Gowthamraj Kumar
Syncfusion Team
February 24, 2021 05:39 PM UTC
Hi Ranjit,
Sorry for the inconvenience caused.
Currently, we are facing an complexing in AWS environment and we will create a sample for converting Html to PDF using Linux docker container and we will deploy the sample in AWS environment and provide the details on March 1st, 2021.
And, we did not face this type of error “Couldn't find valid bootstrap(s): Runtime.InvalidEntrypoint” before on our end and we suspect that the error raise from AWS runtime. Can you please share the sample which you are facing this error, or steps to replicate this on our end.
Regards,
Gowthamraj K
GK
Gowthamraj Kumar
Syncfusion Team
March 1, 2021 05:05 PM UTC
Hi Ranjit,
Can you please share the sample which you are facing this error “Couldn't find valid bootstrap(s): Runtime.InvalidEntrypoint”, or steps to replicate this on our end.
Regards,
Gowthamraj K
RS
Ranjit Sharma
March 16, 2021 09:12 AM UTC
Hi Gowthamraj,
Attachment: dockerprojects_e41fd819.zip
Sorry for late reply, I was busy on some other stuff.
I have fixed “Couldn't find valid bootstrap(s): Runtime.InvalidEntrypoint” issue, it occurs due to .Net version mismatch but still not able to generate html to pdf file.
Regards
Ranjit Sharma
Attachment: dockerprojects_e41fd819.zip
GK
Gowthamraj Kumar
Syncfusion Team
March 17, 2021 06:01 PM UTC
Hi Ranjit,
Thank you for your update.
Kindly please share the more details about your actual issue such as error or log details or screenshot, output document, complete input HTML file/URL (with all resources styles, scripts, etc.,) to reproduce the issue on our end. So, that it will be helpful for us to analyze and assist you further on this.
Please refer the below troubleshooting link for more information,
Regards,
Gowthamraj K
GK
Gowthamraj Kumar
Syncfusion Team
July 4, 2022 12:37 PM UTC
Hi Ranjit,
We can able to convert the Html to PDF document by using Blink rendering engine in AWS lambda. Please refer to the below documentation steps to convert html to pdf in AWS Lambda,
https://www.syncfusion.com/kb/13523/how-to-convert-html-to-pdf-in-aws-lambda
Please let us know if you need any further assistance in this.
Regards,
Gowthamraj K
SIGN IN To post a reply.
- 11 Replies
- 3 Participants
-
RS Ranjit Sharma
- Jan 25, 2021 09:52 AM UTC
- Jul 4, 2022 12:37 PM UTC