Deployment times out (Node.js Express app)

Build runs ok. Then, after ten minutes, the start command finally executes and the server starts up:

Then the deployment status just continues to hang for a painfully long time until it gives me a failed status and a timed out message.

Build command is just npm install and start is npm run start, which is just ts-node app.ts.

I’ve searched the forums and it seems the only public answer is setting the server to 0.0.0.0, but explicitly doing so hasn’t fixed the problem, and it doesn’t seem like Express forces 0.0.0.0 to localhost like some other frameworks do. The whole process takes quite a long time, so troubleshooting this has been an absolute nightmare and so I need help. The app runs locally no problem.

Repo

Any help would be greatly appreciated.

1 Like

Hi Nick,

We’ll address this in the Support Ticket you opened since it may be more specific to your service than a general community question.

Regards,

Matt

1 Like

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