10 months ago
importing to docker
importing to docker 3 sn.
Build time: 5.56 seconds
====================
Starting Healthcheck
====================
Path: /health/railway
Retry window: 1m0s
Attempt #1 failed with service unavailable. Continuing to retry for 49s
Attempt #2 failed with service unavailable. Continuing to retry for 38s
Attempt #3 failed with service unavailable. Continuing to retry for 25s
Attempt #4 failed with service unavailable. Continuing to retry for 11s
1/1 replicas never became healthy!
Healthcheck failed!
Please help :(
5 Replies
10 months ago
Hey there! We've found the following might help you get unblocked faster:
- 🧵 Healthcheck "service unavailable" but endpoint works when deployed
- 🧵 Unclear why deployment failed
- 📚 Configure Healthchecks
If you find the answer from one of these, please let us know by solving the thread!
10 months ago
fedakarbey, you have used the wrong path as the healthcheck endpoint. It should have just a single slash like /health (not /health/railway). Edit that in the settings and your server endpoint, and it would work.
You can also check my extensive post on how to configure healthcheckup will surely help you out (may provide some other checks you need to have with health checkups):https://station.railway.com/questions/node-js-service-failing-to-deploy-with-s-dc58e402#mk2w
If it helps, then do mark this as the solution for your query
clashing
**fedakarbey**, you have used the wrong path as the healthcheck endpoint. It should have **just a single slash** like **/health** (not /health/railway). Edit that in the settings and your server endpoint, and it would work. You can also check my extensive post on how to configure healthcheckup will surely help you out (may provide some other checks you need to have with health checkups):<https://station.railway.com/questions/node-js-service-failing-to-deploy-with-s-dc58e402#mk2w> If it helps, then do mark this as the solution for your query
10 months ago
fedakarbey, did that helped? If yes, then please mark the previous post as the solution ✌
clashing
**fedakarbey**, you have used the wrong path as the healthcheck endpoint. It should have **just a single slash** like **/health** (not /health/railway). Edit that in the settings and your server endpoint, and it would work. You can also check my extensive post on how to configure healthcheckup will surely help you out (may provide some other checks you need to have with health checkups):<https://station.railway.com/questions/node-js-service-failing-to-deploy-with-s-dc58e402#mk2w> If it helps, then do mark this as the solution for your query
9 months ago
Any update, fedakarbey
clashing
**fedakarbey**, you have used the wrong path as the healthcheck endpoint. It should have **just a single slash** like **/health** (not /health/railway). Edit that in the settings and your server endpoint, and it would work. You can also check my extensive post on how to configure healthcheckup will surely help you out (may provide some other checks you need to have with health checkups):<https://station.railway.com/questions/node-js-service-failing-to-deploy-with-s-dc58e402#mk2w> If it helps, then do mark this as the solution for your query
9 months ago
fedakarbey, any progress regarding your raised issue!