Create-react-app: Application error in Heroku "dyno= connect= service= status=503 bytes= protocol=https"

Created on 15 Apr 2020  路  3Comments  路  Source: facebook/create-react-app

My react app got deployed into Heroku and application is not up.. getting the below application error in Heroku

"at=error code=H10 desc="App crashed" method=GET path="/" host=react-cart02.herokuapp.com request_id=5879e078-8169-45e7-865a-74cd8ea1fc2e fwd="223.235.230.237" dyno= connect= service= status=503 bytes= protocol=https"
react-cart02-logs-1586973407896.txt

Github code: https://github.com/Ganeshreact14/react_cart/

stale

Most helpful comment

I get this same exact error when updating react-scripts from 3.4.0 to 3.4.1 in my app. The only changes in my code are in package.json (and the automatic changes in package-lock.json)

image

When I push previously this is the output in heroku.

> {project}@0.1.0 start /app
> react-scripts start

State changed from starting to up
Project is running at http://{ip}/
webpack output is served from
Content not from webpack is served from /app/public
404s will fallback to /

Starting the development server...

Compiled successfully!

You can now view {projectname} in the browser.

Local:            http://localhost:{port}
On Your Network:  http://{ip}:{port}

Note that the development build is not optimized.
To create a production build, use npm run build.

Which is fine. When I go to deploy with [email protected]

Starting the development server...


> {project}@0.1.0 start /app
> react-scripts start

State changed from starting to crashed
Project is running at http://{ip}/
webpack output is served from
Content not from webpack is served from /app/public
404s will fallback to /
Starting the development server...

at=error code=H10 desc="App crashed" method=GET path="/" host={project}.herokuapp.com request_id={id} fwd="{ip}" dyno= connect= service= status=503 bytes= protocol=https

It seems it crashes on start, but I can't see how to debug the start process. Any ideas why this might be happening?

All 3 comments

I get this same exact error when updating react-scripts from 3.4.0 to 3.4.1 in my app. The only changes in my code are in package.json (and the automatic changes in package-lock.json)

image

When I push previously this is the output in heroku.

> {project}@0.1.0 start /app
> react-scripts start

State changed from starting to up
Project is running at http://{ip}/
webpack output is served from
Content not from webpack is served from /app/public
404s will fallback to /

Starting the development server...

Compiled successfully!

You can now view {projectname} in the browser.

Local:            http://localhost:{port}
On Your Network:  http://{ip}:{port}

Note that the development build is not optimized.
To create a production build, use npm run build.

Which is fine. When I go to deploy with [email protected]

Starting the development server...


> {project}@0.1.0 start /app
> react-scripts start

State changed from starting to crashed
Project is running at http://{ip}/
webpack output is served from
Content not from webpack is served from /app/public
404s will fallback to /
Starting the development server...

at=error code=H10 desc="App crashed" method=GET path="/" host={project}.herokuapp.com request_id={id} fwd="{ip}" dyno= connect= service= status=503 bytes= protocol=https

It seems it crashes on start, but I can't see how to debug the start process. Any ideas why this might be happening?

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.

This issue has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue.

Was this page helpful?
0 / 5 - 0 ratings