linuxserver / docker-qbittorrent

GNU General Public License v3.0
1.04k stars 149 forks source link

[BUG] Cannot listen to certain addresses #323

Closed Ador-able closed 3 weeks ago

Ador-able commented 1 month ago

Is there an existing issue for this?

Current Behavior

I have set up to listen to all addresses, but I cannot listen to certain addresses. The addresses can be seen in the webui 屏幕截图 2024-09-12 154322 屏幕截图 2024-09-12 154210 This only occurs after the container is started, and when I change the listening address on the webui, I can correctly listen to all addresses.

Expected Behavior

Correctly monitor all addresses

Steps To Reproduce

1、docker 2、Configure macvlan and allocate it to qbit

Environment

- OS: Ubuntu 
- Network:macvlan ipv6

CPU architecture

x86-64

Docker creation

---
services:
  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent:latest
    mem_limit: 8192m
    container_name: qbittorrent
    networks:
      macvlan_network:
        ipv4_address: 192.168.3.193
    environment:
      - PUID=1000
      - PGID=1000
      - UMASK=000
      - TZ=Etc/UTC
      - WEBUI_PORT=28080
      - TORRENTING_PORT=26881
    volumes:
      - /mnt/data/Docker/Qbittorrent/config:/config
      - /mnt/big-storage/downloads/pt:/data/downloads/pt
      - /pt:/pt
    ports:
      - 28080:28080
      - 26881:26881
      - 26881:26881/udp
    restart: unless-stopped
networks:
  macvlan_network:
    external: true
    name: macvlan

Container logs

───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 4.6.6-r0-ls349
Build-date: 2024-09-08T06:52:27+00:00
───────────────────────────────────────

[custom-init] No custom files found, skipping...
WebUI 将在内部准备不久后启动。请稍等…
******** 信息 ********
要控制 qBittorrent,请访问下列地址的 WebUI:http://localhost:28080
Connection to localhost (::1) 28080 port [tcp/*] succeeded!
[ls.io-init] done.
github-actions[bot] commented 1 month ago

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

LinuxServer-CI commented 4 weeks ago

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.

drizuid commented 3 weeks ago

Hello, we do not test, support, or generally recommend macvlan networks. You are welcome to join discord and discuss this in #other-support, but we will not provide support for this.