Deploy fails sometimes after starting service without any errors

Hi, I’ve been trying to get an existing project to deploy on render but saw no success. There are no errors or error messages so It’s very difficult to debug.

The deployment stops at the start server stage eventually with a status of fail. There are no additional information to determine what the failure is.

Sep 1 02:36:43 PM  ==> Deploying...
Sep 1 02:37:43 PM  ==> Starting service with 'yarn render:start:prod'
Sep 1 02:37:46 PM  yarn run v1.22.5
Sep 1 02:37:47 PM  $ next start
Sep 1 02:37:49 PM  ready - started server on 0.0.0.0:10000, url: http://localhost:10000
Sep 1 02:37:49 PM  info  - Loaded env from /opt/render/project/src/.env.production.local

I do see a health check, which the deployment may be trying to verify. I was unable to access the URL without seeing 404. The health check API resides in /api/health. I am not sure why we are checking against :10000/api/health or if it’ll have an impact here.

Hey there - did you get this figured out? Which service are you having trouble with and we can take a look.

John B

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