Skip to content

bug: ddclient stuck in "curl could not connect to X" loop #730

@kilrau

Description

@kilrau

Looks like the namecheaps dynamicdns endpoint was down for a moment and all my ddclient's got stuck in a curl could not connect to X loop. I noticed because they failed to update my dynamic dns records when I had an actual change of IPs. ddclient should catch this and be able to exit the loop once the dynamic dns endpoint is reachable again.

Simple restart of the ddclient container fixed it and the records updated immediately.

WARNING:  CURL error (6) Couldn't resolve host. The given remote host was not resolved.
WARNING:  curl cannot connect to https://dynamicdns.park-your-domain.com using IPv0
WARNING:  found neither IPv4 nor IPv6 address
WARNING:  Could not determine an IP for @
WARNING:  CURL error (6) Couldn't resolve host. The given remote host was not resolved.
WARNING:  curl cannot connect to https://dynamicdns.park-your-domain.com using IPv0
WARNING:  found neither IPv4 nor IPv6 address
WARNING:  Could not determine an IP for @
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1001
User GID:    1001
───────────────────────────────────────

[custom-init] No custom files found, skipping...
Setting up watches.
Watches established.
[ls.io-init] done.
SUCCESS:  updating @: good: IP address set to X.X.X.X

Similar: #612

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneedinfoMore information is needed from the user

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions