Health endpoint for private services

Hi, I’m trying to publish a private service using python3 flask and the deploy times out because, I’m guessing render can’t find the health endpoint. I have an endpoint /health that returns 200 and have that set in my render.yaml file: healthCheckPath: /health

Any pointers on what could be wrong? The logs show my service running port 5000.

Hi there,

Thanks for reaching out.

Private services don’t have a healthcheck path as they don’t strictly have to “speak” http, so you could remove that from your render.yaml. Private services do have a TCP connection check.

Depoy timeouts often occur when you’re not binding to the correct address, e.g. a service should use 0.0.0.0 not 127.0.0.1, etc.

If you’re still having trouble, please elaborate on your issue in as much detail as possible, e.g. logs, any error messages, reproduction steps, screenshots, etc. to show the problem you’re experiencing. Additionally, if you don’t want to share those details on the community site, please feel free to open a ticket with support@render.com.

Hope that helps

Kind regards

Alan

Thank you, that was my problem!

Hi Nathan,

Glad to hear you were able to resolve your issue.

Thanks for using Render!

Alan