(NestJS) Health Check Failed

Hi, I deployed a NestJS Application on Railway and suddenly the Health Check stopped working. The Heath Check works fine from Localhost and returns with 200 OK
8 Replies
Percy
Percy11mo ago
Project ID: 938c3076-045c-45b4-9ab8-0ba7a836429d
user3249123423
user3249123423OP11mo ago
938c3076-045c-45b4-9ab8-0ba7a836429d
Brody
Brody11mo ago
what do the deployment logs say?
user3249123423
user3249123423OP11mo ago
Failed migration, that doesn’t impact the Health Check? Thanks for helping
Brody
Brody11mo ago
if your app never starts of course the health check won't succeed
ethan
ethan11mo ago
In the past I’ve had to set an environment variable called PORT and set it equal to whatever port the app was running on (probably 3000)
user3249123423
user3249123423OP11mo ago
Resolved, sorry for this stupid Post 🫣🤦‍♂️😂
Brody
Brody11mo ago
no worries
Want results from more Discord servers?
Add your server