[Simple Reports With PDF] 404 not found: No content in pdf

Forge Component
Published on 2017-01-05 by Huarlem Lima
11 votes
Published on 2017-01-05 by Huarlem Lima

I'm hoping someone can help me with this:

When I click the download button, it is producing a pdf but with the above content.

Is there a known solution for this? I do not have the knowledge to check permission errors (I did check the webscreen anonymous role).

EDIT: We were using this before and it did work at the time. However, after not having checked it for a month or maybe two, it now behaves as described above.

Hello Rob, has it been happening in your environment? Is there some log in Service Center?

Best Regards
Paulo Ricardo


So, the error seems to be threefold.

1. The DNS was restricted to only local acces, meaning the wkhtmltopdf couldn't reach the url.

2. The page is set to registered role only. This seemed to work before, but doesn't anymore. I'm still checking into this, but a solution would be to work with tokens.

3. Background images weren't printed. This is because the standard method of printing by browsers doesn't print background images. An answer is shown here.