aho*_*ota 6 ssl heroku ssl-certificate node.js npm
我在 Heroku 上的生产节点应用程序随机开始抛出以下错误:
Error: certificate has expired
at Error (native)
at TLSSocket.<anonymous> (_tls_wrap.js:1060:38)
at emitNone (events.js:86:13)
at TLSSocket.emit (events.js:185:7)
at TLSSocket._finishInit (_tls_wrap.js:584:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:416:38)
error: Forever detected script exited with code: 1
error: Script restart attempt #1
Creating a pool connected to blah.thing.com:port
Running migrations for database 'app_name'...
events.js:160
throw er; // Unhandled 'error' event
^
Run Code Online (Sandbox Code Playgroud)
我对两件事感到困惑。我的证书是最新的,所以我不知道为什么它说它已过期,其次,我的应用程序目录中仅有的两个名为“events.js”的文件位于两个看似无关的节点模块(inquirer 和 twilio)中,并且不要甚至没有 160 行。这可能是什么原因,我应该如何调试它?
编辑:此外,它只是生产应用程序(当然),而不是登台或本地,这很奇怪,因为登台和生产都指向同一个证书。
| 归档时间: |
|
| 查看次数: |
7088 次 |
| 最近记录: |