9 months ago
Hello 
I am willing to move on to Metal however, my fastapi crashes at deploy. I was only able to get it working with legacy server. I have no clue why this is happening. How can I debug / overcome this? Thanks..
11 Replies
9 months ago
Hey Yavuz, I'm not seeing any crashes on your services. Can you link me to the deployment ID that's crashing?
Status changed to Awaiting User Response Railway • 9 months ago
9 months ago
https://jamapi.jazzaminute.com/
https://jamapidevstage.jazzaminute.com/
One of them is dev-stage.
Both running on legacy now since metal crashes the api.
So I have to upgrade to metal and crash the api to reproduce and you can debug?
Let me know if that is the case I'll do it. Thanks for the answer...
Status changed to Awaiting Railway Response Railway • 9 months ago
9 months ago
Not necessarily, but I'm not seeing any previous deployments where it crashed? Just trying to understand where you saw this crash.
If you don't have a crash available for me to look at it might be difficult to debug your issue. :(
Status changed to Awaiting User Response Railway • 9 months ago
9 months ago
Well, I have the railway emails too. I have watched it crash while deploying then removed the deployment and rolled back. After I downgraded to legacy, it did not crash which was the solution I could find to keep the api alive. However, if you can debug easier, I could upgrade the devstage to metal and crash the api and send you the link may be?
Status changed to Awaiting Railway Response Railway • 9 months ago
9 months ago
Ah ok, if you removed the deployment and it was deleted then there's not a way for me to diagnose without looking at the crash. Could you upgrade it so we can see it crash and diagnose further?
Status changed to Awaiting User Response Railway • 9 months ago
Status changed to Awaiting Railway Response Railway • 9 months ago
9 months ago
Sounds good!
Status changed to Awaiting User Response Railway • 9 months ago
9 months ago
Some live apps still pointing to devstage so I can not risk a crash yet.
However, I'll be able to in a couple of days.
I just wanted to let you know since there has been no reply to you.
Status changed to Awaiting Railway Response Railway • 9 months ago
9 months ago
Be aware that we might automatically migrate your Services, so you're better off migrating them by hand if you can
Status changed to Awaiting User Response Railway • 9 months ago
9 months ago
I have an upgrade waiting for review in app store, after that clears, I will do that thanks.
Status changed to Awaiting Railway Response Railway • 9 months ago
Status changed to Solved echohack • 9 months ago
9 months ago
OK, I have tried to upgrade to metal first and it worked without crashing.
Then I built the latest commit from github and that was fine too.
So, I can confirm that fastapi apis are not crashing anymore.
Thanks
Status changed to Awaiting Railway Response Railway • 9 months ago
Status changed to Solved yavuzakyazici • 9 months ago
