I posted this just a little while ago over on SO. I was wondering if anyone else has had issues rendering pdfs with webshot on Galaxy’s servers. @ryanswapp, you wrote a pdf tutorial a while back. Is it hosted with Galaxy, or another server? :
"I have a pdf that is rendered from a server side html file in my
Meteor application using webshot. This pdf is displayed in the browser,
and also attached to an email to be sent to various users. Since
migrating over to Meteor’s Galaxy platform, I am unable to render the
images in the html file, and the email attachment doesn’t work
correctly. My set up worked perfectly on Digital Ocean with Ubuntu
14.04, and also on my localhost. It still works perfectly at both of
these environments, but doesn’t work with Galaxy. (it’s worth noting I
don’t know much about programming email attachments, but used Meteor’s
email package, which is based on mailcomposer)
The pdf renders, so I know phantomjs is working, and webshot is
taking a screenshot and displaying it as a pdf, so I know webshot is
working. However, the images won’t render and when attaching to an
email, the file is corrupted/doesn’t send correctly. I have tried
logging the html to ensure that the URLs to the image files are all
correct, and they are when deployed to Galaxy, but they just won’t
render with phantomjs/webshot. I am using the meteorhacks:ssr package to
render the html file on the server before reading it with phantomjs.
I’ve tried contacting Galaxy support about this, but haven’t had much
assistance. Has anyone else experienced this? I’m struggling to even
pinpoint the package causing the issue to submit a pull request if I
need to. Thanks!"