Skip to content

[BUG] curl: (6) Could not resolve host: raw.githubusercontent.com #246

@saschabrockel

Description

@saschabrockel

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Something seems to be wrong with all *arr containers of linuxserver. I have the problem for radarr, sonarr, and bazarr. For the first both I need to be able to access the URL raw.githubusercontent.com.
I tried it with other Docker containers that also contain curl and it works fine. Are you blocking this URL for any reason?

I need it for the arr-scripts and it used to work fine (https://github.com/RandomNinjaAtk/arr-scripts).

I tried to disable AdGuardHome and Tailscale but is has nothing to do with it as it is only the behavior for the linuxserver container.

Expected Behavior

It should be able to access raw.githubusercontent.com. It's no problem for other URLs like google.com or even github.com.

Steps To Reproduce

  1. Start your Docker container of radarr
  2. Log into the console of the container
  3. Try curl raw.githubusercontent.com
  4. Get error curl: (6) Could not resolve host: raw.githubusercontent.com

Environment

- OS: unRAID
- How docker service was installed: comes with unRAID

CPU architecture

x86-64

Docker creation

docker run
  -d
  --name='radarr'
  --net='unraid'
  --pids-limit 2048
  -e TZ="Europe/Berlin"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="UNRAID-Server"
  -e HOST_CONTAINERNAME="radarr"
  -e 'PUID'='99'
  -e 'PGID'='100'
  -e 'UMASK'='022'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:7878]/system/status'
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/radarr-logo.png'
  -p '7878:7878/tcp'
  -v '/mnt/disk1/multimedia/movies':'/movies':'rw'
  -v '/mnt/disk1/downloads/sabnzbd/downloads/movies':'/downloads/movies':'rw'
  -v '/mnt/cache/appdata/mediaserver/radarr/arr-scripts/custom-services':'/custom-services.d':'rw'
  -v '/mnt/cache/appdata/mediaserver/radarr/arr-scripts/custom-cont-init':'/custom-cont-init.d':'rw'
  -v '/mnt/disk1/multimedia/documentation':'/documentation':'rw'
  -v '/mnt/cache/appdata/mediaserver/radarr/config':'/config':'rw'
  --health-cmd="curl
  --fail http://localhost:7878/api/v3/health?apikey=832f3f754b2a472cbe6a9cdd590a40b9 || exit 1"
  --health-interval=1m
  --health-timeout=10s
  --health-retries=3 'lscr.io/linuxserver/radarr:latest'

Container logs

Brought to you by linuxserver.io
───────────────────────────────────────
To support the app dev(s) visit:
Radarr: https://opencollective.com/radarr
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    99
User GID:    100
───────────────────────────────────────
Linuxserver.io version: 5.17.2.9580-ls256
Build-date: 2025-01-22T20:15:52+00:00
───────────────────────────────────────
    
[custom-init] Files found, executing
[custom-init] scripts_init.bash: executing...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:07 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:08 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:09 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:10 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:11 --:--:--     0curl: (6) Could not resolve host: raw.githubusercontent.com
[custom-init] scripts_init.bash: exited 0

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