Hey guys, so I’ve spent about 24 hours trying to debug my Heroku app (which is a take on the bear classifier). Here is my GitHub repository: BMW_Classifier. Here is my web app: BMW_Heroku.
Opening up my web app, I get an Application Error which points me to go to my logs. When I go there, here’s what I get:
2021-12-24T12:19:35.066144+00:00 heroku[web.1]: Restarting
2021-12-24T12:19:52.747299+00:00 heroku[web.1]: Starting process with commandvoila --port=42273 --no-browser --enable_nbextensions=True BMW_App.ipynb
2021-12-24T12:19:53.775262+00:00 heroku[web.1]: Starting process with commandvoila --port=55607 --no-browser --enable_nbextensions=True BMW_App.ipynb
2021-12-24T12:19:54.359020+00:00 app[web.1]: [Voila] Using /tmp to store connection files
2021-12-24T12:19:54.359347+00:00 app[web.1]: [Voila] Storing connection files in /tmp/voila_x6e378w5.
2021-12-24T12:19:54.359399+00:00 app[web.1]: [Voila] Serving static files from /app/.heroku/python/lib/python3.9/site-packages/voila/static.
2021-12-24T12:19:55.102661+00:00 app[web.1]: [Voila] Voilà is running at:
2021-12-24T12:19:55.102668+00:00 app[web.1]: http://localhost:42273/
2021-12-24T12:19:55.554237+00:00 app[web.1]: [Voila] Using /tmp to store connection files
2021-12-24T12:19:55.554574+00:00 app[web.1]: [Voila] Storing connection files in /tmp/voila_ke227i51.
2021-12-24T12:19:55.554624+00:00 app[web.1]: [Voila] Serving static files from /app/.heroku/python/lib/python3.9/site-packages/voila/static.
2021-12-24T12:19:56.380512+00:00 app[web.1]: [Voila] Voilà is running at:
2021-12-24T12:19:56.380519+00:00 app[web.1]: http://localhost:55607/
2021-12-24T12:20:39.000000+00:00 app[api]: Build succeeded
2021-12-24T12:20:42.600145+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2021-12-24T12:20:42.664934+00:00 app[web.1]: [Voila] Handle signal 15.
2021-12-24T12:20:42.872497+00:00 heroku[web.1]: Process exited with status 0
2021-12-24T12:20:54.249772+00:00 heroku[web.1]: Error R10 (Boot timeout) → Web process failed to bind to $PORT within 60 seconds of launch
2021-12-24T12:20:54.318676+00:00 heroku[web.1]: Stopping process with SIGKILL
2021-12-24T12:20:54.543197+00:00 heroku[web.1]: Process exited with status 137
2021-12-24T12:20:54.605706+00:00 heroku[web.1]: State changed from starting to crashed
2021-12-24T12:20:57.722867+00:00 heroku[router]: at=error code=H10 desc=“App crashed” method=GET path=“/” host=bmwapp.herokuapp.com request_id=fb5e8980-2b1c-4832-8063-53b41a6e809c fwd=“89.36.78.141” dyno= connect= service= status=503 bytes= protocol=https
2021-12-24T12:20:58.231893+00:00 heroku[router]: at=error code=H10 desc=“App crashed” method=GET path=“/favicon.ico” host=bmwapp.herokuapp.com request_id=3f14c61c-6ee2-443a-a265-3f34f0513f88 fwd=“89.36.78.141” dyno= connect= service= status=503 bytes= protocol=https
There is an Error R10 (Boot timeout) happening for whatever reason. I tried extending my boot time from 60s all the way to 180s and still I get the same errors.
I’ve even gone as far as copying almost everything from another git user’s repository. No luck. I keep running into the same problem.
Any help would be GREATLY appreciated.