Heroku application error - react and node - heroku

I have created a react app with nodejs, I am getting an application error while starting my heroku application. I have updated heroku, created procfile, added node as engine. Still my application is not starting. Please help.
Here is my log file -
2021-09-01T11:44:33.891631+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2021-09-01T11:44:33.891717+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2021-09-01T11_44_33_888Z-debug.log
2021-09-01T11:44:33.962004+00:00 heroku[web.1]: Process exited with status 1
2021-09-01T11:44:34.090659+00:00 heroku[web.1]: State changed from starting to crashed
2021-09-01T11:46:07.443211+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=quiet-castle-26018.herokuapp.com request_id=4bbb82b9-74a6-4ab1-a6a3-f4a3ed25c62b fwd="223.227.24.221" dyno= connect= service= status=503 bytes= protocol=https
2021-09-01T11:46:08.456373+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=quiet-castle-26018.herokuapp.com request_id=f004c10c-b1ba-4094-9b2d-456ced15cb7f fwd="223.227.24.221" dyno= connect= service= status=503 bytes= protocol=https
2021-09-01T11:46:25.484370+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=quiet-castle-26018.herokuapp.com request_id=6de00b8d-640b-4ed2-ad30-a729d440acc3 fwd="223.227.24.221" dyno= connect= service= status=503 bytes= protocol=https
2021-09-01T11:46:26.648725+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=quiet-castle-26018.herokuapp.com request_id=4f5601a4-85c3-4798-ae53-1eeb37340edd fwd="223.227.24.221" dyno= connect= service= status=503 bytes= protocol=https
2021-09-01T12:02:59.299054+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=quiet-castle-26018.herokuapp.com request_id=789d2879-7ff3-4282-a405-1ed057163b41 fwd="223.227.24.221" dyno= connect= service= status=503 bytes= protocol=https
2021-09-01T12:03:00.191266+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=quiet-castle-26018.herokuapp.com request_id=3010eeac-283b-4eb5-8cdd-0300c2df979b fwd="223.227.24.221" dyno= connect= service= status=503 bytes= protocol=https
Disconnected from log stream. There may be events happening that you do not see here! Attempting to reconnect...
Connection to log stream failed. Please try again later.

Heroku by default uses Node.js build pack, which would not work for a react app, you would not have to change the build pack in the setting of that project.
This explains the issue better https://stackoverflow.com/a/68992661/16471757

Related

Getting H10 Error and 503 Service Unavailable after deploying Heroku app

I have a frontend only app that was successfully built and deployed by heroku. But when I run it I get this error:
GET https://decoder-app.herokuapp.com/ 503 (Service Unavailable)
heroku logs --tail says this:
2022-09-11T08:27:09.525060+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=decoder-app.herokuapp.com request_id=8328ccd5-73b5-43ec-a832-f4e6358354f7 fwd="49.225.231.212" dyno= connect= service= status=503 bytes= protocol=https
2022-09-11T08:28:24.883556+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=decoder-app.herokuapp.com request_id=92a93acf-f211-4531-8f30-48f3272d78d8 fwd="49.225.231.212" dyno= connect= service= status=503 bytes= protocol=https
I'm not sure what is going wrong

Deploy syncfusion example in Heroku

I tried to run the web-assembly of this https://github.com/syncfusion/blazor-showcase-appointment-planner in Heroku.
I added the buildpack https://github.com/jincod/dotnetcore-buildpack in Heroku, and try to deploy it. Here is the log after building it in Heroku:
2021-10-20T05:11:46.910345+00:00 heroku[web.1]: Starting process with command `cd /app/heroku_output && ./HealthTracker.Client`
2021-10-20T05:11:47.575776+00:00 app[web.1]: bash: ./HealthTracker.Client: No such file or directory
2021-10-20T05:11:47.685283+00:00 heroku[web.1]: Process exited with status 127
2021-10-20T05:11:47.893064+00:00 heroku[web.1]: State changed from starting to crashed
2021-10-20T05:12:11.000000+00:00 app[api]: Build succeeded
2021-10-20T05:12:49.235940+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=testing1020.herokuapp.com request_id=b3604c45-79db-4ff4-8a39-5b2120c831f5 fwd="219.78.255.70" dyno= connect= service= status=503 bytes= protocol=https
2021-10-20T05:12:50.208185+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=testing1020.herokuapp.com request_id=cee0dbd6-a639-4348-a292-401e4f119edd fwd="219.78.255.70" dyno= connect= service= status=503 bytes= protocol=https
2021-10-20T05:22:08.275777+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=testing1020.herokuapp.com request_id=4ecd0252-1e70-437d-ba12-787499e10715 fwd="219.78.255.70" dyno= connect= service= status=503 bytes= protocol=https
2021-10-20T05:22:11.799657+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=testing1020.herokuapp.com request_id=7823761f-d163-4392-b76f-7af4fdae256b fwd="219.78.255.70" dyno= connect= service= status=503 bytes= protocol=http
2021-10-20T05:22:12.075022+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=testing1020.herokuapp.com request_id=efeaffb9-954e-4737-9ca0-a138a3568ac5 fwd="219.78.255.70" dyno= connect= service= status=503 bytes= protocol=http
I tried to remove web-assembly away from the folder tree, and move its contents to the root of the repository. I then get:
2021-10-20T05:11:47.575776+00:00 app[web.1]: bash: ./HealthTracker.Client: No such file or directory
Can anyone deploy the app in Heroku, or spot any error in the deploying process?
So, for anyone with the same problem here. It's not the desired solution, but it works. I didn't manage to push my Blazor WASM project neither to Heroku (with .net buildpack) nor to GH pages.
Push your static Blazor WASM to Cloudflare pages -
Tutorial
Literally zero problems happened - push to github, paste build command in cloudflare pages interface - Deploy

Application error - When uploading my app on Heroku

Uploading my Django app on Heroku
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command heroku logs --tail
heroku logs:
2021-10-19T10:46:06.255667+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=carpriceread.herokuapp.com request_id=704fd2ae-c1b2-4a0c-b359-dc215038a6f6 fwd="49.36.183.69" dyno= connect= service= status=503 bytes= protocol=https
2021-10-19T10:55:56.839196+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=carpriceread.herokuapp.com request_id=837a3401-418a-4063-91ec-2a97c89ada73 fwd="49.36.183.69" dyno= connect= service= status=503 bytes= protocol=https
2021-10-19T10:55:57.205478+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=carpriceread.herokuapp.com request_id=63d1e63e-f0aa-4f54-9989-7c7a423bc21d fwd="49.36.183.69" dyno= connect= service= status=503 bytes= protocol=https
2021-10-19T12:43:41.062044+00:00 heroku[web.1]: State changed from crashed to starting
2021-10-19T12:43:43.722991+00:00 heroku[web.1]: Starting process with command `gunicorn app:app`
2021-10-19T12:43:44.543820+00:00 app[web.1]: bash: gunicorn: command not found
2021-10-19T12:43:44.669170+00:00 heroku[web.1]: Process exited with status 127
2021-10-19T12:43:44.788929+00:00 heroku[web.1]: State changed from starting to crashed
2021-10-19T16:27:49.633265+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=carpriceread.herokuapp.com request_id=6ef8172a-9ac4-403d-b2ee-4111dfd9767a fwd="49.36.183.69" dyno= connect= service= status=503 bytes= protocol=https
2021-10-19T16:27:50.150801+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=carpriceread.herokuapp.com request_id=dbd50e93-7749-47a4-a78d-3aa74b8a450a fwd="49.36.183.69" dyno= connect= service= status=503 bytes= protocol=https
repo link:
https://github.com/tan404/Predict-Car-Selling-Price
If you are using virtul environment in your app then you have to pip install gunicorn and create a procfile and then you have to write a single line in that procfile so that heroku can detect it, see the below video for help.
https://youtu.be/Li0Abz-KT78

heroku app is deployed but when i try to visit the app it gives following errors when i use heroku logs --tail

this is the error logs im getting after deploying heroku app, i am a newbie this is what i got got after deploying my first app on heroku, what changes should i make so that the app works fine //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
heroku logs --tail
ยป Warning: heroku update available from 7.53.0 to 7.59.0.
2021-08-28T16:52:12.798078+00:00 app[api]: Release v1 created by user ameyv.chavan22#gmail.com
2021-08-28T16:52:12.798078+00:00 app[api]: Initial release by user ameyv.chavan22#gmail.com
2021-08-28T16:52:13.326358+00:00 app[api]: Enable Logplex by user ameyv.chavan22#gmail.com
2021-08-28T16:52:13.326358+00:00 app[api]: Release v2 created by user ameyv.chavan22#gmail.com
2021-08-28T17:07:25.000000+00:00 app[api]: Build started by user ameyv.chavan22#gmail.com
2021-08-28T17:07:44.382543+00:00 app[api]: Deploy 51b4fd44 by user ameyv.chavan22#gmail.com
2021-08-28T17:07:44.382543+00:00 app[api]: Release v3 created by user ameyv.chavan22#gmail.com
2021-08-28T17:07:44.395803+00:00 app[api]: Scaled to web#1:Free by user ameyv.chavan22#gmail.com
2021-08-28T17:07:45.000000+00:00 app[api]: Build succeeded
2021-08-28T17:07:46.721328+00:00 heroku[web.1]: Starting process with command `node app.js`
2021-08-28T17:07:49.277716+00:00 app[web.1]: Server has started sucessfully
2021-08-28T17:08:47.102190+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2021-08-28T17:08:47.397400+00:00 heroku[web.1]: Stopping process with SIGKILL
2021-08-28T17:08:47.487625+00:00 heroku[web.1]: Process exited with status 137
2021-08-28T17:08:47.554163+00:00 heroku[web.1]: State changed from starting to crashed
2021-08-28T17:08:47.557513+00:00 heroku[web.1]: State changed from crashed to starting
2021-08-28T17:08:49.459570+00:00 heroku[web.1]: Starting process with command `node app.js`
2021-08-28T17:08:51.872078+00:00 app[web.1]: Server has started sucessfully
2021-08-28T17:09:28.638661+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path="/" host=rocky-reaches-76755.herokuapp.com request_id=d622853d-02a9-4664-9ba6-01fd0a3c7791 fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:09:50.122275+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2021-08-28T17:09:50.166954+00:00 heroku[web.1]: Stopping process with SIGKILL
2021-08-28T17:09:50.240786+00:00 heroku[web.1]: Process exited with status 137
2021-08-28T17:09:50.304939+00:00 heroku[web.1]: State changed from starting to crashed
2021-08-28T17:12:30.299513+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=rocky-reaches-76755.herokuapp.com request_id=b5657585-53d9-467f-90f2-7053b4c770f6 fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:12:30.976544+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=rocky-reaches-76755.herokuapp.com request_id=455a1136-3a5a-43dd-bbef-6c809f3c6ced fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:16:16.127810+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=rocky-reaches-76755.herokuapp.com request_id=01349493-0c9a-435a-a9b4-21c71af295e5 fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:16:16.807523+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=rocky-reaches-76755.herokuapp.com request_id=35b3de1c-64ec-4d74-996d-d256ec864b8c fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:16:19.836898+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=rocky-reaches-76755.herokuapp.com request_id=445637c1-a389-47c0-b1ee-ec2e95508572 fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:16:20.438846+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=rocky-reaches-76755.herokuapp.com request_id=5c781e31-1c26-4508-9920-af20fe4ccfb3 fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:18:55.491494+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=rocky-reaches-76755.herokuapp.com request_id=3912f43a-afce-416f-986d-97258ac4f0b4 fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:18:56.130249+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=rocky-reaches-76755.herokuapp.com request_id=0d6492be-a6b8-43c1-ac6e-d5aa25f2536d fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:21:18.508637+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=rocky-reaches-76755.herokuapp.com request_id=f835513d-5242-46bd-ad55-ce015b6ced55 fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:21:19.069729+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=rocky-reaches-76755.herokuapp.com request_id=59e9a681-cb4b-4445-9792-5e29083bd065 fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:24:07.908568+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=rocky-reaches-76755.herokuapp.com request_id=999c69d2-dab5-4b27-b348-b42912a55adb fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:24:08.713831+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=rocky-reaches-76755.herokuapp.com request_id=0fe2d380-dfc8-4fc0-ae62-6df201ea17c2 fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:24:23.220829+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=rocky-reaches-76755.herokuapp.com request_id=5d3d9f3a-b876-4616-a013-687154d34c7c fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:24:23.802914+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=rocky-reaches-76755.herokuapp.com request_id=fbdcba90-0e2e-4d3e-b03d-78e9583c541f fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:25:15.498295+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=rocky-reaches-76755.herokuapp.com request_id=b4eaa392-a085-4421-b488-8fbedb21f6a8 fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:25:16.084729+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=rocky-reaches-76755.herokuapp.com request_id=a823d1b5-2a65-4379-8c53-32d3526da61e fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:26:12.679293+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=rocky-reaches-76755.herokuapp.com request_id=9a4d7651-6be5-4726-bc37-bd27f1aa2671 fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:28:50.332848+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=rocky-reaches-76755.herokuapp.com request_id=c9643b0c-3c4a-48ec-88f0-7edd4ffde749 fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:28:51.598599+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=rocky-reaches-76755.herokuapp.com request_id=4bbf0f47-b587-4e16-b81b-4fd01aeaf319 fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:29:12.822863+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=rocky-reaches-76755.herokuapp.com request_id=7f80fda0-a82c-4dd7-8dde-65da5e2a0d2a fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:32:44.728204+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=rocky-reaches-76755.herokuapp.com request_id=07a9e966-c427-461b-839f-b5951853ade8 fwd="106.210.137.144" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:32:46.288092+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=rocky-reaches-76755.herokuapp.com request_id=6a038fc4-32b5-4723-b4f7-68635bbb57f0 fwd="106.210.137.144" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:33:13.537857+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=rocky-reaches-76755.herokuapp.com request_id=f5519591-e2f1-4ddf-a0f1-d2646976c5b4 fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:34:32.118895+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=rocky-reaches-76755.herokuapp.com request_id=15c8a3d0-e609-4715-8ca7-97692ef9a640 fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:34:32.520189+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=rocky-reaches-76755.herokuapp.com request_id=bb62bf8f-ab53-4a87-acc7-4aa50d34b538 fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:38:28.848851+00:00 app[api]: Starting process with command `rails console` by user ameyv.chavan22#gmail.com2021-08-28T17:38:32.211906+00:00 heroku[run.9104]: Awaiting client
2021-08-28T17:38:32.244364+00:00 heroku[run.9104]: Starting process with command `rails console`
2021-08-28T17:38:32.257202+00:00 heroku[run.9104]: State changed from starting to up
2021-08-28T17:38:36.411213+00:00 heroku[run.9104]: Process exited with status 127
2021-08-28T17:38:36.531538+00:00 heroku[run.9104]: State changed from up to complete
2021-08-28T17:38:45.459967+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=rocky-reaches-76755.herokuapp.com request_id=c2eda213-aeb7-4d03-8d76-d2338b9998e3 fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:38:46.030323+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=rocky-reaches-76755.herokuapp.com request_id=9b44b49f-7a49-45a9-9890-cc867d52dd5d fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:39:03.564349+00:00 heroku[web.1]: State changed from crashed to starting
2021-08-28T17:39:06.396407+00:00 heroku[web.1]: Starting process with command `node app.js`
2021-08-28T17:39:09.174472+00:00 app[web.1]: Server has started sucessfully
2021-08-28T17:40:06.563076+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2021-08-28T17:40:06.594419+00:00 heroku[web.1]: Stopping process with SIGKILL
2021-08-28T17:40:06.663526+00:00 heroku[web.1]: Process exited with status 137
2021-08-28T17:40:06.726895+00:00 heroku[web.1]: State changed from starting to crashed
2021-08-28T17:40:06.779059+00:00 heroku[web.1]: State changed from crashed to starting
2021-08-28T17:40:09.352690+00:00 heroku[web.1]: Starting process with command `node app.js`
2021-08-28T17:40:11.218822+00:00 app[web.1]: Server has started sucessfully
2021-08-28T17:40:26.676919+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path="/" host=rocky-reaches-76755.herokuapp.com request_id=e06256e4-8dc7-429d-8dc7-56caf54c554f fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:40:45.448578+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path="/" host=rocky-reaches-76755.herokuapp.com request_id=624ac3dc-c811-400e-9e2b-e4b38c92f6eb fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:41:09.489490+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2021-08-28T17:41:09.534167+00:00 heroku[web.1]: Stopping process with SIGKILL
2021-08-28T17:41:09.601989+00:00 heroku[web.1]: Process exited with status 137
2021-08-28T17:41:09.666399+00:00 heroku[web.1]: State changed from starting to crashed
2021-08-28T17:41:10.246586+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=rocky-reaches-76755.herokuapp.com request_id=828286a4-06a5-4cac-a203-09f8494ee261 fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:41:10.809343+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=rocky-reaches-76755.herokuapp.com request_id=e39fd91d-6278-4388-86b8-68612e9cfeef fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
2021-08-28T17:41:11.102099+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=rocky-reaches-76755.herokuapp.com request_id=9ed0f0a8-f393-4e8b-ab68-c4650c167f15 fwd="103.163.188.163" dyno= connect= service= status=503 bytes= protocol=https
I have had the same issue as this.
If you are using node js:
Wrong:
web : npm run start
(Remove the space after web:)
Correct:
web:npm run start
I think the Heroku website has a space after web: in its instructions but it actually leads the app to crash.

how to deal with heroku code=H10 desc="App crashed"

hi folks I spent a whole day dealing with this ,I want to deploy my spring boot 2.4.1 blog on Heroku but returned H10 crashed, my app runs well on localhost8080.
please help me I really appreciate it.
2021-01-29T11:42:46.341298+00:00 app[web.1]: at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:101)
2021-01-29T11:42:46.341299+00:00 app[web.1]: at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263)
2021-01-29T11:42:46.341299+00:00 app[web.1]: ... 42 common frames omitted
2021-01-29T11:42:46.341300+00:00 app[web.1]:
2021-01-29T11:42:46.422599+00:00 heroku[web.1]: Process exited with status 1
2021-01-29T11:42:46.460866+00:00 heroku[web.1]: State changed from starting to crashed
2021-01-29T11:42:48.204095+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=blogfinal3454.herokuapp.com request_id=b35ff65c-f40e-4f24-927b-14757a2bd988 fwd="98.207.66.34" dyno= connect= service= status=503 bytes= protocol=https
2021-01-29T11:42:48.869148+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=blogfinal3454.herokuapp.com request_id=820aaa76-1b29-41c3-9803-2a79972c33e8 fwd="98.207.66.34" dyno= connect= service= status=503 bytes= protocol=https
2021-01-29T11:42:52.733599+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=blogfinal3454.herokuapp.com request_id=939ed6f3-7a5a-4c89-ae92-0cce9e33d3cb fwd="98.207.66.34" dyno= connect= service= status=503 bytes= protocol=https
2021-01-29T11:42:53.049943+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=blogfinal3454.herokuapp.com request_id=5eaf948a-73fa-487c-a3b6-aa9ce0bea5bb fwd="98.207.66.34" dyno= connect= service= status=503 bytes= protocol=https

Resources