View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 10-21-2007, 12:25 PM   #1
Registered: Nov 2004
Distribution: Archlinux
Posts: 41

Rep: Reputation: 16
rtorrent no connections

Since last night I have lost no download / upload ability with rtorrent. Every torrent I try just sits there. Checking the log this is what I get:

(18:19:57) Incoming connection from
(18:19:59) Incoming connection from
(18:20:00) Outgoing encrypted connection to
(18:20:01) Handshake failed: - Network error
(18:20:05) Handshake failed: - Network error
(18:20:11) Handshake failed: - Network error
(18:20:22) Incoming connection from
I installed SSH last night, not sure if that could have affected rtorrent.

Any help to troubleshoot this would be appreciated
Old 10-21-2007, 04:10 PM   #2
Senior Member
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
Have you opened ports 6881-6889 in your firewall/router?
You might have iptables installed and running by default (some distros do). You might have to tell iptables to open those ports.
Old 10-21-2007, 04:24 PM   #3
Registered: Nov 2004
Distribution: Archlinux
Posts: 41

Original Poster
Rep: Reputation: 16
I am using another port range and they are all set up ok. In fact Deluge runs a treat. It is just rtorrent is playing dead. 0 up and 0 down.

I have no firewalls or iptables installed. In fact it was working a treat last night. This morning nothing. I don't know where to go from here to troubleshoot it further.
Old 01-04-2008, 03:24 PM   #4
LQ Newbie
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0

danielph - I'm curious to know if you figured this one out?

I've searched (for more hours than you'd like to know) for a solution to the same problem you describe.

I get loads of incoming connections (handshake_log=yes) but only a very few of them ends up with a success. Outgoing connections seems to be another issue though - they are mostly accepted.

Another strange thing is, "network error" occurs only a fraction of a second after the incoming connection. They are usually sequential lines in the handshake log even with a storm of connections coming in. There's no timeout, something immediately decides to stop it.

I've had rtorrent up on a different (Debian) server before - it worked like a charm. I think that was an earlier version. This time I'm on Gentoo and rtorrent 0.7.9 / libtorrent 0.11.9 - ebuilds.

I've read somewhere that there was an compiler optimalization issue, related to hash checking I think, so I've even compiled rtorrent with -O1 and -march=i386 in a desperate attempt to understand what's going on. Changed nothing, as far as I could see.

So- any advice is highly appreciated. I want more peers!

Last edited by magge; 01-04-2008 at 03:26 PM. Reason: Bad english.
Old 01-07-2008, 07:03 AM   #5
Registered: Nov 2004
Distribution: Archlinux
Posts: 41

Original Poster
Rep: Reputation: 16
magge - I must confess that I took an easy route here and started using another (not so lightweight) client. I started using KDE again and actually liking it and hence use ktorrent.

I just tried rtorrent again today and it was not giving me good results. I am not sure where the problem lies. I am on version 0.7.7. I do have a difficult ISP that blocks torrent data. ktorrent seems to cope better and has consistently given me good speeds up and down. So for now, while acknowledge that rtorrent is a great client, I am sticking with ktorrent.

Good Luck. If you do find something useful be sure to post.
Old 01-19-2009, 04:16 PM   #6
LQ Newbie
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
have you guys tried editing your 'other' programs like pg2?

you could either turn that off or edit your blocklist in order to enable access of incoming/outgoing connections. yes turning it off would completely contradict the purpose of the program, hence you need to edit your list. had the same problems, did it my way and started working again.
well hope that helped.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cant compile rtorrent ruskie Linux - Software 3 07-08-2010 02:57 PM
How-to install and optimize rtorrent slacksubgenius Ubuntu 3 10-20-2008 10:25 AM
About rtorrent satimis Linux - Software 8 02-19-2008 09:36 AM
About rtorrent satimis Linux - Software 0 05-10-2007 11:34 AM
Problem with rtorrent asininity Linux - Software 12 04-15-2007 02:37 PM

All times are GMT -5. The time now is 12:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration