Heroku 启动超时(错误 R10)

问题描述:

每次我启动我的应用程序时,它都无法超过 60 秒:

Every time I launch my app it cannot get past the 60 second point without:

2012-05-06T22:41:11+00:00 heroku[web.1]: Stopping process with SIGKILL
2012-05-06T22:41:11+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2012-05-06T22:41:11+00:00 heroku[web.1]: Process exited with status 137
2012-05-06T22:41:12+00:00 heroku[web.1]: State changed from starting to crashed

这是我的Procfile:

web: bundle exec thin start -p $PORT

我们将不胜感激任何回复.

Any responses will be thoroughly appreciated.

如果您的应用出于好的"原因确实需要超过 60 秒的时间,您可以使用 https://github.com/dblock/heroku-forward.

If your app does take longer than 60 seconds for "good" reasons, you can work around the 60s boot time limit with https://github.com/dblock/heroku-forward.