You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Docker: HEALTHCHECK always reports unhealthy when the web UI is served over HTTPS (INSPECTOR_TLS_*) #2825
Run the image's probe: CLIENT_PORT=7274 node scripts/docker-healthcheck.mjs; echo $?
Expected behavior
The healthcheck reports healthy (exit 0) for a container serving HTTPS, as it does for HTTP.
Actual behavior
The probe exits 1 (unhealthy). probeUrl() in scripts/docker-healthcheck.mjs always builds http://<host>:<port>/ (here http://127.0.0.1:7274/), but with both TLS paths set the server only speaks HTTPS, so every probe fails and a correctly running TLS container is reported unhealthy forever (and restarted by orchestrators that act on health).
Reproduced outside a container by running the script directly (Docker Hub was unreachable from my environment, so I could not build the image); the script is the same file the Dockerfile copies into the image.
Logs, errors, or screenshots
Suggested fix: use https: when INSPECTOR_TLS_KEY_PATH and INSPECTOR_TLS_CERT_PATH are both set, and skip certificate verification for this loopback-only probe (a self-signed or private-CA cert is the normal case). Also consider probing /healthz (#2438) rather than /, which reads and token-injects index.html on every probe.
Already prototyped a fix?
No response
Before you submit
I searched existing issues and this is not a duplicate.
This is not a security vulnerability report (those go through the private advisory process).
Severity 3 — the Docker healthcheck is wrong for every TLS deployment, so orchestrators restart a healthy container; workaround is overriding the healthcheck
Urgency 2 — wanted eventually, nothing blocked on it
Bonuses: +1 bug label (no milestone, assignee, epic, engagement or reporter-set priority)
Board: #28, Status Incoming (awaiting maintainer review — no milestone yet).
Activity
cliffhall commentedon Oct 29, 2026
Triage: Priority Medium (total 6)
buglabel (no milestone, assignee, epic, engagement or reporter-set priority)Board: #28, Status
Incoming(awaiting maintainer review — no milestone yet).cliffhall commentedon Oct 29, 2026
Fixed by #2848, merged into
v2/main; verified together with the rest of v2.14.0 in the rollup #2858.