All requests to python service 502 with no logs available
Anonymous
PROOP

4 months ago

I build the service, looks fine, all endpoints return 502 and the logs are stuck on build logs. Prod is down for all intents

I can't even select the service in the service dropdown

$30 Bounty

5 Replies

4 months ago

Hey there! Can I get a link to the service having issues please?


Status changed to Awaiting User Response Railway 4 months ago



Status changed to Awaiting Railway Response Railway 4 months ago


Anonymous
PROOP

4 months ago

It's "up" now but this keeps happening where it 502s after building/deploying and I have no way to find out when it should be ready. So basically I'm guaranteed at least 10 mins of prod downtime each time it deploys


Anonymous
PROOP

4 months ago

Sorry didn't mean to do that (accept solution). this is a problem still


Status changed to Open noahd 4 months ago


4 months ago

Hello,

You are downloading pip packages during runtime in the start command. This, combined with the fact that you don't have a health check, means we start routing traffic to your app before it's ready to handle it.

Your app is also crashing after the packages finish downloading.

Please download packages only during the build, and always use a health check. You will also need to debug why your application is crashing.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...