Railway server sleep even purchase Hobby plan
hey guys, I paid for Hobby plan and I was successful deploy my nodejs server on railway last night, and it was sleep this morning even with the pay plan. But I just checked it again at noon, when I opened the server on Railway, it told me " 404, YOU ARE LOST". Anyone experience with this before? please help
12 Replies
Project ID:
9cb871d0-d9de-4630-84e1-b61614e384b6
project ID: 9cb871d0-d9de-4630-84e1-b61614e384b6
so you get 404 from the railway domain for the service you deployed?
yes I am
But for some reason, when I just open it again, it works fine now
now I think I just wonder why the server sleep after few hour with no activity?
that would be a code issue im afraid
hmm, I used NodeJS and Express for my code
have you exprience this before? would you mind to take a look at my repo? https://github.com/khoaguye/networker_be
GitHub
GitHub - khoaguye/networker_be
Contribute to khoaguye/networker_be development by creating an account on GitHub.
All your DB creds are visible there my dude
But other than that, I don't see any issue with ur code
thanks for take a look
have you experience with server sleep after no acitivity in long hour?
the deployments dont sleep
yeahh, that what it shows on my log in railway too
that's why I wonder why it happen?
can you show me where exactly you saw this 404 page