Cloud foundry: ERR Timed out after 1m0s: health check never passed

Csepi picture Csepi · Feb 7, 2016 · Viewed 15.6k times · Source

After I deployed my app into cloud foundry got the following error message: ERR Timed out after 1m0s: health check never passed. Of course on my local machine works perfectly.

Answer

Yarix picture Yarix · Apr 5, 2017

You should change your health check type. if the application does not expose a Web interface you need to change the healthcheck type to process. Valid values are port, process, and http.

To configure a health check while creating or updating an application, use the cf push command:

$ cf push YOUR-APP -u process

See the Health Check doc for more information: https://docs.cloudfoundry.org/devguide/deploy-apps/healthchecks.html