Page 1 of 1

SAB warnings but only when web interface is open

Posted: October 4th, 2011, 5:57 am
by bbaraniec
Hi,

I'm running SAB 0.6.5 with latest SickBeard and CouchPotato on ReadyNas.Everything is working great but I'm getting warnings when I lauch SAB web interface. As soon as I log to it new warnings are being generated:

Code: Select all

2011-10-04 12:52:06,864	WARNING:	Authentication missing, please enter username/password from Config->General into your 3rd party program:
2011-10-04 12:52:05,167	WARNING:	Authentication missing, please enter username/password from Config->General into your 3rd party program:
2011-10-04 12:51:54,370	WARNING:	Authentication missing, please enter username/password from Config->General into your 3rd party program:
2011-10-04 00:42:36,928	WARNING:	Authentication missing, please enter username/password from Config->General into your 3rd party program:
Everytime I refresh page I get new warning. I have no idea what 3rd party program is missing username and password since SB and CP are working just fine.
How can I find out what is causing this?
Thanks in advance

Re: SAB warnings but only when web interface is open

Posted: October 4th, 2011, 12:15 pm
by shypike
Stop CP and SB and check if it still happens.
BTW: you should be aware that we're not keen on supporting ReadyNAS packages
that are being sold by someone else.

Re: SAB warnings but only when web interface is open

Posted: October 4th, 2011, 3:19 pm
by bbaraniec
Stopped CP and SB and it still happends.Any chances to dig dipper into it? Asking ReadyNas at the same time.

Edit:
It's not happening in IE only in FF. I'm using CP script for greasemonkey but that's not it. Even with disabled GM warnings are being still generated.

Re: SAB warnings but only when web interface is open

Posted: October 4th, 2011, 3:23 pm
by shypike
No idea, something is trying to contact SABnzbd.
Only SABnzbd itself cannot know where it comes from.
Do you have some browser add-on installed? nzbdStatus? SABconnect++ ?

Re: SAB warnings but only when web interface is open

Posted: October 4th, 2011, 4:37 pm
by bbaraniec
I don't have any addons but I tried with FF 8 beta. I didn't get any errors. I'm a bit confused to be honest. There has to be something in my profile. I'm gonna have to live with it :)

Re: SAB warnings but only when web interface is open

Posted: October 5th, 2011, 1:57 am
by shypike
There's a hidden option to suppress the warnings.
http://wiki.sabnzbd.org/configure-special item api_warnings

Re: SAB warnings but only when web interface is open

Posted: October 5th, 2011, 3:41 am
by bbaraniec
Thanks shypike, now I know it's firefox error I will look into solution.

Re: SAB warnings but only when web interface is open

Posted: November 3rd, 2011, 1:07 pm
by nyquist
I'm having the same issue. Short of busting out wireshark, is there a log that shows WHERE this is coming from? IP Address? This warning seems useless without a way to identify the troublemaker and remedy the issue.

Re: SAB warnings but only when web interface is open

Posted: November 3rd, 2011, 1:10 pm
by shypike
If you do not allow outside access to SABnzbd, the only IP where the calls can come
from is localhost. Which tells you exactly nothing. But that's all SABnzbd knows about the origin.

Re: SAB warnings but only when web interface is open

Posted: November 5th, 2011, 8:57 am
by nyquist
In my case, I do indeed allow outside access so that I can control and troubleshoot SAB from wherever is convenient to me (laptop, tablet, my desk at work).

Wireshark it is then! ::)

It only took a few minutes of packet capture and a few seconds of analysis to find the offender (missing user/pass in my father's SABconnect++), but even still I can imagine it to have caused serious head-scratching for those without a decent understanding of networking protocols.

The dev team must see the benefit of exposing source IP in warning messages related to API behaviour.

Re: SAB warnings but only when web interface is open

Posted: November 5th, 2011, 10:31 am
by shypike
Most of the time the "attack" comes from localhost...
Yes we can add the IP and will do so in a later release, but it will be of limited value.