Open haasn opened 7 years ago
Maybe because of this? Try it out without encryption.
# Encryption options (encryption), set to none (default) or any combination of the following: allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
# The example value allows incoming encrypted connections, starts unencrypted outgoing connections but retries with encryption if they fail, preferring plaintext to RC4 encryption after the encrypted handshake
protocol.encryption.set = allow_incoming,prefer_plaintext,enable_retry
@chros73 Must be a different bug, because #61 indicates the issue going away when using encryption = allow_incoming, try_outgoing
.
I saw that but give it a try with the mentioned config entry anyway, it worked for me.
I have the same problems, and it definitely not the problems with encryptions. When i try 2 different magnet links: "lubuntu and arch" the arch magnet link work perpectly because it have upd/http tracker, on the other hand the lubuntu link stand there forever, the same problem happens with any torrent only use dht.
Can you link/copy the magnet URI of lubuntu?
Yes, it here magnet:?xt=urn:btih:fb79819145731bd20a4570f73f335b534a99e0d2&dn=lubuntu-17.04-desktop-amd64.iso I was use it as reference link but it didn't show up, sorry.
It works for me with current git version (rtorrent-ps-ch 1.5.0-0.9.7) and this config.
The Magnet links for lubuntu are on this page.
I used this one:
magnet:?xt=urn:btih:fb79819145731bd20a4570f73f335b534a99e0d2&dn=lubuntu-17.04-desktop-amd64.iso
Note: I used this script to create a fake torrent file from Magnet link (although it shouldn't matter).
Thanks, i've try some other version or config but the same problems still happen. It's the "DHT search unsuccessful" problems describle in here https://github.com/rakshasa/rtorrent/wiki/Using-DHT. Seems like rtorrent need some port forward for the dht feature to work.
Seems like rtorrent need some port forward for the dht feature to work.
It can be, just open dht_port as well.
Sorry to bring this up again, but after a while i saw that the number of peer in dht have no meaning, it always show 0/0/0 even when everything is working fine. And i can enable force encrypt in rtorrent with the help of aria2, it can convert magnet link to real torrent file so there's no need for a fake torrent file anymore. :). Also (in my case), i can confirm that you don't need to open dht_port, just open the torrent port is enough for dht, netstat didn't show the dht port as listening so i think it's obvious.
And i can enable force encrypt in rtorrent with the help of aria2, it can convert magnet link to real torrent file so there's no need for a fake torrent file anymore. :).
Pretty good idea, thanks!
I am experiencing similar behavior using rtorrent version 0.9.6 on Ubuntu 16.04.3. I used the lubuntu magnet link chros37 posted. This one...
magnet:?xt=urn:btih:fb79819145731bd20a4570f73f335b534a99e0d2&dn=lubuntu-17.04-desktop-amd64.iso
DHT works and says...
Tracker[0:0]: Connecting to dht:// [Searching: 7/12 nodes replied]
Then this message goes away and the torrent just sits there and never downloads. There are no error messages in either the log file or in the rtorrent interface. My config has the following....
dht.mode.set = on
dht_port = 6881
schedule2 = dht_node_1, 5, 0, "dht.add_node=router.utorrent.com:6881"
schedule2 = dht_node_2, 5, 0, "dht.add_node=dht.transmissionbt.com:6881"
schedule2 = dht_node_3, 5, 0, "dht.add_node=router.bitcomet.com:6881"
schedule2 = dht_node_4, 5, 0, "dht.add_node=dht.aelitis.com:6881"
protocol.pex.set = yes
trackers.use_udp.set = 1
encryption = allow_incoming,enable_retry,prefer_plaintext
Was anyone able to resolve this?
EDIT: Figured it out. The above settings were fine. I had to forward the rtorrents listening port. My port settings are...
network.port_range.set = 50000-50000 network.port_random.set = no
So I had to forward port 50000 on my router, I only had to forward that port for TCP. I did not have to forward port 6881.
One more thing. I have a VPN that I connect through. The port forwarding fix works fine when I'm not using my VPN, however, when I do use my VPN I'm back to the same problem because my VPN does not allow port forwarding. Is it safe to say I cannot use rtorrent through my VPN?
@necb77
Yes, rtorrent need open port for dht to work. It would be nice if someone can make a patch so you can turn on/off that requirement on demand.
@getmeacuboftea Dang, sorry to hear that. It looks like rtorrent is not suitable for me.
Or choose a provider that supports port forwarding.
Hi. I have the similar issue (gentoo, rtorrent version 0.9.6):
# rtorrent -d /data/torrents -s ~/.config/rtorrent/session -o dht=on,dht_port=6881,dht.add_node=dht.transmissionbt.com
rtorrent: Failed to parse command line option: DHT not enabled.
I tried to define the same params via ~/.rtorrent.rc, but result the same: DHT not enabled
Without dht.add_node=dht.transmissionbt.com
it starts successfully, but nothing happens.
Hi there, I was having the same problem, when using xmlrpc on python. Adding maglinks with label or with the download directory results in paused torrents that never start.
server = xmlrpclib.Server(server_url) result = server.load_start_verbose(maglink, "d.set_directory="+"\""+downloadDir+"\"", "d.set_custom1="+"\""+label+"\"")
If i just submit the link without any other parameter it begins to work. result = server.load_start_verbose(maglink).
Sorry to bring this up again, but after a while i saw that the number of peer in dht have no meaning, it always show 0/0/0 even when everything is working fine. And i can enable force encrypt in rtorrent with the help of aria2, it can convert magnet link to real torrent file so there's no need for a fake torrent file anymore. :). Also (in my case), i can confirm that you don't need to open dht_port, just open the torrent port is enough for dht, netstat didn't show the dht port as listening so i think it's obvious.
Please, could you explain what and how you did this?
could you explain what and how you did this?
Something similar like this.
This has suddenly started happening to me today. I've got no idea why. It was working before but now it reporting all magnets as suddenly not working.
Reproduction steps:
dht://
tracker is listed as0f / 1s (0) on S/L/D: 0/0/0 (0/1
or something like that.I have confirmed that:
tcpdump port <dht port>
and see lots of UDP DHT traffic going both ways.dht://
).Versions:
Configuration:
Is there anything I can do, except “switch to deluge or transmission?”. Regular torrents work fine for me in rtorrent and I would not like to switch clients just for magnet links, if I can avoid it.