Deploy Error: Health Checks .NET API

Posted November 11, 2021 60 views

hello I don’t understand even after several searches I still have this error after the build during deployment: “Deploy Error: Health Checks
Component Issues app-dev failed to deploy”
Here is my docker file and my “Health” configuration
Example link
Example link
Example link
Thanks for your help :)

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hey there!

It looks like your application may not be completing the deploy process before the health checks are starting on your app. One option here would be to ensure that any migrations or configurations are done post deploy. The other option would be to modify the intial_delay_seconds for the health checks in your app’s spec file. Setting that to a value like 30 or more would increase the time before those health checks start. This would allow for your application to finish fully deploying before those run.

For reference on this app spec please see: App Spec Ref

Hope it helps!