Here is my workspace
$GOPATH/src/github.com/ulukma/weder-deploy
I have Procfile
web:weder-deploy
and also I have Godeps folder.
And I pushed my app to Heroku successfully. But when I am trying to open it I get an error
2018-09-06T22:49:31.839903+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=weaderapp.herokuapp.com request_id=64fd68c8-3012-4bc6-9a00-eedaacbb799c fwd="64.30.109.147" dyno= connect= service= status=503 bytes= protocol=https
2018-09-06T22:49:32.590403+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=weaderapp.herokuapp.com request_id=d962d485-85f9-44a7-9214-da7922495656 fwd="64.30.109.147" dyno= connect= service= status=503 bytes= protocol=https
You need to scale your app to at least one web dyno:
heroku ps:scale web=1
This will boot one dyno (container) running your weder-deploy command, allowing requests to go through that container and resolving that specific error.
Related
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
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
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
I just tried to deploy my first heroku application, but unfortunately I am getting an error.
The command heroku logs --tail throws the following error:
2020-02-14T16:35:34.990792+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/"host=agile-wildwood-52268.herokuapp.com request_id=5edfe87f-b4c7-42ee-a856-03ab806613ec fwd="88.68.64.245" dyno= connect= service= status=503 bytes= protocol=https
2020-02-14T16:35:37.110579+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=agile-wildwood-52268.herokuapp.com request_id=4e0aeeee-f828-4f85-a18c-25d54bfe3221 fwd="88.68.64.245" dyno= connect= service= status=503 bytes= protocol=https
I don't know where this error might be caused, any help is appreciated. Thank you
So I figured out the problem.
I didn't have my environment variables set on the heroku dashboard.
If you get a similar problem follow those steps:
Go to https://dashboard.heroku.com/apps
Click on your application
Go to settings and click on "reveal config vars"
Enter all your environment variables
Hope it helps
I got the following errors after deploying my code to heroku through the heroku CLI:
2019-01-21T21:46:43.673884+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=testmkyoung.herokuapp.com request_id=0ff8d9be-b6d5-437e-99c0-1133a9dc0a1d fwd="204.14.239.17" dyno= connect= service= status=503 bytes= protocol=https
2019-01-21T21:46:44.773150+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=testmkyoung.herokuapp.com request_id=301a9b63-5c56-4214-bc4e-643ff7f37a8a fwd="204.14.239.17" dyno= connect= service= status=503 bytes= protocol=https
2019-01-21T21:47:05.216113+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=testmkyoung.herokuapp.com request_id=f25fbffe-9524-4e46-a239-d294ea946b50 fwd="204.14.239.17" dyno= connect= service= status=503 bytes= protocol=https
Can someone tell me how to debug it?