Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue rendering external image #784

Open
seb-sykio opened this issue Dec 13, 2018 · 3 comments
Open

issue rendering external image #784

seb-sykio opened this issue Dec 13, 2018 · 3 comments

Comments

@seb-sykio
Copy link

since recently, I can't render external image in pdf
local image are ok
if I use debug param, then external image are render correctly
few weeks before, everything was ok
I recently updraded to ubuntu 18.04
ruby 2.5.3
rails 5.2.2
wicked_pdf (1.1.0)
wkhtmltopdf-binary (0.12.4)

thanks

@unixmonkey
Copy link
Collaborator

If those images are requested over HTTP instead of HTTPS, do they start working?

It seems to me like it could be related to OpenSSL changes, which wkhtmltopdf 0.12.5 seems to have some fixes for.

If you do end up upgrading (or don't), please let me know how that goes. You might also try dropping down to wkhtmltopdf 0.12.3, as I've seen some people report that to work better in their specific environments.

@seb-sykio
Copy link
Author

thanks for your answer
unfortunately, I have this error when I request 0.12.5 in gemfile

Could not find gem 'wkhtmltopdf-binary (> 0.12.4)' in any of the gem sources listed in your Gemfile.

@mileszs
Copy link
Owner

mileszs commented Dec 14, 2018

It looks like wkhtmltopdf 0.12.5 hasn't been added to that gem yet. Here is an ongoing discussion about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants