503 Application failed to respond
Hello, can anyone help me with the 503 issue. I'm trying to deploy Express.js app to railway but get error status code 503. I've also tried implementing what's in https://docs.railway.app/troubleshoot/fixing-common-errors but still getting the same error. TIA
12 Replies
Project ID:
1dc92fc5-3b33-481e-9640-33ac9a1a21c3
1dc92fc5-3b33-481e-9640-33ac9a1a21c3
what have you set
HOST
to?0.0.0.0
show me a screenshot of the deploy logs please
Here's a screenshot of the deploy logs, it will be like this until it crashes
whats it trying to connect to at port 27017?
gosh, I forgot to change the env for mongoDB from local to production env π
. Thank you very much
why are you string interpolation a single variable, you can just hardcode
0.0.0.0
yes, it should work like that. Previously I used it, but it still doesn't work. I tried one by one the suggestions and methods in this discord discussion with the same problem (503), including using string interpolation. I thought the problem was there, apparently I forgot to change the env variable for mongoDB only π
you are trying to interpolate a single variable with no additional text, it makes absolutely zero sense
along with a very odd way of printing two strings
okay, thanks for the advice. I'll try to make it better