I seem to have this problem where I cannot connect to peers. I made a video to easily show what happens:
qBittorrent_peers_issue.mp4
I'm using PIA and here are the logs: https://pastebin.com/gTyE4AcZ. My machine is directly accessible through the internet so my LAN_NETWORK is set to 110.111.112.113/32, where this is of course an example IP.
I checked the documentation and I think Q6 is about this. So I checked the whole answer, but only the first point is relevant: Incoming port not defined correctly. This seems the most likely cause, although the logs seem to say ports are open. If I check qBittorrent connection tab I see it's using port 22968. Docker tells me the following ports are opened: 0.0.0.0:6881->6881/tcp, 0.0.0.0:6881->6881/udp, 8080/tcp, 0.0.0.0:8118->8118/tcp. Port is open. See edit below. So I have no idea what's causing this.
My docker-compose.yml looks like this:
qbit:
image: binhex/arch-qbittorrentvpn:latest
container_name: qbit
restart: always
networks:
- proxy
cap_add:
- NET_ADMIN
ports:
- 6881:6881
- 6881:6881/udp
# - 8080:8080
- 8118:8118
volumes:
- /etc/localtime:/etc/localtime:ro
- ./qbittorrent:/config
- /home/user/downloads/:/downloads
environment:
- VPN_ENABLED=yes
- VPN_USER=$VPN_USERNAME
- VPN_PASS=$VPN_PASSWORD
- VPN_PROV=pia
- STRICT_PORT_FORWARD=yes
- ENABLE_PRIVOXY=no
- LAN_NETWORK=110.111.112.113/32
- NAME_SERVERS=209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1
#- ADDITIONAL_PORTS=1234
- DEBUG=false
- WEBUI_PORT=8080
- UMASK=000
- PUID=$PUID
- PGID=$PGID
labels:
- "traefik.enable=true"
# HTTP Routers
- "traefik.http.routers.qbittorrent-rtr.entrypoints=https"
- "traefik.http.routers.qbittorrent-rtr.rule=Host(`qbit.$DOMAINNAME`)"
- "traefik.http.routers.qbittorrent-rtr.tls=true"
# Middlewares
- "traefik.http.routers.qbittorrent-rtr.middlewares=chain-authelia-auth@file"
# HTTP Services
- "traefik.http.routers.qbittorrent-rtr.service=qbittorrent-svc"
- "traefik.http.services.qbittorrent-svc.loadbalancer.server.port=8080"
I cannot download anything right now, so please help me out!
Edit: The port is open apparently! So that cannot be the issue: