Build succeeds in logs but fails on render. Service goes online temporarily and then dies

Hi. I tried deploying a node app (a mix of a discord bot and an express server to interact with the bot through an API). The service went online temporarily but went down soon after. Here is a screenshot of the logs with the message - Imgur: The magic of the Internet

Does anyone know how to fix this?

Hi there,

Thanks for reaching out.

Web Services expect the running process to expose an HTTP endpoint - host, port 10000 (the default value of $PORT, but can be other ports). If the platform can’t bind to an HTTP endpoint of a Web Service during deploy it will eventually timeout and mark the deploy as failed.

Kind regards


Hi Alan. That was indeed the issue. I had created a module but messed up the imports. Thanks for the swift response.

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