【发布时间】:2022-11-30 17:44:46
【问题描述】:
我正在使用 html-pdf library 从 HTML 生成 PDF 文件,它在我的机器上运行良好。但是,当尝试在 Render 上托管的项目实例上使用它时,出现以下错误:
Auto configuration failed
140113131916928:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libssl_conf.so): libssl_conf.so: cannot open shared object file: No such file or directory
140113131916928:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
140113131916928:error:0E07506E:configuration file routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:285:module=ssl_conf, path=ssl_conf
140113131916928:error:0E076071:configuration file routines:MODULE_RUN:unknown module name:conf_mod.c:222:module=ssl_conf
这个问题的根源似乎是 SSL 配置,由 this github issue 支持——这个问题的答案似乎已经解决了他们机器上的问题,但我不确定如何以这种方式为我的 Render 配置 SSL实例。我也不确定这是否可能,或者是否可以解决问题。对这个问题的任何见解都会非常有帮助!
【问题讨论】:
标签: node.js ssl phantomjs html-pdf