[v1.0.0] False authentication errors (too many conn)

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
jagerx9
Newbie
Newbie
Posts: 4
Joined: March 22nd, 2016, 3:49 pm

[v1.0.0] False authentication errors (too many conn)

Post by jagerx9 »

Minor bug report:

Previous version of sabnzbd would correctly report "too many connections to server". In v1.0.0 it appears that the same error is now citing "authentication error". This occurs in queue and in server management when testing connections during server connection saturation. The risk here is that a user may repeatedly attempt to solve the issue of the username/password when it is, in fact, not the cause.

Expected result: when oversaturating a usenet server with connetions, sabnzbd should report "error connecting to [affected servers]: too many connections".

Actual result: when oversaturating a usenet server with connections, sabnzbd reports cannot connect to server [affected servers] [Authentication failed, check username/password.

My setup:
Astraweb, three servers, 20 connections total split to all three. (10 on one, 5 on the other two). Occasionally sabnzbd will attempt to oversaturate on missing articles. Happens often but reported a different error on 0.7 and previous.
User avatar
sander
Release Testers
Release Testers
Posts: 8847
Joined: January 22nd, 2008, 2:22 pm

Re: [v1.0.0] False authentication errors (too many conn)

Post by sander »

I checked with newszilla6 and 20 connections (and SAB 1.0.0), and I get a correct "Too many connections to server newszilla6.xs4all.nl".

So could it be something astraweb specific? I have no account with them, so I can't test.
jagerx9
Newbie
Newbie
Posts: 4
Joined: March 22nd, 2016, 3:49 pm

Re: [v1.0.0] False authentication errors (too many conn)

Post by jagerx9 »

Quite possibly. I suppose it depends how specific Astraweb's codes are.
User avatar
sander
Release Testers
Release Testers
Posts: 8847
Joined: January 22nd, 2008, 2:22 pm

Re: [v1.0.0] False authentication errors (too many conn)

Post by sander »

There is a way to find what Astraweb says to, but only if you can start a manual telnet session. That is possible on Windows, but I'm not sure it's easy for you.

On Linux:

Code: Select all

sander@flappie:~$ telnet news.astraweb.com 119
Trying 91.208.207.172...
Connected to news.astraweb.com.
Escape character is '^]'.
200 news.astraweb.com NNRP Service Ready (posting ok) (yEnc enabled).
AUTHINFO USER someone
381 PASS required
AUTHINFO PASS blabla
502 Invalid username or password
Connection closed by foreign host.
So .. type two commands. :)

If you can do this on Windows with your correct credentials, maybe you can do it in two situations:

SAB is not downloading. Your manual session should be OK
SAB is downloading and giving errors. Your manual session should give the exact error, which would be helpful for this case and possibly for improvement of SABnzbd

EDIT:

In Windows, you first have to to install the telnet client. See http://social.technet.microsoft.com/wik ... lient.aspx.
So: via "Turn on Windows Features". You can just type "Windows Features" in the search box.

in CMD.exe type "telnet news.astraweb.com 119", and then:

Code: Select all

200 news.astraweb.com NNRP Service Ready (posting ok) (yEnc enabled).
authinfo user someone
381 PASS required
authinfo pass blabla
502 Invalid username or password
De verbinding met de host is verbroken.

C:\>
User avatar
sander
Release Testers
Release Testers
Posts: 8847
Joined: January 22nd, 2008, 2:22 pm

Re: [v1.0.0] False authentication errors (too many conn)

Post by sander »

Ah, an easier way than manual stuff:

Method 1:

Download something big, wait for the error to occur, then go into Server settings, and click on Test Server (with SAB still downloading). You should see the exact, full error message. Post that message here in this forum

Method 2:

Set SAB's logging to +Debug
Let SAB run again until you get the error message
Then in sabnzbd.log find lines with "Server login problem"

Example;

Code: Select all

2016-03-01 00:41:49,557::DEBUG::[downloader:573] Server login problem: 400, 400 dreader35.news.xs4all.nl: Too many connections from your host (max 4) - [email protected]
Post Reply