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

Error: html-pdf: Unknown Error #84

Open
novilfahlevy opened this issue Jul 8, 2022 · 4 comments
Open

Error: html-pdf: Unknown Error #84

novilfahlevy opened this issue Jul 8, 2022 · 4 comments

Comments

@novilfahlevy
Copy link

novilfahlevy commented Jul 8, 2022

Screenshot from 2022-07-08 21-36-00

I get this error on production (but works perfectly on local), I have been searching it and found a similar issues like these:
marcbachmann/node-html-pdf#531 (comment)
and
https://stackoverflow.com/questions/60966814/node-html-pdf-auto-configuration-failed

those issues above tell that the problem was about the the ssl but I still don't understand it.

My code:
Screenshot from 2022-07-08 21-56-27

My os specifications:
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04

nginx version: nginx/1.18.0 (Ubuntu)

@daniilFreiYS
Copy link

have sane problem with same os specifications

@scush989898
Copy link

i got the same problem on production using heroku. The solution for me was creating a new env var OPENSSL_CONF with value /dev/null.

https://prnt.sc/VaOabzLAXFlO

i added to heroku env vars and it worked for me.

@pp19dd
Copy link

pp19dd commented Sep 23, 2022

Ran into this problem while prototyping on WSL / Debian (Windows Subsystem for Linux) and a common solution from OP's stack overflow hit worked: edit /etc/ssl/openssl.conf and comment out the openssl_conf = default_conf line.

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

5 participants
@pp19dd @novilfahlevy @scush989898 @daniilFreiYS and others