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?

질문됨 10달 전270회 조회
2개 답변
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
전문가
답변함 10달 전
  • 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.

답변함 10달 전
  • Thats not the docker file is it?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠