Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Dahs app on Heroku

Hi,

I’m having an issue with deploying dash app on heroku. I’ve followed all steps in tutorial and successfully uploaded app, but when i run it it shows an error message.
From the logs it seems that there is a problem with gunicorn, but I’m not so experienced to figure what do I need to change

Logs are below:
2018-08-26T08:04:19.607223+00:00 app[web.1]: File “/app/.heroku/python/lib/python3.6/site-packages/gunicorn/arbiter.py”, line 524, in reap_workers

2018-08-26T08:04:19.608432+00:00 app[web.1]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)

2018-08-26T08:04:19.612269+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltServer ‘Worker failed to boot.’ 3>

2018-08-26T08:04:19.748489+00:00 heroku[web.1]: State changed from up to crashed

2018-08-26T08:04:19.731998+00:00 heroku[web.1]: Process exited with status 1

2018-08-26T08:05:08.432822+00:00 heroku[router]: at=error code=H10 desc=“App crashed” method=GET path="/" host=automated-cred-score.herokuapp.com request_id=b59395fd-ed63-4831-b274-425b2a368cb9 fwd=“89.216.174.2” dyno= connect= service= status=503 bytes= protocol=https

2018-08-26T08:05:09.290211+00:00 heroku[router]: at=error code=H10 desc=“App crashed” method=GET path="/favicon.ico" host=automated-cred-score.herokuapp.com request_id=8daafa32-7b4c-4c73-ad7e-a35f6ecfa23c fwd=“89.216.174.2” dyno= connect= service= status=503 bytes= protocol=https

Did you make sure that your Procfile has this line in : web: gunicorn <name of your app>:server ?

Hi, I’ve tried again and I succeeded now, somehow I’ve missed to add dash renderer into requirements file and haven’t seen it in log for the first time. Thank you for your help :slight_smile: