Stale connections

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
saroz
Newbie
Newbie
Posts: 9
Joined: June 15th, 2010, 2:21 am

Stale connections

Post by saroz »

I've had some internet connection problems in the last few days.

This resulted in many timeouts to my usenet provider.

The internet problem has been resolved now, but it appears sabnzbd has stopped trying to start connections to usenet.

I have 1 stale connection open, #18, which I cannot force disconnect. Here is the log:
2010-07-06 01:59:28,284::INFO::[downloader:465] 12@ssl-eu.astraweb.com:443: Initiating connection
2010-07-06 02:00:28,286::INFO::[newswrapper:215] Failed to connect: (60, '[Errno 8] nodename nor servname provided, or not known') 12@ssl-eu.astraweb.com:443
2010-07-06 02:00:28,287::INFO::[downloader:465] 4@ssl-eu.astraweb.com:443: Initiating connection
2010-07-06 02:01:28,289::INFO::[newswrapper:215] Failed to connect: (60, '[Errno 8] nodename nor servname provided, or not known') 4@ssl-eu.astraweb.com:443
2010-07-06 02:01:28,289::INFO::[downloader:465] 20@ssl-eu.astraweb.com:443: Initiating connection
2010-07-06 02:02:28,291::INFO::[newswrapper:215] Failed to connect: (60, '[Errno 8] nodename nor servname provided, or not known') 20@ssl-eu.astraweb.com:443
2010-07-06 02:02:28,292::INFO::[downloader:465] 9@ssl-eu.astraweb.com:443: Initiating connection
2010-07-06 02:03:28,294::INFO::[newswrapper:215] Failed to connect: (60, '[Errno 8] nodename nor servname provided, or not known') 9@ssl-eu.astraweb.com:443
2010-07-06 02:03:29,294::DEBUG::[bpsmeter:60] bps: 893.64616155
2010-07-06 02:03:29,295::INFO::[downloader:721] Thread 18@ssl-eu.astraweb.com:443: timed out
2010-07-06 02:03:29,296::INFO::[downloader:721] Thread 6@ssl-eu.astraweb.com:443: timed out
2010-07-06 02:03:29,297::INFO::[downloader:721] Thread 16@ssl-eu.astraweb.com:443: timed out
2010-07-06 02:03:29,298::INFO::[downloader:721] Thread 7@ssl-eu.astraweb.com:443: timed out
2010-07-06 02:03:29,299::INFO::[downloader:721] Thread 2@ssl-eu.astraweb.com:443: timed out
2010-07-06 02:03:29,300::INFO::[downloader:721] Thread 11@ssl-eu.astraweb.com:443: timed out
2010-07-06 02:03:29,301::INFO::[downloader:721] Thread 10@ssl-eu.astraweb.com:443: timed out
2010-07-06 02:03:29,302::INFO::[downloader:721] Thread 8@ssl-eu.astraweb.com:443: timed out
2010-07-06 02:03:29,304::INFO::[downloader:721] Thread 3@ssl-eu.astraweb.com:443: timed out
2010-07-06 02:03:29,305::INFO::[downloader:721] Thread 19@ssl-eu.astraweb.com:443: timed out
2010-07-06 02:03:29,307::INFO::[downloader:721] Thread 5@ssl-eu.astraweb.com:443: timed out
2010-07-06 02:03:29,308::INFO::[downloader:721] Thread 14@ssl-eu.astraweb.com:443: timed out
2010-07-06 02:03:29,309::INFO::[downloader:721] Thread 15@ssl-eu.astraweb.com:443: timed out
2010-07-06 02:03:29,310::INFO::[downloader:721] Thread 13@ssl-eu.astraweb.com:443: timed out
2010-07-06 02:03:29,311::INFO::[downloader:721] Thread 17@ssl-eu.astraweb.com:443: timed out
2010-07-06 02:03:29,311::INFO::[downloader:721] Thread 1@ssl-eu.astraweb.com:443: timed out
2010-07-06 02:05:29,350::INFO::[downloader:465] 18@ssl-eu.astraweb.com:443: Initiating connection
and that was 18 hours ago.

My connections tab looks like this:
Connections

    * ssl-eu.astraweb.com:443: timed out
          o Thread #18 -> --REMOVED--@europe.news.astraweb.com -> --REMOVED--
I now have to kill sabnzbd completely in order to get it to resume the downloads.

Just thought I'd report it :)
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Stale connections

Post by shypike »

No idea really, I often use astraweb for testing downloads.
Reboot your router?
Does the same occur when you don't use SSL?
Is your firewall interfering?
saroz
Newbie
Newbie
Posts: 9
Joined: June 15th, 2010, 2:21 am

Re: Stale connections

Post by saroz »

It only happens when my internet is down, so I'd suspect it was a problem with sabnzbd's connection handling. It says connection 18 has "timed out", but it's still there, and no retries are being made. I couldn't quit sabnzbd normally when this happened, I had to kill the application (kill -9), so maybe it results in a hang or something.
Post Reply