R
Railway

✋|help

NestJS app starts correctly but receives SIGTERM after 20 seconds (Hobby Plan)

Ppcriulan9/13/2023
Hello !

I've managed to successfully deployed and start my NestJS app, but I receive a SIGTERM 20 seconds after...I didn't do anything fancy, it's just the starter project from NestJS.
Here are the logs :

[Nest] 32 - 09/13/2023, 5:16:03 PM LOG [NestFactory] Starting Nest application...

[Nest] 32 - 09/13/2023, 5:16:03 PM LOG [InstanceLoader] AppModule dependencies initialized +13ms

[Nest] 32 - 09/13/2023, 5:16:03 PM LOG [RoutesResolver] AppController {/}: +9ms

[Nest] 32 - 09/13/2023, 5:16:03 PM LOG [RouterExplorer] Mapped {/, GET} route +2ms

[Nest] 32 - 09/13/2023, 5:16:03 PM LOG [NestApplication] Nest application successfully started +2ms

npm ERR! path /app

npm ERR! command failed

npm ERR! signal SIGTERM

npm ERR! command sh -c -- nest start

npm ERR! A complete log of this run can be found in:

npm ERR! /root/.npm/_logs/2023-09-13T17_11_54_812Z-debug-0.log

I suspected that maybe it was using too much ram but i'm on the Hobby Plan and the error still occurs.

Thanks in advance 🙂
Ppcriulan9/13/2023
Project ID : e5f91dca-5bef-47ab-9858-ff372f19d0ed
BBrody9/13/2023
when did you upgrade to hobby?
Ppcriulan9/13/2023
Today
Then I redeployed the app
(today = like 30 minutes ago)
(20 actually)
Nevermind, I restarted the app and now it works 🙂
BBrody9/13/2023
love when problems solve themselves 🤣

Looking for more? Join the community!

Recommended Posts
Flask App Keep Getting Called From 192.168.0.xI'm not sure if this is the right place to ask, but i noticed that my app is getting call from 192.1sslIm new to all this so bare with me. I have a .dev site and the ssl giving me some issues. I'm gettiDeploy Logs Incorrectly Highlighting Logs as ErrorI'm having this issue with a custom log formatter on python defined like this: ``` formatter = loggDeployment stuck while pushing the image and failing after ~30minsHi, I have 4 environment in a project. I'm deploying fastapi application using uvicorn, it was takinpg_restoreIs remote postgres pg_restore from a local binary dump file supposed to take super long? It took likRemove 2FAHi!  I had a string of bad luck and lost my 2FA key for my account. Then I proceeded to use my recoRegion SelectionThe database and the services I work with are in the European region so I'm experiencing some delaysExperiencing crash with no output for the reason of the crash.Hello, I'm having issues with my project that I'm working on. I'm trying to test uploading some datRailway StrapiHi. It's taken me entire day and I think I am getting close. I deployed Strapi with postgres on RailLogs down?I haven't been able to see any logs, deploy or build or observability for the past 15 minDeploy from Gitlab failsI am getting the error: error sending request for url (https://backboard.railway-develop.app/graphRailway Github ActionHey i followed the blog online and am trying to deploy my railway app under a `backend/` directory iBuild slowHi, ive pushed some updates to my sveltekit app that makes my buildtime about 4 minutes for some reaIssue Deploying Laravel PHPHello, i'm trying to deploy an already existing project made in PHP, using Laravel, and i'm trying tCustom domain not showing CNameHi! Just wanted to deploy our main app to Railway but when adding a custom domain it shows an error custom domain via googleHi! I am trying to deploy to a custom domain managed by google, and saw a bunch of posts about issueenvironments are linked together?I've two environments, production and development. If I delete one service in development, it shoulDeployment stuck at building phaseDeployments are stuck at #3 [internal] load metadata for ghcr.io/railwayapp/nixpacks:ubuntu-1693872Outbound traffic to Google Pub/Sub limitedProject id: bc848a89-1faa-4b26-af86-58c13f7a2e99 I am using using google pub/sub with pull subscripAccessing secret env variables during build step```toml [variables] GOPRIVATE="github.com/stroomnetwork" STROOM_REPOS_ACCESS_KEY="ghp_THIS is Secret