# 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.

Canonical: https://scaplet.com/errors/cdn/heroku-h10-app-crashed

Guide Error · CDN and hosting errors

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 with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fcdn%2Fheroku-h10-app-crashed%20(%22Heroku%20H10%3A%20App%20crashed%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fcdn%2Fheroku-h10-app-crashed%20(%22Heroku%20H10%3A%20App%20crashed%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fcdn%2Fheroku-h10-app-crashed%20(%22Heroku%20H10%3A%20App%20crashed%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fcdn%2Fheroku-h10-app-crashed%20(%22Heroku%20H10%3A%20App%20crashed%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 5 parts, 5 minutes.

1. [What H10 is, and what it is not 01](#what-h10-is-and-what-it-is-not)
2. [Find the crash in two minutes 02](#find-the-crash-in-two-minutes)
3. [Causes behind a crashed or never-ready web dyno 03](#causes-behind-a-crashed-or-never-ready-web-dyno)
4. [The start command that binds to $PORT, per stack 04](#the-start-command-that-binds-to-port-per-stack)
5. [What H10 does to crawling 05](#what-h10-does-to-crawling)

_01_H10 next to the 503 codes it gets mistaken for

## What H10 is, and what it is not

Whenever your app hits an error, Heroku returns a standard error page with HTTP [status code](/glossary/http-status-codes) 503 and adds a custom error code to your logs. H10 is the one for a web dyno that is not alive: Heroku says "a crashed web dyno or a boot timeout on the web dyno will present this error". The visitor sees a 503 page, and the router log line is the only place that says which kind of failure it was.

Code

### H10 App crashed

What Heroku documents

Crashed web dyno, or boot timeout on the web dyno

Router line shows

`dyno=` empty, `status=503`

Go to

This page

Code

### H12 Request timeout

What Heroku documents

A request took longer than 30 seconds

Router line shows

`service=30001ms` in the example

Go to

[H12](/errors/cdn/heroku-h12-request-timeout)

Code

### H13 Connection closed without response

What Heroku documents

A process accepted a connection, then closed the socket without writing

Router line shows

`service=9767ms` in the example

Go to

[H13](/errors/cdn/heroku-h13)

Code

### H14 No web dynos running

What Heroku documents

Most likely web dynos scaled down to 0

Router line shows

`desc="No web processes running"`

Go to

[H14](/errors/cdn/heroku-h14)

Heroku's own H10 example, trimmed

```
2010-10-06T21:51:04-07:00 heroku[web.1]: State changed from down to starting 2010-10-06T21:51:07-07:00 app[web.1]: Starting process with command: \`bundle exec rails server -p 22020\` 2010-10-06T21:51:09-07:00 app[web.1]: >> Using rails adapter 2010-10-06T21:51:09-07:00 app[web.1]: Missing the Rails 2.3.5 gem. Please \`gem install -v=2.3.5 rails\` ... 2010-10-06T21:51:10-07:00 heroku[web.1]: Process exited 2010-10-06T21:51:12-07:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=example-app-1234567890ab.herokuapp.com fwd=17.17.17.17 dyno= connect= service= status=503 bytes=
```

Read it bottom-up. The router line is the symptom. The `Process exited` line and the app error above it are the cause. In the Heroku example, the `dyno`, `connect` and `service` fields of the router line are empty, which separates H10 from H12 and H13, where they are filled in.

_02_How 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
```

_03_H10 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.

_04_Fix 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
Procfile: Rails

```
web: bundle exec rails server -p $PORT
```

Procfile: Python with Gunicorn
Procfile: Python with Gunicorn

```
web: gunicorn hello:app
```

Procfile: Java fat jar
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.

**Raising the boot timeout is a stopgap**Heroku offers a boot timeout tool for Cedar-generation apps, not Fir. Its guidance is that slow boot times make deploys harder and dyno recovery slower, so treat a longer limit as temporary and fix the slow startup.

_05_Explained

## 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](/seo-issues/server-errors-5xx) in [Search Console](/glossary/google-search-console).

Questions

## Asked a lot.

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

_01_ Does 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.

_02_ Why 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](/errors/http/503) on MDN.

_03_ What 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.

_04_ Will 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. 01 [Heroku Dev Center: Heroku Error Codes](https://devcenter.heroku.com/articles/error-codes) devcenter.heroku.com · checked 2026-11-01
2. 02 [Heroku Dev Center: Logging](https://devcenter.heroku.com/articles/logging) devcenter.heroku.com · checked 2026-11-01
3. 03 [Heroku Dev Center: The Procfile](https://devcenter.heroku.com/articles/procfile) devcenter.heroku.com · checked 2026-11-01
4. 04 [Heroku Dev Center: Deploying Python Applications with Gunicorn](https://devcenter.heroku.com/articles/python-gunicorn) devcenter.heroku.com · checked 2026-11-01
5. 05 [Heroku Dev Center: Deploying Node.js Apps on Heroku](https://devcenter.heroku.com/articles/deploying-nodejs) devcenter.heroku.com · checked 2026-11-01
6. 06 [How HTTP status codes affect Google's crawlers](https://developers.google.com/crawling/docs/troubleshooting/http-status-codes) developers.google.com · checked 2026-11-01
7. 07 [MDN: 503 Service Unavailable](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/503) developer.mozilla.org · checked 2026-11-01

## Keep learning

[All errors](/errors)

[Learn Heroku H12: Request timeout CDN and hosting errors](/errors/cdn/heroku-h12-request-timeout) [Related 503 Service Unavailable HTTP status codes](/errors/http/503) [Read next Heroku H13: Connection closed without response CDN and hosting errors](/errors/cdn/heroku-h13) [Do Run a free site audit Free, about two minutes](/site-audit)

More Heroku errors
[Heroku 503 Service Unavailable](/errors/cdn/heroku-503) [Heroku H12: Request timeout](/errors/cdn/heroku-h12-request-timeout) [Heroku H13: Connection closed without response](/errors/cdn/heroku-h13) [Heroku H14: No web processes running](/errors/cdn/heroku-h14)

More in CDN and hosting errors
[Cloud Run 503 error](/errors/cdn/cloud-run-503) [Cloudflare 504 Gateway Timeout](/errors/cdn/cloudflare-504) [Cloudflare Pages 404 Not Found](/errors/cdn/cloudflare-pages-404) [Cloudflare too many redirects (ERR_TOO_MANY_REDIRECTS)](/errors/cdn/cloudflare-too-many-redirects) [Cloudflare verify you are human loop](/errors/cdn/cloudflare-verify-you-are-human-loop) [CloudFront 400: Bad Request](/errors/cdn/cloudfront-400) [CloudFront 404 Not Found](/errors/cdn/cloudfront-404) [CloudFront 503: Service Unavailable](/errors/cdn/cloudfront-503) [Firebase Hosting 404](/errors/cdn/firebase-hosting-404) [GitHub Pages 404 Not Found](/errors/cdn/github-pages-404) [Google Cloud 502 Bad Gateway](/errors/cdn/google-cloud-502) [Heroku 503 Service Unavailable](/errors/cdn/heroku-503) [Heroku H10: App crashed](/errors/cdn/heroku-h10-app-crashed) [Heroku H12: Request timeout](/errors/cdn/heroku-h12-request-timeout) [Heroku H13: Connection closed without response](/errors/cdn/heroku-h13) [Heroku H14: No web processes running](/errors/cdn/heroku-h14) [Netlify build failed](/errors/cdn/netlify-build-failed) [Netlify function timeout](/errors/cdn/netlify-function-timeout) [Render 502 Bad Gateway](/errors/cdn/render-502) [S3 Access Denied (403 Forbidden)](/errors/cdn/s3-access-denied) [Vercel 413: FUNCTION_PAYLOAD_TOO_LARGE](/errors/cdn/vercel-payload-too-large) [Vercel 429: Too Many Requests](/errors/cdn/vercel-429) [Vercel 500: Internal Server Error](/errors/cdn/vercel-500) [Vercel build failed](/errors/cdn/vercel-build-failed)

Terms on this page
[HTTP status codes](/glossary/http-status-codes) [Google Search Console](/glossary/google-search-console)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

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

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
