-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
HtmlPdf.create() page navigate failed #135
Comments
Could you please provide:
Thank you! |
@westy92 Sorry, I am using:
|
@westy92 also tested on
same error |
I also got the same issue. This is happening for certain URL, not for all. Error: HtmlPdf.create() page navigate failed. |
Hi @westy92 |
Have any of you guys solved this issue? |
Rendering pure HTML. No external resources loaded. On local machine working, on other machines and our staging environment it is not working. Error is occuring on
|
@westy92 any known issue in opening a page with a certificate issue? it's working just fine if the certificate is valid |
for me it happens if i render twice the same url |
Unsure if this is best location for my issue regarding HtmlPdf.create() page navigate failed error. I am running my node/htmlpdf app locally so maybe this is an issue of the chromium docker not being able to connect to host machine and it will resolve if I run the node/htmlpdf app in its container? I verified from inside chromium container I cannot access the css file with curl. Am I answering my own question here, well yes, assuming chromium is trying to render my html page in a DOM and the CSS path is inaccessible. As a work around I am using inline-css to convert external CSS to inline inside the markup and then stripping the css file link tag out of the page, then pdf generates without error. |
I have a question, because i am creating a HTML file with some
file://
links to different assets.I am using the base-tag in the head for linking to another directory, like this:
when I open the HTML file every asset is loaded correctly and also before, when defining this as
base
in the options of thehtml-pdf
node module (with phantomjs) this worked just fine..I am not sure why I get this error, and I hope maybe someone can give me an hint :)
The create works without the file links, but then I would have no JS/CSS/images.
The text was updated successfully, but these errors were encountered: