10 months ago
Without making any changes after a week of uptime, suddenly the deployment stops working and my health check shows a Railway screen with a 502 Error.
8 Replies
10 months ago
Hey there! We've found the following might help you get unblocked faster:
- 🧵 Updating shared variable doesn't redeploy
- 🧵 502 error after container build
- 🧵 Error while running the Node JS project after deployment
If you find the answer from one of these, please let us know by solving the thread!
10 months ago
Hmmm, this appears to be loading on my end just fine.
Is it still happening for you?
Status changed to Awaiting User Response Railway • 10 months ago
noahd
Hmmm, this appears to be loading on my end just fine. Is it still happening for you?
10 months ago
It resolves when I restart the server - so I did that an hour or so ago and it resolves immediately.
Status changed to Awaiting Railway Response Railway • 10 months ago
10 months ago
Interesting hmm.
Next time this happens can you share the link to the service not responding?
Status changed to Awaiting User Response Railway • 10 months ago
noahd
Interesting hmm. Next time this happens can you share the link to the service not responding?
10 months ago
It happened twice more today, must be something in my app, but have no logs reporting any issues, just sudden 502 errors. Here's a screenshot of the screen I seen my health check. I need to restart it right away so the worker resumes so can't exactly share a link of it being down.
Attachments
Status changed to Awaiting Railway Response Railway • 10 months ago
10 months ago
From the 6h CPU metrics, it looks like your app is heavily CPU constrained. Given that Node apps can typically only use 1 vCPU due to their single-threaded nature, I would suggest adding more replicas.
Status changed to Awaiting User Response Railway • 10 months ago
brody
From the 6h CPU metrics, it looks like your app is heavily CPU constrained. Given that Node apps can typically only use 1 vCPU due to their single-threaded nature, I would suggest adding more replicas.
10 months ago
ok perfect thank you, increased to 4 - will monitor this and add more if needed. Thank you!!
Status changed to Awaiting Railway Response Railway • 10 months ago
Status changed to Awaiting User Response Railway • 10 months ago
9 months ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 9 months ago