R
Railway6mo ago
leke

Kuma health checks fail frequently

Recently put up a Kuma service up to monitor two of my services (Bun backend & React frontend with Caddy). I started noticing that frequently the health checks are failing with the following error: Monitor #1 'API Service': Failing: connect EHOSTUNREACH 35.212.174.161:443 Monitor #2 'Frontend': Failing: connect EHOSTUNREACH 35.212.174.161:443 I'm not noticing any issue (errors) on either of the services that would cause this issue. Project ID: f627edd3-0d74-45c5-90c2-980c37ee4436
Solution:
hey @leke - most of railway's hosts now support volumes on the v2 runtime, set your service to use the v2 runtime and redeploy, you will know you're on the v2 runtime if you see container event logs
Jump to solution
15 Replies
Percy
Percy6mo ago
Project ID: f627edd3-0d74-45c5-90c2-980c37ee4436
Brody
Brody6mo ago
switch to the v2 runtime in the service settings
leke
lekeOP6mo ago
I have switched to v2 on both of those services. Though not on the Kuma service or the postgres instance I have. Will switch those as well and monitor.
Brody
Brody6mo ago
sounds good fwiw another user who had the exact same error switched to v2 and said the errors stopped, and I haven't heard back from them since
leke
lekeOP6mo ago
Still seem to be having issues.
[MONITOR] WARN: Monitor #1 'API Service': Failing: connect EHOSTUNREACH 104.196.232.237:443 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
[MONITOR] WARN: Monitor #2 'Frontend': Failing: connect EHOSTUNREACH 104.196.232.237:443 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
[MONITOR] WARN: Monitor #1 'API Service': Failing: connect EHOSTUNREACH 104.196.232.237:443 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
[MONITOR] WARN: Monitor #2 'Frontend': Failing: connect EHOSTUNREACH 104.196.232.237:443 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
All services running on v2. They are always happening at the same time, so not sure if there's an issue with the Kuma service unable to send the requests or the other services unable to receive them.
Brody
Brody6mo ago
ohhhh kuma is not on the v2 runtime despite you selecting it
leke
lekeOP6mo ago
hmm, should I switch to legacy then back to v2?
Brody
Brody6mo ago
the v2 runtime does not support volumes as of right now, so you are still on legacy once railway moves to bare metal they will add support for volumes on the v2 runtime
leke
lekeOP6mo ago
Ah okay, makes sense.
Brody
Brody6mo ago
so not much else to do right now, but to set kuma to notify you if a check failed twice instead of once
leke
lekeOP6mo ago
Yeah will do, thanks!
Brody
Brody6mo ago
sorry about the flakey experience!
leke
lekeOP6mo ago
No worries, I don't care much about the Kuma service in specific, was just worried that the services were going down frequently.
Brody
Brody6mo ago
haha nope railway isn't that unstable
Solution
Brody
Brody5mo ago
hey @leke - most of railway's hosts now support volumes on the v2 runtime, set your service to use the v2 runtime and redeploy, you will know you're on the v2 runtime if you see container event logs
Want results from more Discord servers?
Add your server