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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Too many connections to server

Post by shypike »

Gfy wrote: Make the port change automatically to 563 if the value is still 119.
When using SSL you mean?
There's no consistency in ports for SSL.
Gfy
Newbie
Newbie
Posts: 13
Joined: July 10th, 2010, 9:03 am
Location: Belgium
Contact:

Re: Too many connections to server

Post by Gfy »

There is: http://www.giganews.com/news/article/ssl-port-443.html
Port 563 is traditionally recognized as the default port for encrypted Usenet traffic (NNTPS), while port 443 is recognized as the default port for encrypted web traffic (HTTPS). By supporting multiple ports for encrypted Usenet downloads, Giganews' customers will be able to switch between ports depending on which path offers the best performance.
A quick google reveals me that NewsLeecher has this feature for four years: http://www.newsleecher.com/forum/viewto ... 5a6be009f4

And it doesn't matter if there is consistency or not: there is a standard.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Too many connections to server

Post by shypike »

You are aware that there are dozens of Usenet providers? :)
Gfy
Newbie
Newbie
Posts: 13
Joined: July 10th, 2010, 9:03 am
Location: Belgium
Contact:

Re: Too many connections to server

Post by Gfy »

shypike wrote: You are aware that there are dozens of Usenet providers? :)
I know NewsLeecher and AltBinz have it. If the providers choose a non standard port, the user would have to edit it anyway, so a default value would be much user friendlier. It's a crappy excuse not to do it anyway ;)

Anyhow, I'll do the test for you...
http://www.newsgroupreviews.com/
I'll check the 10 best usenet providers according to them. SSL available on port 563?

1. Giganews / VPN / Mimo: Yes
2. Astraweb: Yes
3. NewsDemon: Yes
4. UseNetServer: Yes
5. Supernews: Yes
6. ThunderNews: Yes
7. Newshosting: Yes
8. Easynews / Easyboost: - Ports: 22, 23, 53, 80, 110, 119, 443, - SSL Encryption: free SSL. This isn't very clear, but according to their faq they do support it: http://www.easynews.com/faq.html#54
9. NewsgroupDirect: Yes, but not 443
10. Power Usenet: Yes

All but one support port 443 too. If you'll pick some random servers that support ssl, you can see there are others not supporting this port. These are the best providers, so it's understandable they do support 443 too. SABnzbd is one of the best too, isn't it? So support it!  >:( :P

See for more info:
http://en.wikipedia.org/wiki/Network_Ne ... r_Protocol
http://www.ictsc.com/IP_Port563.htm
http://bugs.python.org/issue1926

Yeah, don't discuss with me when I'm right...  :P ;)
User avatar
rascalli
Moderator
Moderator
Posts: 656
Joined: January 18th, 2008, 12:30 am
Location: Bossche bollen land

Re: Too many connections to server

Post by rascalli »

Gfy wrote: Make the port change automatically to 563 if the value is still 119.
My SSL is on 443 .. so this would not work for me
Maybe it is even better to set the port as : REQUIRED
That way lazy people / Newbies  do not forget it

Remember that the devs are trying to make it as userfriendly as possible.
But you can not rule out all mistakes that people make .. sometimes they need to think 7 read a bit more

(for example go into the irc , and see how many people are asking why sabnzbd+ is asking for a password after they have closed the wizard)
Gfy
Newbie
Newbie
Posts: 13
Joined: July 10th, 2010, 9:03 am
Location: Belgium
Contact:

Re: Too many connections to server

Post by Gfy »

rascalli wrote: My SSL is on 443 .. so this would not work for me
What is your provider? Are you sure they don't provide it at port 563 too?
If so, you are the exception and you need to put in your port anyway.
rascalli wrote:Maybe it is even better to set the port as : REQUIRED
That way lazy people / Newbies  do not forget it
If you leave it empty now, it will use the default port. If you make it required, you make it less user friendly. Put in default values and it'll be less possible to forget for 95% of the users.
rascalli wrote:Remember that the devs are trying to make it as userfriendly as possible.
That's my whole point. Do this to make it even more so. Ask a usability expert. He will probably be able to help you even more than I can.
I know it's not easy to look from the users point of view when you are a developer.
rascalli wrote:But you can not rule out all mistakes that people make .. sometimes they need to think 7 read a bit more
True, but if you can avoid it, why wouldn't you?

An example:
How many times have you started to fill out a form the wrong way because it asked for your surname first and then your first name? Even after all those years I still start wrong sometimes. It's not intuitive! There are huge Facebook groups of this issue...
It is this way because it was easier for manual processing in the paper area: you sort on surname. But now in the computer area, this isn't an issue anymore.
I've had a couple of lessons in school around this subject. Government forms are really bad!
ghoti
Newbie
Newbie
Posts: 1
Joined: September 16th, 2014, 10:39 pm

Re: Too many connections to server

Post by ghoti »

I had this problem, my usenet server had a concurrent connection limit of 50 which is what I set the connections at initially. Then I added a whole bunch of things to the queue, the adding is what seemed to trigger it. When I did 1 or 2 items I didn't have issues. I haven't had the issue since limiting my connections to 10, disabling the "Disconnect on Empty Queue", disabling the "Check before download" and checking the "Only Get Articles for Top of Queue". I've played with all of these settings, but once I start hitting the problem it takes most of a day for it to recover. the 3 check boxes definitely have to be set as they are for me (f,f,t). Without that even 1 connection causes the issue. Im getting good speeds now so I haven't gone back and tried to up the connections further.

My best guess is that adding items opens a connection which hangs open with the usenet server and that if I added 40 items quickly I would re-encounter.
Post Reply