Deploy Error: Health Checks .NET API

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 :)

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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! Nate