u/FinesseXIII

Image 1 — qBittorrent not accessible
Image 2 — qBittorrent not accessible

qBittorrent not accessible

Hey folks. I'm kinda at the end of my rope. My gluetun has always been a bit spotty in practice, but now it's just not accessible. It serves as the networking layer for qBittorrent. In the past, there's been a lot of being firewalled and having to restart gluetun, but this time it won't come back up. It gets a 502 error. This is my compose.

services:

gluetun:

image: qmcgaw/gluetun

container_name: gluetun

cap_add:

- NET_ADMIN

devices:

- /dev/net/tun:/dev/net/tun

ports:

- ${HTTP_PORT}:8080

- ${TORRENT_PORT}:6881

- ${TORRENT_PORT}:6881/udp

- ${ZEN_HTTP}:${ZEN_HTTP}

- ${ZEN_HTTPS}:${ZEN_HTTPS}

environment:

- BLOCK_MALICIOUS=off

- BLOCK_SURVEILLANCE=off

- BLOCK_ADS=off

- LOG_LEVEL=debug

- FIREWALL_IPTABLES_LOG_LEVEL=debug

- VPN_SERVICE_PROVIDER=${VPN_PROVIDER}

- VPN_TYPE=${VPN_TYPE}

- WIREGUARD_PRIVATE_KEY=${PRIVATE_KEY}

- WIREGUARD_ADDRESSES=${VPN_ADDRESS}

- WIREGUARD_PRESHARED_KEY=${PRESHARED_KEY}

- FIREWALL_OUTBOUND_SUBNETS=${OUTBOUND_SUBNETS}

- FIREWALL_INPUT_PORTS=${HTTP_PORT}

- FIREWALL_VPN_INPUT_PORTS=${VPN_PORT}

- SERVER_REGIONS=${SERVER_REGIONS}

restart: unless-stopped

qbittorrent:

image: lscr.io/linuxserver/qbittorrent:latest

container_name: qbittorrent

network_mode: "service:gluetun"

environment:

- PUID=${PUID}

- PGID=${PGID}

- TZ=${TZ}

- WEBUI_PORT=${HTTP_PORT}

volumes:

- ${CONFIG_PATH}:/config

- ${DOWNLOADS_PATH}:/downloads

depends_on:

gluetun:

condition: service_healthy

restart: unless-stopped

zen:

image: lscr.io/linuxserver/zen:latest

container_name: zen

network_mode: "service:gluetun"

environment:

- PIXELFLUX_WAYLAND=true

- PUID=${PUID}

- PGID=${PGID}

- TZ=${TZ}

volumes:

- ${ZEN_CONFIG}:/config

- ${MANUAL_DOWNLOADS_PATH}:/config/downloads

depends_on:

gluetun:

condition: service_healthy

And this is the .env with everything sensitive redacted:

HTTP_PORT=8080

TORRENT_PORT=6881

OUTBOUND_SUBNETS=192.168.1.0/24

VPN_PROVIDER=windscribe

VPN_TYPE=wireguard

SERVER_REGIONS=US East

PRIVATE_KEY=

PRESHARED_KEY=

VPN_ADDRESS=100.70.187.40/32

PUID=568

PGID=568

TZ=America/New_York

CONFIG_PATH=/mnt/SSDs/Applications/

DOWNLOADS_PATH=/mnt/HDDs/Downloads/

MANUAL_DOWNLOADS_PATH=/mnt/HDDs/Downloads/Manual

ZEN_HTTP=3001

ZEN_HTTPS=3000

ZEN_CONFIG=/mnt/SSDs/Applications/zen/config

VPN_PORT= 10239

It's on TrueNAS / HexOS. I have tried rotating the VPN info. I've also tried contacting WindScribe support to no avail. It runs off of Caddy reverse proxy, and the images show the related information to that. The log is as follows:

ERR ts=1778682758.1734362 logger=http.log.error msg=dial tcp 192.168.1.166:8080: connect: connection refused request={"remote_ip":"192.168.1.250","remote_port":"55754","client_ip":"192.168.1.250","proto":"HTTP/2.0","method":"GET","host":"download.illusion.home","uri":"/","headers":{"Priority":["u=0, i"],"Sec-Fetch-User":["?1"],"Cache-Control":["max-age=0"],"Sec-Ch-Ua-Mobile":["?0"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Ch-Ua-Platform":[""Linux""],"Accept-Language":["en-AU,en;q=0.5"],"Sec-Fetch-Site":["cross-site"],"Sec-Fetch-Dest":["document"],"Upgrade-Insecure-Requests":["1"],"Sec-Gpc":["1"],"Sec-Ch-Ua":[""Chromium";v="148", "Brave";v="148", "Not/A)Brand";v="99""],"Sec-Fetch-Mode":["navigate"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36"]},"tls":{"resumed":true,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"download.illusion.home"}} duration=0.001534672 status=502 err_id=vi3f9ukme err_trace=reverseproxy.statusError (reverseproxy.go:1390)

u/FinesseXIII — 24 hours ago