Page 1 of 1

Logged out when tabbing between two different instances

Posted: July 1st, 2016, 4:37 am
by bitbot
Hi, I recently upgraded Sabnzbd on two different QNAP NAS units from < 1.0.0 to 1.0.3. Since getting the fancy new HTTP auth page, I can only log in to one of the instances at a time; switching to the other seems to invalidate my session with the former. Thanks for any help!

Re: Logged out when tabbing between two different instances

Posted: July 1st, 2016, 4:58 am
by safihre
Do they run both on the same address?
1.1.0 beta has a html login page, is that what you mean? Or the popup of your browser (http auth)?

Re: Logged out when tabbing between two different instances

Posted: July 1st, 2016, 1:39 pm
by bitbot
Update, oops, looks like I am actually on version 1.1.x [unknown]. I don't remember taking this update.

Sorry, no, two different IP addresses (internally). I access them locally at http://192.168.1.80:8800 and http://192.168.1.81:8804, or I have dynamic DNS setup for the public IP that they share when I'm off network.

Here's a capture the login screen I'm presented with:

Image

Re: Logged out when tabbing between two different instances

Posted: July 1st, 2016, 2:36 pm
by playerup

Re: Logged out when tabbing between two different instances

Posted: July 1st, 2016, 4:33 pm
by safihre
Nothing we can do about that. Cookies are stored per domain, not per port. This should also be a problem in other session based programs, there's only 1 cookie storing the session info for both instances.

You could turn off html_login in Config >Specials, think that one is port specific.

Re: Logged out when tabbing between two different instances

Posted: July 1st, 2016, 9:17 pm
by bitbot
safihre wrote:You could turn off html_login in Config >Specials
Thanks for the heads up and educating me on this; the workaround should work great.