Skip to content

Enabling healthcheck with labels is not fully working #1905

@Makifun

Description

@Makifun

Describe the Bug

If I set healthcheck like this for example:

- pangolin.proxy-resources.privatebin.full-domain=privatebin.${DOMAINNAME}
- pangolin.proxy-resources.privatebin.protocol=http
- pangolin.proxy-resources.privatebin.auth.sso-enabled=true
- pangolin.proxy-resources.privatebin.targets[0].method=http
- pangolin.proxy-resources.privatebin.targets[0].port=8080
- pangolin.proxy-resources.privatebin.targets[0].healthcheck.enabled=true
- pangolin.proxy-resources.privatebin.targets[0].healthcheck.port=8080
- pangolin.proxy-resources.privatebin.targets[0].healthcheck.hostname=privatebin

Health Check will still be Unknown in Pangolin:
Image

And if you click on it to see its settings, it is enabled:
Image

It will stay "Unknown" until you disable it, save settings, re-enable and save settings again.

Am I doing something wrong or is it not working correctly? Newt is picking up all other labels that I have set, it's just healthcheck that isn't working all the way.

Environment

  • OS Type & Version: Almalinux 10
  • Pangolin Version: 1.12.2
  • Gerbil Version: 1.2.2
  • Traefik Version: v3.4.0
  • Newt Version: 1.6.0

Pangolin stack is running in rootless podman

To Reproduce

Add healthcheck labels to a docker container on a site where newt also lives.

Expected Behavior

To have Health Check enabled automatically if it is set with labels.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions