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?

feita há 10 meses270 visualizações
2 Respostas
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
ESPECIALISTA
respondido há 10 meses
  • 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.

respondido há 10 meses
  • Thats not the docker file is it?

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas