Error "Too many connections to server"

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
User avatar
Taomyn
Full Member
Full Member
Posts: 127
Joined: August 25th, 2008, 3:29 am

Error "Too many connections to server"

Post by Taomyn »

Hi,

I didn't want to hijack the other thread with this error as for me I'm downloading happily, so feel free to merge this one if you see fit, but I keep seeing this error reported:

Code: Select all

2015-05-04 13:33:50,872::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:50,948::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:51,019::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:51,098::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:51,342::DEBUG::[interface:421] API-call from ::1 [Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36] {'output': 'json', 'apikey': 'redacted', 'limit': '10', 'mode': 'history'}
2015-05-04 13:33:51,342::DEBUG::[interface:421] API-call from ::1 [Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36] {'output': 'json', 'apikey': 'redacted', 'limit': '5', 'mode': 'queue'}
2015-05-04 13:33:51,686::DEBUG::[downloader:510] Server login problem: 502, 502 Your per-user connection limit reached
2015-05-04 13:33:51,687::ERROR::[downloader:516] Too many connections to server ssl-eu.astraweb.com:563
2015-05-04 13:33:51,788::DEBUG::[downloader:734] Set planned server resume ssl-eu.astraweb.com in 10 mins
2015-05-04 13:33:52,200::INFO::[downloader:381] [email protected]:563: Initiating connection
2015-05-04 13:33:52,200::DEBUG::[downloader:95] For server ssl-eu.astraweb.com, using IP 91.208.207.156
2015-05-04 13:33:52,211::INFO::[downloader:664] Thread [email protected]:563: timed out
2015-05-04 13:33:52,811::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:52,960::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:52,977::DEBUG::[nzbstuff:1159] Download Quality: enough=True, have=20832886587, need=18900080140, ratio=1.10226445775
2015-05-04 13:33:52,979::INFO::[assembler:89] Decoding D:\Program Files\SABnzbd\downloads\incomplete\Taken.3.2014.EXTENDED.1080p.BluRay.DTS.x264-TayTO\RsTU9fx3B92qzn.64 yenc
2015-05-04 13:33:54,076::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:54,187::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:54,302::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:54,426::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:54,523::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:54,716::DEBUG::[bpsmeter:253] bps: 1645155.99089
2015-05-04 13:33:54,884::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:55,092::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:55,213::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:55,448::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:55,515::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:55,891::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:55,947::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:56,210::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:56,812::DEBUG::[downloader:510] Server login problem: 502, 502 Your per-user connection limit reached
2015-05-04 13:33:56,812::ERROR::[downloader:516] Too many connections to server ssl-eu.astraweb.com:563
2015-05-04 13:33:56,914::DEBUG::[downloader:734] Set planned server resume ssl-eu.astraweb.com in 10 mins
2015-05-04 13:33:58,880::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:58,898::DEBUG::[assembler:365] file in rar file: xeDDOwbUCra1cG9VN348esQjbPEJS2vigbrE.mkv
2015-05-04 13:33:59,013::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:59,084::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:59,148::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:59,331::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:59,414::DEBUG::[decoder:101] Decoding [email protected]
2015-05-04 13:33:59,487::DEBUG::[decoder:101] Decoding [email protected]
I have a 20 connection limit but I have set the server to a maximum of 12, so I have 8 spare so I really shouldn't be seeing this. The above happened whilst I had 2 or 3 other items in the queue. Any ideas?

I'm running this on Windows 2012 Server R2, with 16GB of RAM, 2TB of spare HD and a 200/100mbit fibre connection. I'm not sure if performance could be an issue.

Cheers,
Taomyn
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Error "Too many connections to server"

Post by shypike »

Astraweb gives this problem a lot.
There's some incompatibility, my guess is that Astraweb doesn't
like SABnzbd closing connections after the queue is empty.
It prefers to let connections time-out on its end.

Can you test this by disabling the option Config-Switches->"Disconnect on empty queue"?
Enabling is only needed when you frequently switch between systems
or share an account with someone on another IP address.
User avatar
Taomyn
Full Member
Full Member
Posts: 127
Joined: August 25th, 2008, 3:29 am

Re: Error "Too many connections to server"

Post by Taomyn »

Made that change, and will report back.

Many thanks.
Post Reply