mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 10:38:41 -04:00
Help: Docker container shows as up but unhealthy. #451
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @devanteweary on GitHub (Oct 18, 2024).
TLDR: * Docker container shows as up but unhealthy.
74077df)This actually started happening months ago. I've just been too lazy to report it.
It was working fine, then one day it stopped.
Probably after an update or something.
The container will show as up but unhealthy.
For example, right now it shows "Up 16 hours (unhealthy)".
It seems to be working fine; the only reason I noticed is because now UptimeKuma reports it as down even though it's running.
I posted over there at the UptimeKuma github and they suggested if the container is showing up and unhealthy, it means the container itself is reporting an issue. (but if it showed healthy, then UptimeKuma could have been the issue).
Logs:
Configuration file (remove your credentials!):
And lastly, my container settings for ddns-updater:
@tegralens commented on GitHub (Oct 18, 2024):
I have the same issue as well. I thought it was just me. I'm using portainer with Cloudflare.
@raintheory commented on GitHub (Oct 18, 2024):
Seeing this as well in Dockge using Cloudflare, DuckDNS, & NoIP.
@qdm12 commented on GitHub (Oct 23, 2024):
Maybe you need to set the cloudflare
"proxied": truefield?@qdm12 commented on GitHub (Oct 23, 2024):
Otherwise, please share the healthcheck failing error message which you can find with
docker inspect <container-name>@tegralens commented on GitHub (Oct 27, 2024):
I have 1 with proxied true and one without same issue.
@tegralens commented on GitHub (Oct 27, 2024):
I keep seeing things like this. But I removed that website and it still shows another. Funny thing is that it still works. I changed the IPs and Macs.
@jrwhitehead commented on GitHub (Oct 28, 2024):
I have the same type of message as [tegralens]. It is due to split-brain DNS.
ddns-updater was resolving widgets.domain.com locally to 172.16.x.x and was configure to update the A record for widgets.domain.com externally (ovbiously to a different address).
@devanteweary commented on GitHub (Oct 29, 2024):
Hey, sorry it took a week.
OK I tried proxied true and it showed me a different error in the web UI.
Here's the docker inspect results: after adding proxied:true > https://pastebin.com/Tk6LPYEk
So I'm guessing when a DNS record is fails to update, for some reason reports the Docker container as unhealthy, which then UptimeKuma sees as unhealthy.
The container and program itself are working just fine and as intended.
Is there a way to unlink the health of the container from if DNS don't get updated?
I imagine that'd have to be an update of some sort?
And to reiterate, this only started happening several updates ago.
Just thought I'd throw that out there again!
Ok thank you!
@devanteweary commented on GitHub (Dec 10, 2024):
@qdm12 - Hey just wanted to let you know, since the last update (or maybe last couple), the issue seems to have gone away and now ddns-updater shows as up and running again in UptimeKuma.
(looks like it started working again on the 5th)
@hackaro commented on GitHub (Jul 30, 2025):
Hi there
I have exactly the same problem,
Is this urgent: YES
DNS provider(s) you use: Cloudflare
Program version: v 2.9.0
What are you using to run the container: Linux
Host OS: Linux Mint 22.1 Cinnamon
@qdm12 sorry for disturbing you, (and I have also opened an help request), It drives me crazy ... on the first attempt the error was gone away just inserting a DNS_RESOLVER_ADDRESS as 1.1.1.1:53 (I thought I need it because I use AdGuardHome that acts as internal DNS and my internal router points to it) but as soon as my dynamic IP's changed the error reappears again... I have no clue...
Sometimes I get a different error that sounds like that: Failure (getting record id: Get "https://api.cloudflare.com/client/v4/zones/743209857092348570293/dns_records?name=my.domain&page=1&per_page=1&type=A": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)), 3m4s ago
@devanteweary commented on GitHub (Aug 1, 2025):
Yeah actually, the problem did come back. I'm just not sure when. But yeah ddns-updater shows up as unhealthy again in Unraid.
@hackaro commented on GitHub (Aug 13, 2025):
Yeah... I had to temporarily switch to another service for solving the problem! :-(
@blimeybloke commented on GitHub (Aug 21, 2025):
What service? Thanks
@hackaro commented on GitHub (Aug 21, 2025):
A docker named favonia/cloudflare-ddns, but of course it works with cloud flare service only.
@blimeybloke commented on GitHub (Aug 21, 2025):
Thanks, I just found that 20 minutes ago as well. Going to start looking into it.