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] "Host not found (authoritative)" #337

Open
1 task done
Spindyckx opened this issue Oct 16, 2024 · 3 comments
Open
1 task done

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

Spindyckx opened this issue Oct 16, 2024 · 3 comments

Comments

@Spindyckx
Copy link

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"
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@j0nnymoe
Copy link
Member

If you're needing to edit the resolv.conf file within the container, that would imply an issue with the deployment of the container as that's docker's internal dns which consumes your hosts dns.

@LinuxServer-CI
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Issues
Development

No branches or pull requests

3 participants