KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

CloudExport and reverse proxy #3450

Open Kris opened this topic on on Jun 19 - 2 comments

Kris commented on Jun 19

When the site is behind a reverse proxy, cloudexport generates the pdf, but assets (images and css) are missing. I checked the zip file being uploaded, assets are not generated, only the html file.

If the site is not behind reverse proxy, everything works.

Any ideas of how to resolve this

Kris

Sebastian Morales commented on Jun 20

Pls open the tmp html file and check its assets urls to see why a client can not access them. Normally if a client browser can see a report, cloud export could retrieve the report including its assets, too.

EGROW SOLUTIONS, LLC commented 4 days ago

It uses curl to get contents, I found the issue - it is with ssl. if I set CURLOPT_SSL_VERIFYPEER to false - then it works behind reverse proxy, ssl cert is the same that is assigned to host and proxy. I also have cacurl.info set in php.ini to cacert.pem

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
solved

None