Skip to content
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

IPv6 healthcheck fails #407

Open
jtagcat opened this issue Mar 21, 2024 · 1 comment
Open

IPv6 healthcheck fails #407

jtagcat opened this issue Mar 21, 2024 · 1 comment
Assignees

Comments

@jtagcat
Copy link

jtagcat commented Mar 21, 2024

With test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://localhost/api/info"], same applies for previous healthcheck versions.

With latest docker upgrade on Ubuntu LTS, localhost started defaulting to IPv6 within the container. This causes the healthcheck to fail (and therefore disables routing by the reverse proxy).

@AdamVig
Copy link

AdamVig commented Apr 7, 2024

@jtagcat @bfkss @Pummelfisch I was able to resolve this by replacing localhost with 127.0.0.1, i.e.:

healthcheck:
  test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://127.0.0.1/api/info"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants