Healthcheck not working, despite configuring PORTs well.
joacogdr
HOBBYOP

9 months 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

brody
EMPLOYEE

9 months ago

what error does it fail with?


joacogdr
HOBBYOP

9 months ago

1376005083858473000


joacogdr
HOBBYOP

9 months ago

1376005147074756600


joacogdr
HOBBYOP

9 months ago

Those are the build logs and deploy logs correspondingly


brody
EMPLOYEE

9 months ago

is your PORT variable set to 8080?


joacogdr
HOBBYOP

9 months ago

It is!


joacogdr
HOBBYOP

9 months ago

1376005399383376000


joacogdr
HOBBYOP

9 months ago

1376005810760712200
1376005811138068500


joacogdr
HOBBYOP

9 months ago

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


brody
EMPLOYEE

9 months ago

I'm out of ideas 😦


joacogdr
HOBBYOP

9 months ago

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


brody
EMPLOYEE

9 months ago

project id please?


Loading...