a year ago
I'm building a python app with a /health path that returns status 200. When I deploy it to railway, the health check fails. What gives?
55 Replies
Logs
Attempt #1 failed with service unavailable. Continuing to retry for 1m39s
Attempt #2 failed with service unavailable. Continuing to retry for 1m28s
Attempt #3 failed with service unavailable. Continuing to retry for 1m16s
Attempt #4 failed with service unavailable. Continuing to retry for 1m12s
Attempt #5 failed with service unavailable. Continuing to retry for 1m4s
Attempt #6 failed with service unavailable. Continuing to retry for 48s
Attempt #7 failed with service unavailable. Continuing to retry for 18s
1/1 replicas never became healthy!
Healthcheck failed!a year ago
our pricing and support is better than theirs 😉
a year ago
it's not mandatory, it was something you set so you can always remove it
a year ago
we don't set it automatically, it can be removed in the service settings
you need to be more specific. I looked in there multiple times and I couldn't find a way to turn it off
a year ago
you can use the search bar!
a year ago
the search bar at the top of the service settings
a year ago
a year ago
you set it in your railway.toml file
a year ago
remove the setting from that file
a year ago
path
a year ago
you need to push the changes to GitHub
a year ago
what does the health check path say now?
I'm pretty sure I have never had this much difficulty deploying a node server to the cloud <:doge:951339002278055946>
a year ago
hmmm I don't know what we could do better here, these are your settings
a year ago
the language is not needed
It wouldn't have been needed 30 minutes ago, or if it worked on the first try, but now I'm very frustrated
a year ago
that is your railway.toml file and the platform is simply respecting your settings
a year ago
it seems your configurations are preventing that, I'll check things out closer when in back at my laptop
Yea, yea, it's all MY fault. Railway is the MOST PERFECT, MOST USABLE, MOST INTUITIVE HOSTING APP OUT THERE
a year ago
that's our goal!
a year ago
looks like you have removed the health check!
and it took way too long because there's no "healthcheck on / healthcheck off" flag for some reason
a year ago
You set the healthcheck path, if you dont want a healthcheck you don't set a path
a year ago
it was in your railway.toml file
a year ago
per your previous message -
healthcheckPath = "/health"a year ago
thats turning it on
a year ago
why wouldn't it? you set it
a year ago
just trying to help point out how settings work
dear god the fucking env vars don't work <:kekw:788259314607325204>
BANKRUPTCY
BANKRUPTCY
BANKRUPTCY
BANKRUPTCY
BANKRUPTCY
a year ago
you haven't set any?
a year ago
a year ago
env vars arent going to work on render either if you don't set any
a year ago
!s
Status changed to Solved brody • about 1 year ago
