Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I have a rather simple NodeJS application that just listens on 1 path for a webhook and connects to a MongoDB Atlas Database. When deploying the app, even though it’s “failing” I can check the console and see that I have successfully connected to Mongo, that all of my environment variables were set correctly, and that my App is listening on default port 8080. Despite these facts, the health checks are failing and preventing me from setting up a domain and using my application.
I saw 2 similar questions, https://www.digitalocean.com/community/questions/why-am-i-getting-a-deploy-error-health-checks and https://www.digitalocean.com/community/questions/app-platform-deploy-error-health-checks-deploycontainerhealthchecksfailed,
but the solution to both of these problems seemed to be specifying a host to listen on (‘0.0.0.0’) which I have tried already. By default, Express will listen on all hosts but it didn’t work that way OR when I specified the host.
I have also changed the health checks from TCP to HTTP, and tried various paths. The app works as expected locally, so I’m really not sure what gives. Hopefully this is just a small oversight and I’m missing something.
Any help would be appreciated.
Thanks!
a6309a057c3f4cb38fb2e7feb67236
KFSys
Thomas M
ef1ed44cc2154be3bcbb2d727878f8
Devs Neonetworks
1e6b823ea20d4cb189a34a922f5588
Telmo Valverde
erik-jan martens
Henry Mui
anthonycarreon
garantieheld
Marin