-
-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: qbittorrent docker often stuck on finding metadata when using wireguard #1273
Comments
Honestly I doubt this has to do with the vpn protocol. Maybe Surfshark filters on their wireguard vpn servers, but anyway that's out of our control. |
Why using |
Thanks for the suggestions. For the few days I tried with openvpn, it never happened at least. And with wireguard, it happened again immediately. I added |
Well it just started happening again after all. All torrents stay stuck on finding metadata. I tried to switch to Deluge but there torrents stay stuck on downloading 0.00% with different tracker status errors; Im using the compose code below to set deluge up: version: "3.5"
services:
vpn:
image: qmcgaw/gluetun:latest
container_name: gluetun-wireguard
cap_add:
- net_admin
environment:
- VPN_SERVICE_PROVIDER=surfshark
- VPN_TYPE=wireguard
- WIREGUARD_PRIVATE_KEY=key
- WIREGUARD_ADDRESSES=10.14.0.2/16
- SERVER_COUNTRIES=Netherlands
ports:
- 8080:8112
- 6881:6881/tcp
- 6881:6881/udp
deluge:
image: lscr.io/linuxserver/deluge:latest
container_name: deluge
network_mode: "service:vpn"
environment:
- PUID=1027
- PGID=1000
- TZ=Europe/Amsterdam
- DELUGE_LOGLEVEL=error #optional
volumes:
- /volume1/docker/deluge:/config
- /volume1/video/downloads:/video/downloads
restart: unless-stopped |
I would try to repro using a different VPN provider to rule out the provider being the issue. |
There's a mistake in both your stacks. The linuxserver/deluge and linuxserver/qbittorrent containers both need a volume binding to |
It turns out it the Deluge errors were due to another mistake in the compose code; PGID for me is 100 and not 1000 and I forgot to change it when copying the default compose code from the Deluge docker website... |
The kernelspace implementation (written in C in your Linux Kernel) is meant to be faster (at least as fast) as the userspace implementation (written in Go, built in Gluetun). So previously and now by default, Gluetun picks the kernel one if available and falls back on the userspace one (for older/custom kernels). Now you can choose, really to debug and bench testing.
Cool, I'll close this issue for now, feel free to comment if it dies again. |
Is this urgent?
No
Host OS
docker synology NAS
CPU arch
None
VPN service provider
Surfshark
What are you using to run the container
Portainer
What is the version of Gluetun
latest image from qmcgaw/gluetun
What's the problem 🤔
I'm running gluetun together with qbittorrent in docker through compose in portainer. I'm trying to use wireguard from VPN provider Surfhshark, and often the torrents/magnet links stay stuck on finding metadata. Using openvpn does work, but I'd prefer using wireguard since speeds are higher with wireguard.
See the configuration for the compose code I use to create the stack in portainer.
Sometimes I can kickstart the torrents by changing the port in the settings of qbittorrent webui, or changing it back again. But after a while, they stay stuck again on finding metadata.
Share your logs
Share your configuration
The text was updated successfully, but these errors were encountered: