Issues

Select view

Select search mode

 

Generate PDF with Image from s3/HTTPS resources not show up in JDK 11

Environment

Lucee 5.3.8.181
Pdf ext 1.0.0.97
docker-commandbox 5.3.1 (image: amd64-3.4.0) with jdk 11

Attachments

4

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 22 June 2021 at 11:29
Updated 5 July 2022 at 06:22

Activity

Show:

Pothys - MitrahSoft5 July 2022 at 06:21

Another user has affected by this issue: https://dev.lucee.org/t/exception-on-https-resources-in-pdf-extension-with-classic-rendering/10579

updating the PD4ML library will be the solution for this issue

Andri Senjaya22 April 2022 at 09:53

with your solution the image from s3 is work with cfdocument classic, but this solution has a problem with memory. When I try with big image or with small image after several time I test, I get JAVA HEAP SIZE error problem.

and also in my application I have a feature to save the html template, and when I save the html with above solution, the file become very big, because the image binary is included in the template.

maybe you have another solution for this?

Andri Senjaya8 April 2022 at 04:04

when I tested with your above script, it works. attach is the pdf result

Pothys - MitrahSoft7 April 2022 at 07:08

I hope this workaround will work. can you please try this workaround and report the results here?

Andri Senjaya9 February 2022 at 06:00
Edited

Can you try this link

https://temp-public-202201.s3.eu-central-1.amazonaws.com/lasthope.jpg?response-content-disposition=inline&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEMf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaDGV1LWNlbnRyYWwtMSJHMEUCIQCj9pj88SexZHe1MzWNiViLB7%2FBfKq7uCf3y3An5EtSVgIgWT%2FNcn0QCT3%2FZ5CLwj%2BaLmSmXGg3yLpTynW38lyDXjsq%2FwIIEBACGgw5MzgzNTUzNzM5NDAiDPvsLByTok%2FWP6vaXyrcArnmOm0MmIfeFVQYt%2FENhbvkEnltCNM8GkwkQJyuKHldTj3kVz80vsku924mC5XdBZ5GLxj7Wr1ShFg55hNUzBm%2Fo%2Fn6%2BfWk3sGnG1fuvaAgfriIM7LQugteeV7Ish9QYWMPh4gj2IZOuMT%2BJvOmjMSkmJLfRlgl4DoS2B4JOcbPQmWXTZ81ZAFhPMAdTpuu%2FCqlbNn2ulxIX5g0Pm1HCQ%2B2AOeIstYpCmO%2Fh%2BNFepP1dLpFATM6gi8UPTyi2ft89YgyFRJdGFVDRC5XghOp2W2j6RxGvw67RwDKAbrTEArSNKx6wlgP7YOCnt43awzYeN7ddo7t95fXNvs1j1hxmRoKroZX3gGy7axZNqpDcPiVMgodnGiWKez2vMoGQaVr3JvqFi1unUMexvIGXIZGEI2%2Fbx30gblKSG57hN98HHwN3HjG1QQxZkzHLTzvyQRqIK5D7oNmahG8J7REVDCjv42QBjqzAvPn6KPxc2pbO%2BVqEtOf5XkHOZ%2F%2Bc1KTp4Y4qpMyDSlLXawNN4RBBPjAHldiBYDLN1W5mqQdE%2BRQ6lCUSeSSPJuTqdjrAVF81osWQ71GJowuFIkArjCVxEGRtRzAWmOC6cwABur4nPjkeFDccApr51ZspgMTH33GZHHJGX%2Bky08U0Ij5KL3Ygp%2Bh8UjGkoPdtvqCjFkF4QxFdH965lvhw%2BhxRqnNlkc4sPEj0%2BTMYc5wQ%2FUyC6DIcHArpjX1L%2BbqfroPLtAmsPyfGbMuGJEdqdkNka2KcqcsDXn4nuXcGiB9yDIPvGqk5VuI7xv2fFeW0VC6YbEjbiLjpZDat5o%2Brg7RBvIrC0HyoqIWUkXRFYY2tpqHiC9yzparnwRIHIQsiInOWFV381EXt3lUVQ2IHjLD2%2B4%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20220209T063455Z&X-Amz-SignedHeaders=host&X-Amz-Expires=604800&X-Amz-Credential=ASIA5U6SWW52MM7M3Q65%2F20220209%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Signature=9b16e73cb4fa574b1c62e7c4f5869fed1411d59aa13883f4a2dcbe9dcec6c40e

 

this valid for 7 days

Flag notifications