-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP health check not working #40
Comments
I usually use consul based checks, but could you try to change your config block to:
|
consul cannot (and it shouldn't) know the local pot address, as it's only reachable from the machine itself. To workaround this problem, you can try to force consul to advertise only the IPv4 address by adding this line to you
and use the IPv4 address of your host. |
@pizzamig when using |
The example job configuration here with the latest package versions in ports:
...results in a
tcp
health check that simply reports:invalid port "http": port label not found
.I have also tried adapting the job to be:
But that instead tries to access the port on the host's IPv6 address instead of just going
Instead of just directly probing the IPv4 address on the pot:
The text was updated successfully, but these errors were encountered: