Question
App Platform Deploy Error: Health Checks, DeployContainerHealthChecksFailed
After deploying my NestJS api service, it started properly as seen on this screenshot of the deployment logs. But everytime, the health checks fails, which inhibits me from deploying.
I tried, according to the documentation, with a TCP health check, initally on my set port which was 3333, followed by the default port which is 8080, but both without success. I then went on and implemented a service health check route, under /api/health
, but once again it still fails. You can take a look at my open-source config/project here.
It doesn’t seem to be giving any other information.. Please let me know how I can fix it, or how I can turn off this check.
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.
×
I’d like to also point out i’ve been through this question which was asked previously. I am already using the PORT environment variable which seems to be working, and as my question explains, i’ve tested with the 8080 port.