Page 1 of 1

Connection timed out

Posted: July 28th, 2013, 3:22 pm
by Demantor
Hi,

It's been a while since I've been using SABnzbd. I was setting it up earlier today, but I can't figure out why it doesn't start downloading.

Version: both 0.7.14 and 0.6.15
OS: Debian 7.1
Install-type: Linux repository
Firewall Software: iptables (not the issue, had it disabled)
Are you using IPV6: No
Is the issue reproducible? Not sure

The issue is as follows:

Whenever SABnzbd starts to download it connects to the newsserver, hangs for 120 seconds at the first article and then times out.

Code: Select all

2013-07-28 22:19:20,240::INFO::[downloader:351] 1@news.hitnews.eu:119: Initiating connection
2013-07-28 22:19:20,240::INFO::[downloader:351] 2@news.hitnews.eu:119: Initiating connection
2013-07-28 22:19:20,241::INFO::[downloader:351] 3@news.hitnews.eu:119: Initiating connection
2013-07-28 22:19:20,242::INFO::[downloader:351] 4@news.hitnews.eu:119: Initiating connection
2013-07-28 22:19:20,242::INFO::[downloader:351] 5@news.hitnews.eu:119: Initiating connection
2013-07-28 22:19:20,243::INFO::[downloader:351] 6@news.hitnews.eu:119: Initiating connection
2013-07-28 22:19:20,244::INFO::[downloader:351] 7@news.hitnews.eu:119: Initiating connection
2013-07-28 22:19:20,244::INFO::[downloader:351] 8@news.hitnews.eu:119: Initiating connection
2013-07-28 22:19:20,245::INFO::[downloader:351] 9@news.hitnews.eu:119: Initiating connection
2013-07-28 22:19:20,246::INFO::[downloader:351] 10@news.hitnews.eu:119: Initiating connection
2013-07-28 22:19:20,247::INFO::[downloader:351] 11@news.hitnews.eu:119: Initiating connection
2013-07-28 22:19:20,248::INFO::[downloader:351] 12@news.hitnews.eu:119: Initiating connection
2013-07-28 22:19:21,310::INFO::[downloader:539] Connecting 2@news.hitnews.eu:119 finished
2013-07-28 22:19:21,311::INFO::[downloader:539] Connecting 1@news.hitnews.eu:119 finished
2013-07-28 22:19:21,316::INFO::[downloader:539] Connecting 3@news.hitnews.eu:119 finished
2013-07-28 22:19:21,323::INFO::[downloader:539] Connecting 12@news.hitnews.eu:119 finished
2013-07-28 22:19:21,323::INFO::[downloader:539] Connecting 5@news.hitnews.eu:119 finished
2013-07-28 22:19:21,326::INFO::[downloader:539] Connecting 4@news.hitnews.eu:119 finished
2013-07-28 22:19:21,326::INFO::[downloader:539] Connecting 7@news.hitnews.eu:119 finished
2013-07-28 22:19:21,327::INFO::[downloader:539] Connecting 8@news.hitnews.eu:119 finished
2013-07-28 22:19:21,327::INFO::[downloader:539] Connecting 10@news.hitnews.eu:119 finished
2013-07-28 22:19:21,328::INFO::[downloader:539] Connecting 6@news.hitnews.eu:119 finished
2013-07-28 22:19:21,329::INFO::[downloader:539] Connecting 9@news.hitnews.eu:119 finished
2013-07-28 22:19:21,330::INFO::[downloader:539] Connecting 11@news.hitnews.eu:119 finished
2013-07-28 22:19:26,336::DEBUG::[bpsmeter:179] bps: 335.000204175
2013-07-28 22:19:31,341::DEBUG::[bpsmeter:179] bps: 134.510839614
2013-07-28 22:19:36,346::DEBUG::[bpsmeter:179] bps: 54.0117201498
2013-07-28 22:19:41,350::DEBUG::[bpsmeter:179] bps: 21.6921186578
2013-07-28 22:19:46,356::DEBUG::[bpsmeter:179] bps: 8.7089521662
2013-07-28 22:19:51,362::DEBUG::[bpsmeter:179] bps: 3.49653499784
2013-07-28 22:19:56,367::DEBUG::[bpsmeter:179] bps: 1.40392575057
2013-07-28 22:20:01,372::DEBUG::[bpsmeter:179] bps: 0.56372835904
2013-07-28 22:20:06,378::DEBUG::[bpsmeter:179] bps: 0.226330310996
2013-07-28 22:20:11,383::DEBUG::[bpsmeter:179] bps: 0.0908837555804
2013-07-28 22:20:16,389::DEBUG::[bpsmeter:179] bps: 0.0364889656319
2013-07-28 22:20:21,395::DEBUG::[bpsmeter:179] bps: 0.0146493565734
2013-07-28 22:21:21,456::INFO::[downloader:607] Thread 1@news.hitnews.eu:119: timed out
2013-07-28 22:21:21,457::INFO::[downloader:607] Thread 2@news.hitnews.eu:119: timed out
2013-07-28 22:21:21,457::INFO::[downloader:607] Thread 3@news.hitnews.eu:119: timed out
2013-07-28 22:21:21,457::INFO::[downloader:607] Thread 4@news.hitnews.eu:119: timed out
2013-07-28 22:21:21,458::INFO::[downloader:607] Thread 5@news.hitnews.eu:119: timed out
2013-07-28 22:21:21,458::INFO::[downloader:607] Thread 6@news.hitnews.eu:119: timed out
2013-07-28 22:21:21,458::INFO::[downloader:607] Thread 7@news.hitnews.eu:119: timed out
2013-07-28 22:21:21,459::INFO::[downloader:607] Thread 8@news.hitnews.eu:119: timed out
2013-07-28 22:21:21,459::INFO::[downloader:607] Thread 9@news.hitnews.eu:119: timed out
2013-07-28 22:21:21,460::INFO::[downloader:607] Thread 10@news.hitnews.eu:119: timed out
2013-07-28 22:21:21,460::INFO::[downloader:607] Thread 11@news.hitnews.eu:119: timed out
2013-07-28 22:21:21,460::INFO::[downloader:607] Thread 12@news.hitnews.eu:119: timed out

The only thing I haven't tried so far that comes to mind is changing the newsserver, but I recall it working perfectly fine in the past, using the same newsserver.

Re: Connection timed out

Posted: July 28th, 2013, 4:14 pm
by Demantor
I appear to have solved the issue by lowering the MTU. If someone ever gets the same issue and comes across this thread, execute this as root:

Code: Select all

/sbin/ifconfig eth0 mtu 1492
If that solves the issue, then make it permanent by adding

Code: Select all

 mtu 1492
to the bottom of

Code: Select all

/etc/network/interfaces

Re: Connection timed out

Posted: July 30th, 2013, 4:20 am
by shypike
1492 is the default size for just about any system. Does Debian use a different default?

Re: Connection timed out

Posted: August 5th, 2013, 6:12 pm
by Demantor
shypike wrote:1492 is the default size for just about any system. Does Debian use a different default?
The default MTU for Ethernet is 1500, the default MTU for IEEE 802.3/802.2 is 1492. Debian somehow managed to set the default MTU of Ethernet rather than the IEEE 802.3/802.2 default.