Firefox Add-on nzbStatus Generates Repeated Errors

Get help with all aspects of 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
sideoffries
Newbie
Newbie
Posts: 10
Joined: July 11th, 2014, 11:09 am

Firefox Add-on nzbStatus Generates Repeated Errors

Post by sideoffries »

So I upgraded sabnzbdplus to 1.0.0 on a Debian Wheezy server today. I've been using a Firefox add-on called nzbStatus for quite some time to monitor the sabnzbd server status and provide a quick logon. After upgrading sabnzbd starts logging error messages every few seconds whenever my browser is open. Error is (IP redacted):

Code: Select all

WARNING 19/03/2016 12:25 API key missing, please enter the API key from Config->General into your 3rd party program: XX.XX.XX.XX>Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
The plugin connects on https via url like https://my.server.net:PORT/sabnzbd. It has no problem opening the sabnzbd inteface and actually shows the correct status for the queue but the errors continue every few seconds so I basically disabled the add-on. The API key is configured in the plugin and matches the one in sabnzbd. In fact it hasn't changed since before the upgrade.

Is this a certificate issue? I don't think the add-on is developed anymore so not sure it will do any good to try and get support there.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Firefox Add-on nzbStatus Generates Repeated Errors

Post by shypike »

Certificates haven't changed in 1.0,0,
so an incompatibility is more likely.
It's very well possible that there are some minor incompatibilities.
If the plugin wasn't developed robust enough, there may be issues.
I'll do some checks.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Firefox Add-on nzbStatus Generates Repeated Errors

Post by sander »

I installed nzbstatus in my Firefox. I can't find the extension anywhere in Firefox, but the SABnzb logging shows everything is OK:

Code: Select all

2016-03-20 00:26:12,761::DEBUG::[interface:458] API-call from 127.0.0.1 [Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0] {'output': u'json', 'apikey': u'b463b755adblabla9ab6eacf', 'mode': u'qstatus'}
So, @sideoffries, if your nzbstatus is working correctly, isn't there another plugin that is using an incorrecite API key? Simple test: remove nzbstatus from Firefox, restart Firefox, and see if the error is still there. If so, it must be another plugin.
sideoffries
Newbie
Newbie
Posts: 10
Joined: July 11th, 2014, 11:09 am

Re: Firefox Add-on nzbStatus Generates Repeated Errors

Post by sideoffries »

Thank you for the reply. It's definitely nzbstatus that's causing the warning message. I disabled the plugin after my post here some hours ago. I haven't seen a message since. I re-enabled it just now. Warnings started up again a ~minute after that. Also tried changing the plugin's url to sabnzbd from https to http and connecting on the HTTP port instead. No improvement.

I don't think I've actually used the API key anywhere else but that plugin. There are some other similar ones available for FF. I'll try one of those or do without one.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Firefox Add-on nzbStatus Generates Repeated Errors

Post by sander »

Another thing you can you try: set a Check at "Disable API-key" in SABnzbd, Saven and restart SABnzbd. WARNING gone?

Something else I noted: nzbstatus seems to be able to use both username/password and API-key. Clear the username/password-setting in nzbstatus and then (in nzbstatus) click on Test Connection.
sideoffries
Newbie
Newbie
Posts: 10
Joined: July 11th, 2014, 11:09 am

Re: Firefox Add-on nzbStatus Generates Repeated Errors

Post by sideoffries »

Well this is embarrassing. I was using an older version of nzbStatus and the plugin's About help screen in FF just linked back to the same old version. It doesn't auto update either when I update add-ons. In reading your wiki I clicked on the nzbstatus plugin link and it took me to an nzbstatus Firefox add-in that's a completely different version. So uninstalled old/added new and that works fine.

Chalk this up to foolish operator error and thanks for the support sander.
Post Reply