You are not logged in.

#1 2010-06-05 00:14:05

Simmeron
Member
Registered: 2010-06-04
Posts: 2

rtorrent is not connecting to trackers (UDP)

Here's the situation:
          1) It's very... very slow there is some type of connectivity though because I am able to get one or two seeds/peers.  Typical DStream is 2kb/s.
          2) It cannot connect to the trackers regularly, it gives out the error message "[Unable to connect to UDP tracker.]".
          3) I installed vuze and pointed it to multiple torrent files, it instantly processed them and I'm downloading 500kb/s+; so bitTorrent can work on my box. I changed the port on rtorrent to the one vuze used, still no luck.
          4) I doubled checked to see if the port via uTorrent's online port checker, everything checks out.
          5) Enabled/Disabled DHT and UDP, still no dice.

Heres my .rtorrent.rc:

# This is an example resource file for rTorrent. Copy to
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
# uncomment the options you wish to enable.

# Maximum and minimum number of peers to connect to per torrent.
#min_peers = 40
max_peers = 60

# Same as above but for seeding completed torrents (-1 = same as downloading)
#min_peers_seed = 10
#max_peers_seed = 50

# Maximum number of simultanious uploads per torrent.
max_uploads = 6

# Global upload and download rate in KiB. "0" for unlimited.
download_rate = 550
upload_rate = 20

# Default directory to save the downloaded torrents.
directory = /home/downloads

# Default session directory. Make sure you don't run multiple instance
# of rtorrent using the same session directory. Perhaps using a
# relative path?
session = ./.session

# Watch a directory for new torrents, and stop those that have been
# deleted.
schedule = watch_directory,5,5,load_start=./watch/*.torrent
schedule = untied_directory,5,5,stop_untied=

# Close torrents when diskspace is low.
#schedule = low_diskspace,5,60,close_low_diskspace=100M

# Stop torrents when reaching upload ratio in percent,
# when also reaching total upload in bytes, or when
# reaching final upload ratio in percent.
# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"

# The ip address reported to the tracker.
#ip = 127.0.0.1
#ip = rakshasa.no

# The ip address the listening socket and outgoing connections is
# bound to.
#bind = 127.0.0.1
#bind = rakshasa.no

# Port range to use for listening.
port_range = 6890-6999

# Start opening ports at a random position within the port range.
#port_random = no

# Check hash for finished torrents. Might be usefull until the bug is
# fixed that causes lack of diskspace not to be properly reported.
#check_hash = no

# Set whetever the client should try to connect to UDP trackers.
use_udp_trackers = yes

# Alternative calls to bind and ip that should handle dynamic ip's.
#schedule = ip_tick,0,1800,ip=rakshasa
#schedule = bind_tick,0,1800,bind=rakshasa

# Encryption options, 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
#
encryption = allow_incoming,enable_retry,prefer_plaintext

# Enable DHT support for trackerless torrents or when all trackers are down.
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),
# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
# The default is "off". For DHT to work, a session directory must be defined.
# 
dht = auto

# UDP port to use for DHT. 
# 
dht_port = 6881

# Enable peer exchange (for torrents not marked private)
#
peer_exchange = yes

#
# Do not modify the following parameters unless you know what you're doing.
#

# Hash read-ahead controls how many MB to request the kernel to read
# ahead. If the value is too low the disk may not be fully utilized,
# while if too high the kernel might not be able to keep the read
# pages in memory thus end up trashing.
#hash_read_ahead = 10

# Interval between attempts to check the hash, in milliseconds.
#hash_interval = 100

# Number of attempts to check the hash while using the mincore status,
# before forcing. Overworked systems might need lower values to get a
# decent hash checking rate.
#hash_max_tries = 10

I'm think I am overlooking something small but I haven't found it.

Offline

#2 2010-06-05 01:47:45

droog
Member
Registered: 2004-11-18
Posts: 877

Re: rtorrent is not connecting to trackers (UDP)

If using a router did you forward the port or port range that rtorrent uses? vuze and utorrent use upnp to automatically forward the port, with rtorrent you will have to do it manually in your router.

Offline

#3 2010-06-05 09:09:10

decaturguy
Member
From: Sweden
Registered: 2006-11-28
Posts: 117

Re: rtorrent is not connecting to trackers (UDP)

My headless azuresus server broke 2 months ago after more than 4 years in service and I installed a temporary headless rtorrent server a week ago. I have the same problem with UDP trackers and DHT and yes the ports are forwarded in my router. I had to disable it altogether. The rtorrent  speed is okay (speed 1,5 - 2,1 MB/s ) but it can't compare with good old azureus which gives me speed of 3,8 - 5,5 MB/s.
My current HTPC computer with become my permanent bittorrent server once asrock release its Nvidia ION 2 computers, I think I'll go with azureus setup.

Offline

#4 2010-06-05 13:45:54

Simmeron
Member
Registered: 2010-06-04
Posts: 2

Re: rtorrent is not connecting to trackers (UDP)

Unfortunately a while back we had a thunderstorm hit our house and one of the many things that got fried was my router, so as of right now I'm foolishly not using a router, just my modem straight lined into my laptop.  I checked the webUI of the modem and there nothing I can change on it.

Edit: It's definitely the lack of UPnP, are there any work arounds or alternative cli clients like rtorrent that have UPnP?  I just love cli programs and I would just hate that I would be losing one.

Last edited by Simmeron (2010-06-05 14:08:48)

Offline

#5 2010-06-05 17:57:02

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: rtorrent is not connecting to trackers (UDP)

I think both Deluge and Transmission have cli clients.

Offline

Board footer

Powered by FluxBB