Healthcheck not working, despite configuring PORTs well.
joacogdr
HOBBYOP

a year ago

I am hosting a rails application, which works well and deploys successfully. The healthcheck works when I hit the endpoint from postman and all.

But if I configure the healthcheck option on the service configuration, providing the correct path to the endpoint, the healthchecks fail on deploy for some reason.

My dockerfile sets the port to $PORT and I set up the PORT environment variable correctly. I don't know what's going on honestly.

Project ID: 0a8db4a8-0e3c-45e9-b567-fbc3270f78a6

12 Replies

a year ago

what error does it fail with?


joacogdr
HOBBYOP

a year ago

1376005083858473032


joacogdr
HOBBYOP

a year ago

1376005147074756618


joacogdr
HOBBYOP

a year ago

Those are the build logs and deploy logs correspondingly


a year ago

is your PORT variable set to 8080?


joacogdr
HOBBYOP

a year ago

It is!


joacogdr
HOBBYOP

a year ago

1376005399383375912


joacogdr
HOBBYOP

a year ago

1376005810760712233

1376005811138068490


joacogdr
HOBBYOP

a year ago

If I deploy it without setting up the healthcheck option everything works just fine


a year ago

I'm out of ideas 😦


joacogdr
HOBBYOP

a year ago

me too, that's why I joined this discord server haha


a year ago

project id please?


Welcome!

Sign in to your Railway account to join the conversation.

Loading...