Required manual unblock?

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • 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
jimage
Newbie
Newbie
Posts: 9
Joined: December 15th, 2009, 2:02 pm

Required manual unblock?

Post by jimage »

I'm using the new 0.5.0 beta4 and seems every time my server or internet has a hiccup sabnzbd set it to blocked and then I have to realize that and go to config and click the 'unblock' link.  I've read elsewhere that it's should unblock itself after ten minutes?  Mine is definitely not doing that.  Another weird thing is that my server does not require username/password and that is listed as the reason it was blocked.  It will stay blocked for hours, however long until I unblock, any idea what's wrong?

2009-12-18 21:12:18,476
WARNING:
Thread [email protected]:119: Server news.server.net:119 requires user/password

Just now I specifically sat there for over ten minutes after it blocked to see if anything would change and nothing did, I unblocked and things worked just fine, no user/password required.
Last edited by jimage on December 18th, 2009, 10:45 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Required manual unblock?

Post by shypike »

SABnzbd only shows that message when we receive the '480' status message from the server.
The official meaning of that code: "480 Authentication required"
So it looks like a problem with the server.
Please complain with your Usenet provider too.

480 means that the server wants a username and password.
SABnzbd did not send these, because they were not set by you.
Can you try to set a fake user name and password?
See what happens then?

BTW: if you are using the "smpl" skin, the unblock link will not work.
That's a bug, it does work in the other skins.
User avatar
john3voltas
Release Testers
Release Testers
Posts: 115
Joined: January 17th, 2008, 5:35 pm
Location: Lisbon/Portugal

Re: Required manual unblock?

Post by john3voltas »

Uff, I thought I was the only one with the unblock button that didn't work.
After all it's a template issue.
May I ask if it's due to be fixed in 0.5.0 final?
To a coding ignorant like me it sounds like an easy fix, right?
Cheers
SABnzbd 0.6.0Alpha11 on Fedora 14-64bit laptop.
Usenet-News, TeraNews, newszilla6.xs4all.nl and reader.ipv6.xsnews.nl.
IPv6 connections powered by Hurricane Electric.
Can pull 30Mbit nntp on a 30Mbit FTTH link.
jimage
Newbie
Newbie
Posts: 9
Joined: December 15th, 2009, 2:02 pm

Re: Required manual unblock?

Post by jimage »

Setting a fake user/pass makes me not connect at all.  I have supernews through my isp and if I use my isp login I can login on any computer but only with 3 threads and 50kb/s limit.  If I'm at home I'm allowed through the ip (no user/pass) that I'm on to have 5 threads and no kb/s limit. So I'm guessing that is why it won't let me use a fake user/pass.

But I think the problem is that when my server or internet hiccups my server throws up a user/pass required error (why, I do not know), which it's not required but that's what it does.  Is SABnzbd not set up to automatically unblock after it receives that error?

I use the plush theme and my unblock link works just fine, I just don't want to have to do it myself every single time.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Required manual unblock?

Post by shypike »

john3voltas wrote: Uff, I thought I was the only one with the unblock button that didn't work.
After all it's a template issue.
May I ask if it's due to be fixed in 0.5.0 final?
To a coding ignorant like me it sounds like an easy fix, right?
Cheers
It's not an easy fix or I would done it already.
I'm waiting for the skin's designer to pick this up.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Required manual unblock?

Post by shypike »

jimage wrote: Is SABnzbd not set up to automatically unblock after it receives that error?
It unblocks after "soft" errors, the ones that are expected to go away.
Not having the right username/password is a "hard" error.
It's no use trying to keep logging in with the wrong credentials.

I don't think its our job to compensate for a shoddy job at the server's end.
Please complain to your provider too.
Last edited by shypike on January 23rd, 2010, 8:15 am, edited 1 time in total.
philonimbus
Newbie
Newbie
Posts: 11
Joined: July 6th, 2008, 6:25 am

Re: Required manual unblock?

Post by philonimbus »

Would it be possible to add an option asking how to deal with 480 errors ?
It simply stops downloading for hours until I do something about it, knowing that I have to restart sabnzbd manually, as the unblock feature doesn't work for me either.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Required manual unblock?

Post by shypike »

SABnzbd is an automation solution. Set and forget.
In most situations, there's no "asking" the user anything.
The most we could do is email an alert.
Might be a good idea for a later release.
User avatar
john3voltas
Release Testers
Release Testers
Posts: 115
Joined: January 17th, 2008, 5:35 pm
Location: Lisbon/Portugal

Re: Required manual unblock?

Post by john3voltas »

shypike wrote: Might be a good idea for a later release.
Agreed.
SABnzbd 0.6.0Alpha11 on Fedora 14-64bit laptop.
Usenet-News, TeraNews, newszilla6.xs4all.nl and reader.ipv6.xsnews.nl.
IPv6 connections powered by Hurricane Electric.
Can pull 30Mbit nntp on a 30Mbit FTTH link.
philonimbus
Newbie
Newbie
Posts: 11
Joined: July 6th, 2008, 6:25 am

Re: Required manual unblock?

Post by philonimbus »

Indeed, that's how I use SABnzbd : set and forget !
That's what I meant by asking the user how to handle 480 errors, a setting.
In the way you set the number of connections, a "retry after X minutes" setting could be nice.
I don't think I'm the only user to download at night, and it can be quite frustating to see your queue hasn't been downloaded because the server is blocked until user intervention.

Btw the unblock feature doesn't seem to work on my system, I'm usisng v.5RC3 on ubuntu 9.10
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Required manual unblock?

Post by shypike »

Indeed, unblocking will not work for permanently blocked servers.
In principle this is correct, however the "deblock" link suggests otherwise.
The idea is that you change the server settings, this will unblock the server too.

I'll fix this before 0.5.0 Final.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Required manual unblock?

Post by shypike »

The solution will be:
1. Allow manual unblocking of servers with "permanent" errors.
2. Servers with "permanent" errors will be retried after 30 minutes.

That's it for 0.5.0. We may refine this later.
Post Reply