Express.js Web Service fails on internal health check

So I’m trying to build an Express.js web service and although the logs seem to be fine and the build is successful, the deployment fails. I assume it is due to the health check since it has an indicator saying it is trying to run the health check.

I already added logs to the route of the health check and they do not run, so the endpoint itself is not being called, although it runs correctly locally.

Does anyone have an idea what it might me?

The deployment fails after waiting for the health check for some time (timeouts).

Hi,

I’ve responded to the ticket you also opened, I’ll add the same reponse here:

Render automatically handle TLS for you further upstream, and passes only an HTTP request to your running instance once inside the private network. Please configure your app to only respond to HTTP.

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.