Dia*_*ana 4 mysql localhost heroku handlebars.js
它正在 localhost 上运行,但在 heroku-app 上关闭
2020-08-15T02:15:31.851406+00:00 app[web.1]: npm ERR! errno 1
2020-08-15T02:15:31.851963+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=GET path="/" host=yummy-burger-app.herokuapp.com request_id=dc7776de-d03f-4415-9448-fcd71e18efa1 fwd="100.38.167.47" dyno=web.1 connect=1ms service=14ms status=503 bytes=0 protocol=https
Run Code Online (Sandbox Code Playgroud)
如果您需要更多信息,请随时与我联系
有同样的问题,通过将我的服务器从 https 更改为 http 解决了它。检查您的服务器配置,如果您配置了 https,请将其更改为 http
我改变了这个
const server = https.createServer(httpOptions,app);
Run Code Online (Sandbox Code Playgroud)
对此
const server = http.createServer(app);
Run Code Online (Sandbox Code Playgroud)
这对我有用
| 归档时间: |
|
| 查看次数: |
12503 次 |
| 最近记录: |