Deploy syncfusion example in Heroku - 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

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

Error during deploy Vaadin application at heroku - status code 503 'State changed from starting to crashed'

I try to run my vaadin application. After build run successfully, an error appears on the screen. Any ideas ?
2022-08-02T05:06:05.575314+00:00 heroku[web.1]: Starting process with command `java $JAVA_OPTS -jar target/qrcodegen-1.0-SNAPSHOT.jar $JAR_OPTS`
2022-08-02T05:06:06.505888+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2022-08-02T05:06:06.509226+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
2022-08-02T05:06:06.606402+00:00 app[web.1]: no main manifest attribute, in target/qrcodegen-1.0-SNAPSHOT.jar
2022-08-02T05:06:06.740068+00:00 heroku[web.1]: Process exited with status 1
2022-08-02T05:06:06.795271+00:00 heroku[web.1]: State changed from starting to crashed
2022-08-02T05:07:19.953424+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=kodikos.herokuapp.com request_id=7479eaae-5d81-4552-b9f5-0c0f2bc15f6d fwd="37.225.85.157" dyno= connect= service= status=503 bytes= protocol=https
2022-08-02T05:07:20.504159+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=kodikos.herokuapp.com request_id=b2f6f781-86c2-4ff6-81ca-260c466d8fba fwd="37.225.85.157" dyno= connect= service= status=503 bytes= protocol=https
2022-08-02T05:13:27.592886+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=kodikos.herokuapp.com request_id=499ea233-160a-4335-98f7-3907ac937b8e fwd="37.225.85.157" dyno= connect= service= status=503 bytes= protocol=https
2022-08-02T05:13:28.318168+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=kodikos.herokuapp.com request_id=5f17545f-bc9a-4e46-8671-ace31a023016 fwd="37.225.85.157" dyno= connect= service= status=503 bytes= protocol=https
```
github repo: https://github.com/rafalsionkowski/qr-code-gen
The error is
no main manifest attribute, in target/qrcodegen-1.0-SNAPSHOT.jar
Without any main attribute Java does not know which class to execute.
Normally the spring-maven-plugin will rewrite the built jar and add needed metadata such as a main attribute. You seem to be missing that plugin

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 application error - react and node

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

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