Can't create/deploy .net API to apprunner

0

I am trying to deploy my first .net api to apprunner and every single time I get the same error:

08-13-2023 06:57:52 PM [AppRunner] Deployment with ID : d4b31f99ac764891a7774976275681d3 failed. Failure reason : Health check failed.
08-13-2023 06:57:40 PM [AppRunner] Health check failed on port '5000'. Check your configured port number. For more information, read the application logs.
08-13-2023 06:51:37 PM [AppRunner] Performing health check on port '5000'.
08-13-2023 06:51:27 PM [AppRunner] Provisioning instances and deploying image for publicly accessible service.
08-13-2023 06:51:15 PM [AppRunner] Successfully built source code.

I tried to deploy using docker with .net6 and .net7, I also tried connecting to my GitHub account. My last attempt was a basic example app: https://github.com/quintelab/Test and I am still getting the error. A friend of mine tried the same app and it worked.

I can't see any logs on the Application Logs section.

Any suggestions?

asked 9 months ago243 views
2 Answers
0

What port are you exposing?

Which health check do you have setup? https://docs.aws.amazon.com/apprunner/latest/dg/manage-configure-healthcheck.html

profile picture
EXPERT
answered 9 months ago
  • Thats not the docker file is it?

0

For my last try I used the port 5000 (it is setup in the https://github.com/quintelab/Test/blob/main/apprunner.yaml) I left the default health check settings. I didn't change it.

answered 9 months ago
  • Thats not the docker file is it?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions