Error running Heroku with .Net Core 3.1 api (docker)

Viewed 250

I successfully deployed a .Net Core 3.1 app example with docker to Heroku. But when i try to run it, it shows me the following message:

Application error
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

When i run this heroku logs --tail command i recieve this Error: missing required flag: -a, --app APP app to run command against. Please, how can i see a further error description ?

enter image description hereenter image description hereenter image description here

1 Answers

The error message isn't very descriptive, but fortunately the solution is actually very easy!

Just above, you ran the command heroku container:release web -a blinkytest. In this command, you specified the app blinkytest. You must do the same for heroku logs --tail so if you do heroku logs --tail -a blinkytest that should do it for you!

Related