Whenever a torrent is added or resumed from a paused state, it successfully finds peers to connect to. However, the download speed is 0 kb/s for all peers, and Deluge disconnects from all of them within a few seconds. It attempts to reconnect but immediately disconnects again. This cycles a couple of times before giving up.
I am using Deluge in a Docker container on Debian Linux.
I am downloading a torrent for GIMP image editor (since I know this torrent will work).
I am connected to a VPN using OpenVPN.
All other containers that use the VPN have no problems.
The same torrent will work just find on my Windows machine with BitTorrent without a VPN.
I have looked everywhere to find a solution to the problem.
Any help is appreciated!
Deluge disconnects from all peers
Re: Deluge disconnects from all peers
Do all torrents behave this way, or just the one for GIMP?
Have you looked at the container log?
I suspect that you may have a permissions problem and Deluge is unable to write to the location where your downloads are going to.
Have you looked at the container log?
I suspect that you may have a permissions problem and Deluge is unable to write to the location where your downloads are going to.
Re: Deluge disconnects from all peers
All torrents are behaving like this.
The only error I see is this at startup:
The only error I see is this at startup:
Code: Select all
IOError when loading translations: [Errno 2] No translation file found for domain: 'deluge'
Re: Deluge disconnects from all peers
Post your docker run command that you used to create the container or otherwise provide the complete container configuration.
Re: Deluge disconnects from all peers
Deluge:
image: linuxserver/deluge
restart: always
network_mode: service:vpn
volumes:
- /etc/localtime:/etc/localtime:ro
- /Docker/docker-deluge/config/:/config
- /Docker/docker-media/downloads/ongoing/:/downloads
environment:
- PUID=1001
- PGID=999
- TZ=US/Central
image: linuxserver/deluge
restart: always
network_mode: service:vpn
volumes:
- /etc/localtime:/etc/localtime:ro
- /Docker/docker-deluge/config/:/config
- /Docker/docker-media/downloads/ongoing/:/downloads
environment:
- PUID=1001
- PGID=999
- TZ=US/Central
Re: Deluge disconnects from all peers
In your Deluge Preferences | Downloads | Folders what exact paths do you have there?
Re: Deluge disconnects from all peers
For "Download to" I have: "/downloads"
"Move completed to" and "Copy of .torrent files to" are not enabled
"Move completed to" and "Copy of .torrent files to" are not enabled
Re: Deluge disconnects from all peers
Are you sure that /Docker/docker-media/downloads/ongoing can be written to by the user that Deluge runs as (1001)?
I would set UMASK_SET to 022 in the environment variables.
I would set UMASK_SET to 022 in the environment variables.
Re: Deluge disconnects from all peers
I'm not very good with file permissions. I set the UMASK_SET to 022, and I ran chmod 777 /Docker/docker-media/downloads/ongoing/ -R. It is still acting the same way, though it is connecting to a lot more peers before giving up.
Re: Deluge disconnects from all peers
What is in the deluged log file? It should be in the directory pointed to by /config
There is also a deluge docker log file but I do not know its location.
One suggestion I do have is to change the network to Host and try downloading a torrent (legal one). If it works, then it's a VPN problem. If it doesn't I am still suspicious that deluge does not have the proper permissions to write to the areas it needs to.
There is also a deluge docker log file but I do not know its location.
One suggestion I do have is to change the network to Host and try downloading a torrent (legal one). If it works, then it's a VPN problem. If it doesn't I am still suspicious that deluge does not have the proper permissions to write to the areas it needs to.