Docker hosted on railway - server unavailable for docker image
The docker image is running via the local host and the response is as expected. But when I try to run via railway it shows me a service unavailable error.
Solution:Jump to solution
please read this docs page
https://docs.railway.app/troubleshoot/fixing-common-errors
specifically this section for uvicorn
https://docs.railway.app/troubleshoot/fixing-common-errors#python--uvicorn...
17 Replies
Project ID:
bd52c00d-c764-4dfd-ad5b-ffbb3adaf0e5
bd52c00d-c764-4dfd-ad5b-ffbb3adaf0e5
Solution
please read this docs page
https://docs.railway.app/troubleshoot/fixing-common-errors
specifically this section for uvicorn
https://docs.railway.app/troubleshoot/fixing-common-errors#python--uvicorn
@brody192, this is our command in dockerfile.
we are still getting that error
are you overwriting that start command somewhere else? in a Procfile, the service settings? something?
we have the same command in Procfile
@brody192 ^
show me your deployment logs please?
also please don't ping #🛂|readme #5
mybad. sorry
give me a sec
no worries
and do you also get a 503?
yup
with no errors in the logs?
nope
then I'm sorry but I don't know what's going wrong