Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Heroku Error R10 (Boot timeout) #3

Open
samratjp opened this issue Feb 17, 2017 · 2 comments
Open

Heroku Error R10 (Boot timeout) #3

samratjp opened this issue Feb 17, 2017 · 2 comments

Comments

@samratjp
Copy link

Hey there!

Thanks for making this :)

I tried all the app bootstrap steps on bash but am indefinitely seeing R10 errors -
"-> Web process failed to bind to $PORT within 60 seconds of launch"

For good measure - I tried restarting and it def gets stuck at that step. Any advice?

Cheers!

@carlvlewis
Copy link

Having the same issue upon deployment. Details below.

Superset version

Current version

Expected results

After what appears to be a successful deployment, the default app setup should work..

Actual results

After what appears to be a successful deployment, when the app is first loaded, the standard "Application Error" page appears. Here are the corresponding logs:
2017-02-17T04:18:45.152518+00:00 app[web.1]: 2017-02-17 04:18:45,152:INFO:flask_appbuilder.base:Registering class Superset on menu 2017-02-17T04:18:45.368125+00:00 app[web.1]: 2017-02-17 04:18:45,367:INFO:flask_appbuilder.base:Registering class CssTemplateAsyncModelView on menu 2017-02-17T04:18:45.307869+00:00 app[web.1]: 2017-02-17 04:18:45,307:INFO:flask_appbuilder.base:Registering class CssTemplateModelView on menu CSS Templates 2017-02-17T04:18:45.491009+00:00 app[web.1]: 2017-02-17 04:18:45,490:WARNING:werkzeug: * Debugger is active! 2017-02-17T04:18:45.493295+00:00 app[web.1]: 2017-02-17 04:18:45,493:INFO:werkzeug: * Debugger pin code: 304-361-436 2017-02-17T04:19:33.524045+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch 2017-02-17T04:19:33.524105+00:00 heroku[web.1]: Stopping process with SIGKILL 2017-02-17T04:19:33.599939+00:00 heroku[web.1]: Process exited with status 137 2017-02-17T04:19:33.610180+00:00 heroku[web.1]: State changed from starting to crashed 2017-02-17T04:21:08.197445+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=cvlewis.herokuapp.com request_id=214e373a-f14b-4f0e-bd79-4256ecdac1d0 fwd="24.104.125.2" dyno= connect= service= status=503 bytes= 2017-02-17T04:21:11.149348+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=cvlewis.herokuapp.com request_id=cee48fc6-cb31-4e6e-bc8a-7576f243cd31 fwd="24.104.125.2" dyno= connect= service= status=503 bytes= 2017-02-17T04:18:45.152518+00:00 app[web.1]: 2017-02-17 04:18:45,152:INFO:flask_appbuilder.base:Registering class Superset on menu 2017-02-17T04:18:45.368125+00:00 app[web.1]: 2017-02-17 04:18:45,367:INFO:flask_appbuilder.base:Registering class CssTemplateAsyncModelView on menu 2017-02-17T04:18:45.307869+00:00 app[web.1]: 2017-02-17 04:18:45,307:INFO:flask_appbuilder.base:Registering class CssTemplateModelView on menu CSS Templates 2017-02-17T04:18:45.491009+00:00 app[web.1]: 2017-02-17 04:18:45,490:WARNING:werkzeug: * Debugger is active! 2017-02-17T04:18:45.493295+00:00 app[web.1]: 2017-02-17 04:18:45,493:INFO:werkzeug: * Debugger pin code: 304-361-436 2017-02-17T04:19:33.524045+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch 2017-02-17T04:19:33.524105+00:00 heroku[web.1]: Stopping process with SIGKILL 2017-02-17T04:19:33.599939+00:00 heroku[web.1]: Process exited with status 137 2017-02-17T04:19:33.610180+00:00 heroku[web.1]: State changed from starting to crashed 2017-02-17T04:21:08.197445+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=cvlewis.herokuapp.com request_id=214e373a-f14b-4f0e-bd79-4256ecdac1d0 fwd="24.104.125.2" dyno= connect= service= status=503 bytes= 2017-02-17T04:21:11.149348+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=cvlewis.herokuapp.com request_id=cee48fc6-cb31-4e6e-bc8a-7576f243cd31 fwd="24.104.125.2" dyno= connect= service= status=503 bytes= 2017-02-17T04:18:45.152518+00:00 app[web.1]: 2017-02-17 04:18:45,152:INFO:flask_appbuilder.base:Registering class Superset on menu 2017-02-17T04:18:45.368125+00:00 app[web.1]: 2017-02-17 04:18:45,367:INFO:flask_appbuilder.base:Registering class CssTemplateAsyncModelView on menu 2017-02-17T04:18:45.307869+00:00 app[web.1]: 2017-02-17 04:18:45,307:INFO:flask_appbuilder.base:Registering class CssTemplateModelView on menu CSS Templates 2017-02-17T04:18:45.491009+00:00 app[web.1]: 2017-02-17 04:18:45,490:WARNING:werkzeug: * Debugger is active! 2017-02-17T04:18:45.493295+00:00 app[web.1]: 2017-02-17 04:18:45,493:INFO:werkzeug: * Debugger pin code: 304-361-436 2017-02-17T04:19:33.524045+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch 2017-02-17T04:19:33.524105+00:00 heroku[web.1]: Stopping process with SIGKILL 2017-02-17T04:19:33.599939+00:00 heroku[web.1]: Process exited with status 137 2017-02-17T04:19:33.610180+00:00 heroku[web.1]: State changed from starting to crashed 2017-02-17T04:21:08.197445+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=cvlewis.herokuapp.com request_id=214e373a-f14b-4f0e-bd79-4256ecdac1d0 fwd="24.104.125.2" dyno= connect= service= status=503 bytes= 2017-02-17T04:21:11.149348+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=cvlewis.herokuapp.com request_id=cee48fc6-cb31-4e6e-bc8a-7576f243cd31 fwd="24.104.125.2" dyno= connect= service= status=503 bytes= 2017-02-17T04:18:45.152518+00:00 app[web.1]: 2017-02-17 04:18:45,152:INFO:flask_appbuilder.base:Registering class Superset on menu 2017-02-17T04:18:45.368125+00:00 app[web.1]: 2017-02-17 04:18:45,367:INFO:flask_appbuilder.base:Registering class CssTemplateAsyncModelView on menu 2017-02-17T04:18:45.307869+00:00 app[web.1]: 2017-02-17 04:18:45,307:INFO:flask_appbuilder.base:Registering class CssTemplateModelView on menu CSS Templates 2017-02-17T04:18:45.491009+00:00 app[web.1]: 2017-02-17 04:18:45,490:WARNING:werkzeug: * Debugger is active! 2017-02-17T04:18:45.493295+00:00 app[web.1]: 2017-02-17 04:18:45,493:INFO:werkzeug: * Debugger pin code: 304-361-436 2017-02-17T04:19:33.524045+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch 2017-02-17T04:19:33.524105+00:00 heroku[web.1]: Stopping process with SIGKILL 2017-02-17T04:19:33.599939+00:00 heroku[web.1]: Process exited with status 137 2017-02-17T04:19:33.610180+00:00 heroku[web.1]: State changed from starting to crashed 2017-02-17T04:21:08.197445+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=cvlewis.herokuapp.com request_id=214e373a-f14b-4f0e-bd79-4256ecdac1d0 fwd="24.104.125.2" dyno= connect= service= status=503 bytes= 2017-02-17T04:21:11.149348+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=cvlewis.herokuapp.com request_id=cee48fc6-cb31-4e6e-bc8a-7576f243cd31 fwd="24.104.125.2" dyno= connect= service= status=503 bytes=

Steps to reproduce

Simply fork, use single-click deploy button, deploy to Heroku, then select "Preview App."

@alee792
Copy link

alee792 commented Mar 21, 2017

I had the same issue and tried my own deployment. I adjusted my procfile to "superset runserver -p $PORT" and updated to the most recent version of Python 3.6. It worked just fine after that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants