a year ago
Hello everyone,
I have been working with railway for a while. I'm on the hobby track.
Many times services that I upload (in Python, for example) start working and at a certain point simply stop. We have neat logs that we can see. The service is supposed to work 24/7 and it can suddenly stop for no particular reason.
Other cases are when I upload a service, I see blogs starting container and there it gets stuck. Servers that already worked and ran and if I upload them again they get stuck.
Has anyone experienced this?
20 Replies
a year ago
Hello,
"stuck" or "it stops" are very vague terms, could you please describe the issue in detail, in practice what happens when your app gets "stuck" ?
Request timeouts? error codes?
a year ago
Zero errors
Just freeze, I see the logs not printing any thing new.
There are some times that I am deploying something and it just get freeze after 3-4 lines of logs.
When I run in locally everything is good.
a year ago
I'm sorry but "Just freeze" is too vague for us to help you with.
Either way, this would be an application level issue, so there isn't all that much we can help with regardless, besides some common tips, though we can't give you any tips without knowing what's actually happening.
a year ago
What do yo want to see?
a year ago
how i can copy the link of a service? should i open a new thread?
a year ago
https://railway.app/project/810e874a-722d-4846-affa-89341b0ed0f3/service/01c13eeb-e943-4348-881b-928334c14fa3
as you can see it stuck on starting container,
i threw some prints just to check if it works and its not.
would appreciate any help
a year ago
It’s private, please let’s talk on the second thread.
a year ago
The duplicate thread was removed.
Given that this is an application level issue and not a platform issue we would need to see your repo or a minimal reproducible example to be of help here.
a year ago
I understand that but I can’t share here a repo. I will send in to you privately with no problems.
How did you decided that it’s an application problem?
a year ago
The deployment is listed as running, and it's gathering non zero metrics.
You can add me to your repo, my GitHub is brody192.
a year ago
added you, let me know if you find something problematic.
thanks a lot
a year ago
What it does?
a year ago
And it should be added in the main.py?
a year ago
In the Dockerfile -
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONUNBUFFERED
a year ago
Hey, I've tried adding this line to the dockerfile, unfortunately it's still stuck, do you have any idea on how to make this work ?
