Containers will not start and service returning 502

22 days ago

Containers will not start and my services return 502 right now.

Screenshot 2026-07-30 at 18.09.17.png

Attachments

Solved$10 Bounty

Pinned Solution

manuproject
HOBBY

22 days ago

the deploy is being stuck on "configuring network" for 5 mins - thats usually railway side, not you. cancel it and redeploy, and check status.railway.com if other people's containers arent starting either.

but the 502 is probably a port mismatch. vaultwarden listens on port 80 inside the container and railway's proxy doesnt know that. go to service settings → networking → click edit on your public domain and set the target port to 80. or add a variable ROCKET_PORT=8080 and set the domain target to 8080, either works.

if it still 502s after the deploy actually finishes, paste your deploy logs

1 Replies

Railway
BOT

22 days ago

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

Status changed to Open Railway 22 days ago


manuproject
HOBBY

22 days ago

the deploy is being stuck on "configuring network" for 5 mins - thats usually railway side, not you. cancel it and redeploy, and check status.railway.com if other people's containers arent starting either.

but the 502 is probably a port mismatch. vaultwarden listens on port 80 inside the container and railway's proxy doesnt know that. go to service settings → networking → click edit on your public domain and set the target port to 80. or add a variable ROCKET_PORT=8080 and set the domain target to 8080, either works.

if it still 502s after the deploy actually finishes, paste your deploy logs


Status changed to Solved medim 17 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...