Free auditStart free
GuideError · CDN and hosting errors

Heroku H10: App crashed

Fix Heroku error H10 (App crashed): read the router and dyno log lines, rule out an R10 boot timeout, and check the Procfile and PORT binding for your stack.

5 min
read
7
sources
Oct 29, 2026
updated
Scaplet Editorial Team
author
In one line

Heroku H10 means the router tried to send a request to your web dyno but the dyno had crashed or failed to boot, so Heroku returned a 503 and logged code=H10 desc="App crashed". The app's own error is in the log lines just above it. Read them with heroku logs --tail, fix that error, then check that the web process binds to $PORT.

30-second check

Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
02How it works

Find the crash in two minutes

  1. 1

    Check the dyno state

    Run heroku ps. A web dyno that is crashed or flapping between starting and crashed confirms H10. If the dyno is up and requests still fail, compare the router line with H12 and H13 below.

  2. 2

    Tail the logs while you request the page

    Run heroku logs --tail (or -t). A tail session ends on its own after one hour of inactivity. Open the failing URL in another window so the request and the crash land together.

  3. 3

    Filter to the app's own output

    Run heroku logs --source app --tail to hide router noise, or heroku logs --dyno router to see only router lines such as code=H10.

  4. 4

    Read upward from `State changed from ... to crashed`

    The lines before it are the app's error: a missing gem, a bad import, a missing config var, a database it could not reach, or an R10 line.

  5. 5

    Reproduce it locally

    Run heroku local web --port 5001 (the Heroku CLI installs heroku local). If the app fails the same way on your machine, fix it there first.

The four commands
heroku ps
heroku logs --tail
heroku logs --source app --tail
heroku logs --dyno router
03H10 causes and the log line that gives each one away

Causes behind a crashed or never-ready web dyno

Cause

The app raises at startup

What the log shows
An error from your own code or a missing dependency between Starting process and Process exited (Heroku's example: a missing Rails gem)
Fix
Fix the error, redeploy. Run heroku local first to catch it before the push
Cause

Web process does not bind to $PORT in time

What the log shows
Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch, then State changed from starting to crashed
Fix
Bind to the port in $PORT, not a hard-coded one. Heroku says a web command that does not bind to PORT means the dyno does not start (Node.js guide)
Cause

Startup waits on an external resource

What the log shows
Same R10 line. Heroku says R10 is often caused by being unable to reach an external resource such as a database
Fix
Access external resources asynchronously so they do not block startup
Cause

Startup does too much work

What the log shows
Same R10 line. Heroku names parsing and evaluating numerous, large code dependencies during startup
Fix
Reduce application code or dependencies loaded at boot

R10 has a longer allowance for some build tooling: apps using the Java buildpack, Gradle buildpack, heroku-deploy toolbelt plugin or Heroku Maven plugin get 90 seconds to bind to the assigned port. R10 is not currently emitted for Fir-generation apps, so on Fir you will see the crash without that line.

04Fix it on your stack

The start command that binds to $PORT, per stack

The web process type is the only one that receives external HTTP traffic, and your command can refer to $PORT directly. These are the forms Heroku documents.
Procfile: Rails
web: bundle exec rails server -p $PORT
Procfile: Python with Gunicorn
web: gunicorn hello:app
Procfile: Java fat jar
web: java -jar target/myapp-1.0.0.jar

For Node.js, Heroku looks for a Procfile first and otherwise runs the start script from package.json; either way the server must listen on the port in the PORT environment variable.

05Explained

What H10 does to crawling

H10 is a 503. Google treats 5xx responses as a signal to slow down: "5xx and 429 server errors prompt Google's crawlers to temporarily slow down with crawling." Already indexed URLs are preserved but "eventually dropped" if the errors persist, and Google gradually raises the crawl rate again once the site returns 2xx. A crash that you fix in minutes costs little. One that sits for days does. Watch the site for repeats with 5xx server errors in Search Console.
Questions

Asked a lot.

4 questions people ask next, answered from the sources on this page.

01Does H10 mean my app code is broken?

Usually the code or its start command, but not always. H10 covers a crashed web dyno and a boot timeout. The log lines above the router line say which: an app error, or an R10 line about failing to bind to $PORT within 60 seconds.

02Why does H10 return 503 and not 500?

Heroku returns its standard error page with status 503 for platform-detected failures. The router had no healthy dyno to give your request to, which fits the meaning of 503 Service Unavailable on MDN.

03What is the difference between H10 and H14?

H10 means a web dyno exists but crashed or did not finish booting. H14 means no web dynos are running, most likely because the web process type was scaled to 0.

04Will a restart fix H10?

Only if the crash was transient. A deterministic startup error crashes again. Heroku restarts crashed dynos under its restart policy, so a loop of starting then crashed in heroku ps is the sign to read the app error instead.

Sources · 7

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • heroku.com
  • google.com
  • mozilla.org
  1. 01Heroku Dev Center: Heroku Error Codesdevcenter.heroku.com · checked 2026-11-01
  2. 02Heroku Dev Center: Loggingdevcenter.heroku.com · checked 2026-11-01
  3. 03Heroku Dev Center: The Procfiledevcenter.heroku.com · checked 2026-11-01
  4. 04Heroku Dev Center: Deploying Python Applications with Gunicorndevcenter.heroku.com · checked 2026-11-01
  5. 05Heroku Dev Center: Deploying Node.js Apps on Herokudevcenter.heroku.com · checked 2026-11-01
  6. 06How HTTP status codes affect Google's crawlersdevelopers.google.com · checked 2026-11-01
  7. 07MDN: 503 Service Unavailabledeveloper.mozilla.org · checked 2026-11-01
Free · 2 minutes

Tools point. Agencies advise. This one ships.

Run the free audit, then approve the fixes. Every change can be undone.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane