Health check failing while deployment in Railway
ngozistephen
TRIALOP

a year ago

My laravel application is failing whenever i deploy, i am using spaite health check package. I don't know what i should check for. Please if any one has encountered this same issue the person should help me out.
This is the error message i keep getting

====================

Dec 06 18:29:45

Starting Healthcheck

Dec 06 18:29:45

====================

Dec 06 18:29:45

Dec 06 18:29:45

Path: https://edeyapp.com/api/health

Dec 06 18:29:45

Retry window: 5m0s

Dec 06 18:29:45

Dec 06 18:29:45

Attempt #1 failed with service unavailable. Continuing to retry for 4m59s

Dec 06 18:29:46

Attempt #2 failed with service unavailable. Continuing to retry for 4m58s

Dec 06 18:29:48

Attempt #3 failed with service unavailable. Continuing to retry for 4m56s

Dec 06 18:29:52

Attempt #4 failed with status 404. Continuing to retry for 4m52s

Dec 06 18:30:00

Attempt #5 failed with status 404. Continuing to retry for 4m44s

Dec 06 18:30:16

Attempt #6 failed with status 404. Continuing to retry for 4m28s

Dec 06 18:30:46

Attempt #7 failed with status 404. Continuing to retry for 3m58s

Dec 06 18:31:16

Attempt #8 failed with status 404. Continuing to retry for 3m28s

Dec 06 18:31:46

Attempt #9 failed with status 404. Continuing to retry for 2m58s

Dec 06 18:32:17

Attempt #10 failed with status 404. Continuing to retry for 2m28s

Dec 06 18:32:47

Attempt #11 failed with status 404. Continuing to retry for 1m58s

Dec 06 18:33:17

Attempt #12 failed with status 404. Continuing to retry for 1m28s

Dec 06 18:33:47

Attempt #13 failed with status 404. Continuing to retry for 57s

Dec 06 18:34:17

Attempt #14 failed with status 404. Continuing to retry for 27s

Dec 06 18:34:17

Dec 06 18:34:17

1/1 replicas never became healthy!

Dec 06 18:34:17

Healthcheck failed!

Solved

3 Replies

dev
MODERATOR

a year ago

Remember, it's a health check path not a health-check URL, so instead of https://edeyapp.com/api/health you're going to want to use /api/health as the health check path


dev

Remember, it's a health check path not a health-check URL, so instead of https://edeyapp.com/api/health you're going to want to use /api/health as the health check path

ngozistephen
TRIALOP

a year ago

Thank you it the health check worked


dev
MODERATOR

a year ago

Awesome!! Happy I could help


Status changed to Solved dev about 1 year ago


Loading...