我用木偶操纵者做了一个刮板,我没有指定任何端口来服务它。它只是运行并抓取数据,然后使用process.exit()
命令退出。
我使用cli将其部署到heroku,但在运行它后抛出错误:
Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch.
Stopping process with SIGKILL
Process exited with status 137
怎么了?
发布于 2021-05-05 23:48:08
看起来你有一个Web Dyno,所以应用程序必须绑定到$PORT。
如果不需要传入的HTTP请求,则可以定义一个worker (在Procfile
中)。
https://stackoverflow.com/questions/67380418
复制相似问题