Skip to content

[BUG] "Host not found (authoritative)"  #337

@Spindyckx

Description

@Spindyckx

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

in the trackers my trackers show "Host not found (authoritative)"
in the docker logs: Bad Http request method, closing socket. IP: ::ffff:172.19.0.1. Method: "CONNECT"

no firewall is blocking port 6881, the port is forwarded in my router.

when opening a shell in the container it cannot resolve google.com or any other site.
this was fixed by manually changing the /etc/resolv.conf file:
I changed the nameserver 127.0.0.11 => nameserver 8.8.8.8 (or any other upstream dns server)

Expected Behavior

it should be able to resolve sites.

Steps To Reproduce

docker-compose up -d

Environment

running on synology:
DSM 7.2.1-69057 Update 5
Docker version 20.10.23, build 876964a
with docker-compose

CPU architecture

x86-64

Docker creation

---
version: "2.1"
services:
  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent:latest
    container_name: qbittorrent
    environment:
      - PUID=1027
      - PGID=1027
      - TZ=Etc/UTC
      - WEBUI_PORT=8080
    volumes:
      - /volume3/content/config:/config
      - /volume3/content/downloads:/downloads
    ports:
      - 8080:8080
      - 6881:6881
      - 6881:6881/udp
    restart: unless-stopped

Container logs

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

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

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

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

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

User UID:    1027
User GID:    1027
───────────────────────────────────────
Linuxserver.io version: 5.0.0-r2-ls359
Build-date: 2024-10-13T06:52:16+00:00
───────────────────────────────────────
    
[custom-init] No custom files found, skipping...
WebUI will be started shortly after internal preparations. Please wait...

******** Information ********
To control qBittorrent, access the WebUI at: http://localhost:8080
Connection to localhost (127.0.0.1) 8080 port [tcp/http-alt] succeeded!
[ls.io-init] done.
Bad Http request method, closing socket. IP: ::ffff:172.26.0.1. Method: "CONNECT"

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