Skip to content

[BUG] curl: (3) URL rejected: Malformed input to a URL function #82

@enjunear

Description

@enjunear

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Opening this because #70 was closed without a resolution.

When running with docker-compose, the curl call to duckdns fails.

Expected Behavior

The call should not fail

Steps To Reproduce

  1. Grab the sample docker-compose file from the readme.
  2. BYO domain, token, etc.
  3. Set UPDATE_IP=both (in my case)
  4. docker-compose up
  5. Watch it fail

Environment

- OS:Ubuntu 24.04
- How docker service was installed: By following the instructions on https://docs.docker.com/engine/install/

CPU architecture

x86-64

Docker creation

docker-compose.yml

---
services:
  duckdns:
    image: lscr.io/linuxserver/duckdns:latest
    container_name: duckdns
    network_mode: host #optional
    environment:
      - PUID=1000 #optional
      - PGID=1000 #optional
      - TZ=Etc/UTC #optional
      - SUBDOMAINS=mydomain
      - TOKEN=my-super-secret-token
      - UPDATE_IP=both
      # - LOG_FILE=false #optional
    # volumes:
    #   - /path/to/duckdns/config:/config #optional
    restart: unless-stopped


to run:

docker --context server compose -f duckdns/docker-compose.yml up --detach

Container logs

[migrations] started
[migrations] no migrations found
───────────────────────────────────────

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

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

To support the app dev(s) visit:
DuckDNS: https://www.patreon.com/user?u=3209735

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

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

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 3a206e10-ls47
Build-date: 2025-03-10T03:58:13+00:00
───────────────────────────────────────

Detecting IPv4 and IPv6 via CloudFlare
curl: (3) URL rejected: Malformed input to a URL function
Something went wrong, please check your settings Fri Mar 14 18:42:58 AWST 2025
The response returned was:


[custom-init] No custom files found, skipping...
[ls.io-init] done.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions