Error: Session Key Incorrect

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
jofu
Newbie
Newbie
Posts: 4
Joined: July 19th, 2011, 9:15 am

Error: Session Key Incorrect

Post by jofu »

Hi guys,

first of all many thanks for this great peace of software, I am using it for years.

I did some server upgrading and reinstalled my complete system, sabnzbd now seems to run except that I get the error:

Code: Select all

Error: Session Key Incorrect
when trying to enable a added RSS feed in the configuration panel.

I already tried changing interfaces as well as the api key (also tried to disable it completely), but nothing changed.
The api key in the url seems to be the right one as well:

Code: Select all

http://192.168.1.5:8080/config/rss/toggle_rss_feed?session=75d16971b39a2bcaa3696e07bd0af1c5
Maybe someone has an idea.

Cheers

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

Re: Error: Session Key Incorrect

Post by shypike »

Is toggle RSS feed the only place you get the error message?
Have you cleaned your browser's cache?
jofu
Newbie
Newbie
Posts: 4
Joined: July 19th, 2011, 9:15 am

Re: Error: Session Key Incorrect

Post by jofu »

Yes it's the only, I didn't try everything but there wasn't any problem during my whole configuration except for the RSS feed.
The weird thing now is, I manually edited /usr/local/sabnzbd/sabnzbd.ini and enabled my feed by hand.
After that Error: Session Key Incorrect messages were popping up every 2 second or so.
When cleaning my cache again they somehow disappeared, but the toggle RSS function still is broken for me. ???
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Error: Session Key Incorrect

Post by shypike »

Which skin are you using (Plush, smpl or Classic)?
jofu
Newbie
Newbie
Posts: 4
Joined: July 19th, 2011, 9:15 am

Re: Error: Session Key Incorrect

Post by jofu »

I am using the classic one, but changing it doesn't seem to help. Everything runs on FreeBSD 8.2 with Python 2.7.2 if that helps.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Error: Session Key Incorrect

Post by shypike »

I cannot reproduce it.
However, you list a URL that contains the apikey.
Where do you get that from, because the address bar does not contain it.
The session key is a hidden field in a form.
The HTML code looks like this:

Code: Select all

<form action="upd_rss_feed" method="post">
        <input type="hidden" name="session" value="blablabla">
        <input type="hidden" value="FEED-NAME" name="feed">
        <input type="hidden" value="1" name="table">
        <input type="checkbox" onclick="this.form.action='toggle_rss_feed?session=blablabla';  this.form.submit(); return false;" name="enable" />
</form>
Check the source of the page (Control-U) for consistent use of the key "blablabla".

You didn't mention your browser.

BTW: don't edit sabnzbd.ini while SABnzbd is still running.
jofu
Newbie
Newbie
Posts: 4
Joined: July 19th, 2011, 9:15 am

Re: Error: Session Key Incorrect

Post by jofu »

For me in this case I get the session key in the address bar (http://www.s.netic.de/berndf/jofu/sabnzbd.jpg).
The key in the source code is always the same and the proper one.
I use Safari, but the same appears with Firefox.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Error: Session Key Incorrect

Post by shypike »

Well, I have no idea what's wrong, but your installation is seriously screwed.
It's not supposed to look like this. Which release are you using?
Consider removing SABnzbd altogether and re-installing it.
Post Reply