rakshasa / rtorrent

rTorrent BitTorrent client
https://github.com/rakshasa/rtorrent/wiki
GNU General Public License v2.0
4.21k stars 415 forks source link

rtorrent not downloading torrents that Transmission on the same network will #645

Open Lusiphur opened 7 years ago

Lusiphur commented 7 years ago

So, I fresh installed rtorrent from the Ubuntu repos on a VM in my network. I can add a torrent that downloads fine on my Macbook on the same network using Transmission, it wont download using rtorrent.

Config (should pretty much be default) min_peers = 40 max_peers = 100 min_peers_seed = 25 max_peers_seed = 60 max_uploads = 30 directory = session = /home//.session schedule = watch_directory,5,5,load_start= schedule = low_diskspace,5,60,close_low_diskspace=10240M port_range = port_random = yes check_hash = yes encryption = allow_incoming,enable_retry,prefer_plaintext (I have also tried with none) dht = auto dht_port =

I can see the port is open using a port checker and I am sure my router is properly configured.

Ports, usernames and directory names redacted ofc.

al-dot-exe commented 7 years ago

Assuuming this is your full .rc file, I would try a specific port range (in some obscure range like 60125-64125) to avoid issues with your isp and maybe fixing the typo on /home//.session to /home/.session . if that doesn't work try to use the template in this link with updated syntax https://github.com/rakshasa/rtorrent/wiki/CONFIG-Template this worked for me

soredake commented 7 years ago

Same for me, but in my case it's aria2 and rtorrent, aria2 downloads fine but rtorrent is not.

soredake commented 7 years ago

Seems the protocol.encryption.set option caused this, after deleting rtorrent started to download torrent.

chros73 commented 7 years ago

Was it a magnet link? If so and encryption was set then it's a known issue.

soredake commented 7 years ago

Tried the same torrent with magnet-link, magnet-link converted to real torrent file (with aria2c) and magnet-link converted to real torrent file with force-encryption, nothing worked.

chros73 commented 7 years ago

I guess the actual link/file can't be shared. :)

soredake commented 7 years ago

@chros73 magnet+torrent.zip Torrent created with aria2c --bt-force-encryption=true -d $PWD --bt-metadata-only=true --bt-save-metadata=true --listen-port=6881 <magnet> Not so many seeders, but this is the only example of torrent that I can share.

chros73 commented 6 years ago

No worries.

It works for me (using rtorrent-ps-ch, but it should also work with 0.9.6):

So, I bet it's your settings that caused this.

Take a look this part of the config I use:

soredake commented 6 years ago

@chros73 DHT and UDP is enabled in my config, but port's is not forwarded (even without the port forward after removal of that line rtorrent began to download and seed, so i do not think that the problem is in ports), rtorrent is not supporting UPnP for port forwarding?

chros73 commented 6 years ago

I don't think so. But I hate everything that I can't completely control (UPnP, IPv6, etc.) :)

removal of that line

Which one? :)

I also added a new section Supporting public torrents onto Common Tasks WIKI page to be able to be easily referenced next time when someone states that magnet link doesn't work :)

soredake commented 6 years ago

@chros73 protocol.encryption.set line.

wberrier commented 6 years ago

Maybe this one is related to #759 ?