503 Service Unavailable
mkolodny
HOBBYOP

2 months ago

After running railway up I'm seeing Failed to upload code with status code 503 Service Unavailable.

$10 Bounty

2 Replies

Railway
BOT

2 months ago

This thread has been opened as a bounty so the community can help solve it.

Status changed to Open Railway • about 2 months ago


bluebeardone
HOBBY

a month ago

I expect you tried more than once and it gave you the same status code. The reason for this is probably because of the size of your code that you are uploading. Is your gitIgnore setup correctly? As you might be uploading something like node_modules.


owenlindsay83-lang
FREE

a month ago

I’d treat the 503 as an upload-stage Railway issue, because railway up uploads your local source before Railway builds or starts the app.

Please check:

railway whoami

railway status

railway upgrade --check

railway up --verbose

If the CLI is outdated, run railway upgrade and retry.

If it still fails specifically while uploading code, that points more toward Railway’s source-upload endpoint than your application code. A temporary workaround is to deploy from a connected GitHub repo instead of the local CLI upload path.

If it keeps happening, send Railway the CLI version, UTC time of failure, project/service ID, and the relevant verbose output, with any secrets redacted.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...