-
Below is my docker compose file for making Gluetun and QBit and to have all traffic from QBit flow through the Gluetun container. Once up, QBit can't download any torrents even though it can see seeds and peers. The public IP of the QBit container is the same as the one for the Gluetun container. All I see for each torrent is the infamous "stalled" msg. Tried several things, can't seem to resolve. I've opened port 6881 on my firewall as well. Any clues?
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
known issue with qbittorrent and gluetun. when gluetun restarts the vpn due to health check, qbittorrent doesn't switch to the new connection. a workaround is to use the |
Beta Was this translation helpful? Give feedback.
-
im having the same problem, having Sickchill and Qbittorrent going thru Gluetun,,,,qbit will stop working after few hours and need to be restarted. containers running on OMV Portainer sickchill error if running thru gluetun with qbit running outside gluetun Failed to authenticate with qBittorrent, Failed to connect to qBittorrent. Connection Error: ConnectionError(MaxRetryError("HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /api/v2/auth/login (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))")) |
Beta Was this translation helpful? Give feedback.
-
Maybe it's a very manual solution, but I was able to mitigate this by having another container restart the qbittorrent container every N seconds: restarter:
image: docker:cli
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
# Restart every 20 minutes (1200 secs)
command: ["/bin/sh", "-ex", "-c", "while true; do sleep 1200; echo restarting; docker restart qbittorrent; done"]
restart: unless-stopped
depends_on:
- qbittorrent |
Beta Was this translation helpful? Give feedback.
known issue with qbittorrent and gluetun. when gluetun restarts the vpn due to health check, qbittorrent doesn't switch to the new connection. a workaround is to use the
lscr.io/linuxserver/qbittorrent:libtorrentv1
image or use another client like transmission