question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deploying app on Heroku (code=H10 desc="App crashed")

See original GitHub issue

Hello, I followed the steps in your README file to clone the repo and deploy the app on Heroku. I immediately got the following errors when opening the website: Gist

Here’s is the history of what I did exactly:

git clone https://github.com/mjhea0/flask-boilerplate.git
cd flask-boilerplate
virtualenv --no-site-packages env
source env/bin/activate
pip install -r requirements.txt
python app.py
heroku login
heroku create
git push heroku master
heroku open

The app is running properly on localhost. Did I miss something? Thanks

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:6
  • Comments:73 (1 by maintainers)

github_iconTop GitHub Comments

46reactions
nop33commented, May 23, 2015

I figured out that I have to use web: gunicorn app:app --log-file=- in the Procfile.

21reactions
jacobsteenhuysencommented, Jul 28, 2018

where? in Procfile?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Causes of Heroku H10-App Crashed Error And How To Solve ...
This error is thrown in a Node.js environment if you forget to set a start script . Heroku uses this script to start...
Read more >
First Heroku deploy failed `error code=H10` - Stack Overflow
"App crashed" has the obvious meaning: your app crashed. Look further up in your logs to see why, or heroku restart to launch...
Read more >
Heroku Error Codes
H10 - App crashed. A crashed web dyno or a boot timeout on the web dyno will present this error. 2010-10-06T21:51:04 ...
Read more >
heroku[router]: at=error code=H10 desc=“App crashed”
i'm deployed my app to heroku. i run: git push heroku master .it is successfull .but when run heroku open it show errors...
Read more >
Application error when deploying to Heroku - Apollo Community
I'm getting an error when deploying the server from Heroku (see ... heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found