-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
Unhealthy Health check exceeded timeout #851
Comments
I disabled the health check for now; otherwise, Traefik wouldn’t forward requests to the service. services:
ddns:
restart: unless-stopped
image: qmcgaw/ddns-updater
container_name: ddns
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
volumes:
- ./config:/config
- ./data:/updater/data
labels:
- "traefik.enable=true"
- "traefik.http.routers.ddns.rule=Host(`ddns.${LAN_DOMAIN}`)"
- "traefik.http.routers.ddns.entrypoints=web"
- "traefik.http.services.ddns.loadbalancer.server.port=8000"
healthcheck:
disable: true |
I have the same issue with TrueNas Scale ElectricEel-24.10.0. I recommend to fix health check functionality. |
The healthcheck is working fine on my side, and reading the debugging steps you went through, it looks like everything I would had tried. I'm suspecting a problem with the host firewall or Docker runtime 🤔 I spent my day re-working/updating https://github.com/qdm12/port-checker such that you can now specify a listening address instead of just a listening port; can you try then: sudo docker run -it --rm --name test alpine:3.20
wget -qO port-checker https://github.com/qdm12/port-checker/releases/download/v0.4.0/port-checker_0.4.0_linux_amd64
chmod +x port-checker
./port-checker --listening-address="127.0.0.1:9999" (in case your CPU architecture isn't amd64, you can find the right one at https://github.com/qdm12/port-checker/releases/tag/v0.4.0) And in another terminal, at the same time: sudo docker exec test wget -qO- http://127.0.0.1:9999 and check if this works? You can then exit the port-checker program by hitting CTRL+C and then exit the test container with |
The container works but reports as unhealthy due to the health check timing out.
Docker inspection reports
Health check exceeded timeout (5s)
For reference, an issue was open on TrueNAS's github (truenas/apps#751), but they believe the issue is with the base DDNS-updated container.
Logs:
Docker inspection:
Configuration file (remove your credentials!):
The text was updated successfully, but these errors were encountered: