Skip to content
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

Bug: [Error] i/o timeout when accessing raw.githubusercontent.com #2607

Closed
uno21858 opened this issue Dec 1, 2024 · 4 comments
Closed

Bug: [Error] i/o timeout when accessing raw.githubusercontent.com #2607

uno21858 opened this issue Dec 1, 2024 · 4 comments

Comments

@uno21858
Copy link

uno21858 commented Dec 1, 2024

Is this urgent?

No

Host OS

Synology DSM (version 7.2.2) on Synology DS224+.

CPU arch

x86_64

VPN service provider

NordVPN

What are you using to run the container

Portainer

What is the version of Gluetun

Running version latest built on 2024-11-30T01:30:06Z (commit abcdefg)

What's the problem 🤔

I'm running the Gluetun container on my Synology DS224+ NAS, and I keep encountering a DNS timeout issue that prevents the connection to various services and indexers such as Radarr, Sonarr, and Prowlarr from working.
Specifically, I am seeing the following errors in the logs:

ERROR [vpn] getting public IP address information: fetching information: Get "https://ipinfo.io/": dial tcp: lookup ipinfo.io on 1.1.1.1:53: read udp 10.5.0.2:33656->1.1.1.1:53: i/o timeout
...
ERROR [dns] cannot update filter block lists: dial tcp: lookup raw.githubusercontent.com on 1.1.1.1:53: read udp 10.5.0.2:38944->1.1.1.1:53: i/o timeout

This issue prevents Radarr, Sonarr, and Prowlarr from working properly, and I'm unable to download or search for content through these services. I do not use Jackett in my setup.

I've tried multiple solutions, including restarting the VPN adding dns manually but the problem persists.

and sometimes it shows me this log:

2024-11-30T23:50:17-06:00 ERROR [wireguard] Failed to load updated MTU of device: failed to get MTU of TUN device: no such device

Share your logs (at least 10 lines)

2024-11-30T23:48:36-06:00 INFO [firewall] allowing VPN connection...

2024-11-30T23:48:37-06:00 INFO [wireguard] Using userspace implementation since Kernel support does not exist

2024-11-30T23:48:37-06:00 INFO [wireguard] Connecting to 152.89.204.182:51820

2024-11-30T23:48:37-06:00 INFO [wireguard] Wireguard setup is complete. Note Wireguard is a silent protocol and it may or may not work, without giving any error message. Typically i/o timeout errors indicate the Wireguard connection is not working.

2024-11-30T23:48:47-06:00 ERROR [vpn] getting public IP address information: fetching information: Get "https://ipinfo.io/": dial tcp: lookup ipinfo.io on 1.1.1.1:53: read udp 10.5.0.2:58922->1.1.1.1:53: i/o timeout

2024-11-30T23:50:17-06:00 INFO [healthcheck] program has been unhealthy for 1m36s: restarting VPN (healthcheck error: dialing: dial tcp4: lookup cloudflare.com: i/o timeout)

2024-11-30T23:50:17-06:00 INFO [healthcheck] 👉 See https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md

2024-11-30T23:50:17-06:00 INFO [healthcheck] DO NOT OPEN AN ISSUE UNLESS YOU READ AND TRIED EACH POSSIBLE SOLUTION

2024-11-30T23:50:17-06:00 INFO [vpn] stopping

2024-11-30T23:50:17-06:00 ERROR [wireguard] Failed to load updated MTU of device: failed to get MTU of TUN device: no such device

2024-11-30T23:50:17-06:00 INFO [vpn] starting

2024-11-30T23:50:17-06:00 INFO [firewall] allowing VPN connection...

2024-11-30T23:50:17-06:00 INFO [wireguard] Using userspace implementation since Kernel support does not exist

2024-11-30T23:50:17-06:00 INFO [wireguard] Connecting to 84.247.0.22:51820

2024-11-30T23:50:17-06:00 INFO [wireguard] Wireguard setup is complete. Note Wireguard is a silent protocol and it may or may not work, without giving any error message. Typically i/o timeout errors indicate the Wireguard connection is not working.

2024-11-30T23:50:27-06:00 ERROR [vpn] getting public IP address information: fetching information: Get "https://ipinfo.io/": dial tcp: lookup ipinfo.io on 1.1.1.1:53: read udp 10.5.0.2:45804->1.1.1.1:53: i/o timeout

Share your configuration

version: "3"
services:
  gluetun:
    image: qmcgaw/gluetun
    container_name: gluetun
    hostname: gluetun
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun:/dev/net/tun
    ports:
      - 6881:6881
      - 6881:6881/udp
      - 8085:8085 # qbittorrent
      - 9117:9117 # Jackett
      - 8989:8989 # Sonarr
      - 9696:9696 # Prowlarr
      - 7878:7878 # Radarr
    volumes:
      - /volume1/docker/gluetun:/gluetun
    environment:
      - VPN_SERVICE_PROVIDER=nordvpn
      - VPN_TYPE=wireguard
      - WIREGUARD_PRIVATE_KEY={}
      - WIREGUARD_ADDRESSES=10.5.0.2/32
      - TZ=America/Mexico_City
      - DNS=8.8.8.8,8.8.4.4

      - UPDATER_PERIOD=24h

  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent
    container_name: qbittorrent
    network_mode: "service:gluetun"
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Mexico_City
      - WEBUI_PORT=8085
    volumes:
      - /volume1/docker/qbittorrent:/config
      - /volume1/media/Downloads:/downloads
    depends_on:
      - gluetun
    restart: always

  jackett:
    image: lscr.io/linuxserver/jackett:latest
    container_name: jackett
    network_mode: "service:gluetun"
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Mexico_City
      - AUTO_UPDATE=true
    volumes:
      - /volume1/docker/jackett/data:/config
      - /volume1/media/Downloads:/downloads
    restart: unless-stopped

  sonarr:
    image: lscr.io/linuxserver/sonarr:latest
    container_name: sonarr
    network_mode: "service:gluetun"
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Mexico_City
    volumes:
      - /volume1/docker/sonarr/data:/config
      - /volume1/media/Media/TVShows:/tv
      - /volume1/media/Media/Anime:/anime
      - /volume1/media/Downloads:/downloads
    depends_on:
      - gluetun
    restart: unless-stopped

  radarr:
    image: lscr.io/linuxserver/radarr:latest
    container_name: radarr
    network_mode: "service:gluetun"
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Mexico_City
    volumes:
      - /volume1/docker/radarr/data:/config
      - /volume1/media/Media/Movies:/movies
      - /volume1/media/Downloads:/downloads
    depends_on:
      - gluetun
    restart: unless-stopped

  prowlarr:
    image: lscr.io/linuxserver/prowlarr:latest
    container_name: prowlarr
    network_mode: "service:gluetun"
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Mexico_City
    volumes:
      - /volume1/docker/prowlarr/data:/config
    restart: unless-stopped
Copy link
Contributor

github-actions bot commented Dec 1, 2024

@qdm12 is more or less the only maintainer of this project and works on it in his free time.
Please:

@gabrielwhite
Copy link

Suspect this is a dup of #2533 (read into the comments)

@qdm12
Copy link
Owner

qdm12 commented Dec 27, 2024

I keep encountering a DNS timeout issue that prevents the connection to various services and indexers such as Radarr, Sonarr, and Prowlarr from working.

It's the other way around. the dns is not working because the vpn is not working at all. You even tried with plaintext DNS which doesn't work. Check the link logged in your logs for possible solutions 🤷

Regarding Failed to load updated MTU of device that's a weird error coming from the Wireguard Go implementation (that part of the implementation is imported, so it's outside Gluetun's code). That's probably just Synology running some messed up weirdo kernel/system and sometimes it blows up a bit 😄

Sorry I cannot help more than this.

@qdm12 qdm12 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 27, 2024
Copy link
Contributor

Closed issues are NOT monitored, so commenting here is likely to be not seen.
If you think this is still unresolved and have more information to bring, please create another issue.

This is an automated comment setup because @qdm12 is the sole maintainer of this project
which became too popular to monitor issues closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants