error: Session Key Required ??

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
reznorio
Newbie
Newbie
Posts: 7
Joined: April 16th, 2009, 11:34 pm

error: Session Key Required ??

Post by reznorio »

Hi,

I setup a few RSS TV show feeds and they seem to come through correctly. I set a rule to reject at first so I can pick and choose as I like. The problem is when I click Download beside the tv show nzb, I get a blank screen with "error: Session Key Required" and nothing else. In fact I get that same error on  every single rss site I try. The download feature button is broken?  ???

feed: http://www.tvnzb.com/tvnzb_new.rss

example:
Feed2
Matched

Not matched
Download  Survivor.S18E09.720p.HDTV.x264-ORENJi
Download  Southland.S01E02.HDTV.XviD-2HD
Download  Bones.S04E21.720p.HDTV.x264-CTU

version 0.4.9
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: error: Session Key Required ??

Post by shypike »

Yes it is broken.
Of course we only found this a few hours after the release.
There a few other obscure links that have the same problem.
The one you found is the most prominent.
We'll fix this with a new release early next week.
reznorio
Newbie
Newbie
Posts: 7
Joined: April 16th, 2009, 11:34 pm

Re: error: Session Key Required ??

Post by reznorio »

Great!

Thanks for your prompt reply!
binutils
Newbie
Newbie
Posts: 1
Joined: April 19th, 2009, 12:36 pm

Greasemonkey Script to fix RSS Preview Download Link

Post by binutils »

I don't know how to compile the interface.py so I just did this for now.

http://www.md5.com/sabnzbd/
relman
Release Testers
Release Testers
Posts: 46
Joined: September 30th, 2008, 2:42 am

Re: error: Session Key Required ??

Post by relman »

Just a quick note to say I am getting the same issue but only when using "Get bookmarks" option under Newzbin.

thanks.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: error: Session Key Required ??

Post by shypike »

relman wrote: Just a quick note to say I am getting the same issue but only when using "Get bookmarks" option under Newzbin.

thanks.
In a specific skin ? (Default/smpl/plush) ?
relman
Release Testers
Release Testers
Posts: 46
Joined: September 30th, 2008, 2:42 am

Re: error: Session Key Required ??

Post by relman »

sorry while using Default skin
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: error: Session Key Required ??

Post by shypike »

Confirmed, will be fixed asap.
Cheku
Newbie
Newbie
Posts: 1
Joined: April 21st, 2009, 7:53 am

Re: error: Session Key Required ??

Post by Cheku »

Same error, just using a standard installation
Tried grabbing nzb's from

http://irc.newzbin.com/~fatfecker/TV/
[Add to SAB] -> http://localhost:8081/sabnzbd//addID?pp=3&id=4279439

Error, Session Key required...

Any help
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: error: Session Key Required ??

Post by shypike »

In principle you should be able to put this in the SABnzbd setup field of fatachecker.
http://localhost:8081/sabnzbd/api/apikey=BLABLA

However, I suspect fatchecker will then create something like this:
http://localhost:8081/sabnzbd/api/apikey=BLABLA/addid

In that case, the fatchecker tool needs to be changed, it must handle the API key properly.
Please contact the developer.

BTW: This website illustrates the very problem we tried to fix with 0.4.9.
Namely that a external website can do dangerous things with your local SABnzbd server.
You choose to trust the fatchecker website not to do nasty things with SABnzbd.
You can still do that, but only when you supply the site your secret API-key.
reznorio
Newbie
Newbie
Posts: 7
Joined: April 16th, 2009, 11:34 pm

Re: error: Session Key Required ??

Post by reznorio »

Hi, while I'm not a python guy (more perl/php), I checked interface.py and changed this line

I added session=%s in the link part and sabnzbd.API_KEY in the format arguments.

It worked, hope it helps until .5 comes out!

badStr += 'Download   %s' % \
                (sabnzbd.API_KEY,qfeed, name, cat, pp, xml_name(job[1]))

reznorio
jocke
Newbie
Newbie
Posts: 38
Joined: April 22nd, 2009, 4:47 pm

Re: error: Session Key Required ??

Post by jocke »

-> History
-> Show details
Any entry that's been using a UserScript
-> Show script output
http://a.b.c.d:1234/sabnzbd/history/scr ... e=name.log
error: Session Key Required

Script runs just fine thou.
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: error: Session Key Required ??

Post by switch »

This (and the other mentioned errors) are fixed in SABnzbd 0.4.10, which will be released after testing.
jocke
Newbie
Newbie
Posts: 38
Joined: April 22nd, 2009, 4:47 pm

Re: error: Session Key Required ??

Post by jocke »

Nice.

What causes it?

Going to "C:\Documents and Settings\Administrator\Local Settings\Application Data\sabnzbd\logs", the logfile itself is there:
[Cleanup] Cleaning up download directory: E:\Downloads
[Cleanup] Deleting .nzb files
[Cleanup] Deleting .sfv files
[Cleanup] Deleting .nfo files
[Cleanup] Deleting .sub files
[Cleanup] Deleting .idx files
[Cleanup] Deleted 24 files (12 nfo, 12 nzb, 0 sfv, 0 sub, 0 idx)
Post Reply