-
|
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: 7 comments 14 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.
-
|
I am pulling my heart out because I cannot understand what am I doing wrong here. I can reach the webgui, I get a certificate, I get the IP address from the VPN, I have Internet access. The thing is that I am not getting DHT nodes and the downloads are always stalled. Can anyone help me understanding what is happening? |
Beta Was this translation helpful? Give feedback.
-
|
Not working with lscr.io/linuxserver/qbittorrent:libtorrentv1 image with gluetun vpn btw using proton vpn |
Beta Was this translation helpful? Give feedback.
-
|
Issue is resolved after running I started experiencing this issue after updating my gluetun, I don't remember exactly what update it was on before but it said I was 19 updates behind before I had done an image pull on it yesterday. |
Beta Was this translation helpful? Give feedback.
-
|
I am using health checks to restart the
Once applied, the container's health should reflect the For a standalone compose setup, the
Result:
|
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:libtorrentv1image or use another client like transmission