rtorrent
rtorrent copied to clipboard
Can't bootstrap the DHT local database
Hi.
I am trying to download a torrent given only a magnet link with rtorrent 0.9.4 from Debian's experimental distribution, but I am having a problem telling rtorrent to use the dht_add_node
option. In particular, it gives me the message:
rtorrent: Failed to parse command line option: DHT not enabled.
But the problem is that I have DHT enabled (in my config file) or, even if I don't use a config file, I get the same result:
rtorrent -n -o dht=on -o dht_add_node=router.bittorrent.com:6881 magnet:?xt=urn:btih:880F377C617E87B82150CF625C7867F6BC0F92DF
rtorrent: Failed to parse command line option: DHT not enabled.
Changing from -o dht=on -o dht_add_node=router.bittorrent.com:6881
to -o dht=on,dht_add_node=router.bittorrent.com:6881
or using the capital -O
doesn't make any difference on my system (the resulting message is the same).
Is this a bug?
Thanks in advance,
Rogério Brito.
DHT doesn't get enabled until after the resource / cmd line is executed, so you need to use the schedule command.
Could you be a bit more verbose on your response? When is the proper moment to tell rtorrent that it should use a source to bootstrap its DHT cache?
Excuse my ignorance here, but if the option is there and it is not able to be used, then it should not appear to the user?
Thanks for your response, BTW.
In ~/.rtorrent.rc
schedule = dht, 15, 0, dht_add_node=router.bittorrent.com
You can also paste that same bit into rtorrent with ^X
It seems the correct command is dht.add_node
not dht_add_node
in my case.