Last modified: 2013-07-17 13:55:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49843, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47843 - Logging in to en.wikipedia logs me out of test.wikipedia and vise-versa.
Logging in to en.wikipedia logs me out of test.wikipedia and vise-versa.
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal with 2 votes (vote)
: ---
Assigned To: Chris Steipp
:
: 50487 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-29 20:47 UTC by Technical 13
Modified: 2013-07-17 13:55 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Technical 13 2013-04-29 20:47:18 UTC
When I log in to https://en.wikipedia.org/ I automatically get logged out of https://test.wikipedia.org/ when I'm logging in from my University that uses IPv6 addresses.  I won't be back to school until Friday if further testing or information is needed however.
Comment 1 Andre Klapper 2013-04-30 10:34:24 UTC
Does this happen with any browser?
Which browsers (name and version) did you test?
Comment 2 Technical 13 2013-04-30 12:50:03 UTC
(In reply to comment #1)
> Does this happen with any browser?
> Which browsers (name and version) did you test?

I was using Firefox.  IIRC (I'll check on Friday), my University work system is running ESR 17.  I believe the system also has IE8 or 9 on it and a version of Google Chrome of which I would be happy to test on Friday as well.
Comment 3 Technical 13 2013-04-30 13:28:50 UTC
(In reply to comment #1)
> Does this happen with any browser?
> Which browsers (name and version) did you test?

Okay Alan, I'm at school on my Laptop and it is doing it right now.
My current IP address is 141.114.96.62 which suggests that my IPv6 address wasn't the issue.
I'm using FireFox 20.0.1 on a Windows Vista Home HP Pavillion dv6000.
I can confirm the same issue exists in IE 7.0.6001.18000
I'm breaking down and going against my moral fiber and installing Chrome, Safari, and Opera to test those systems now.  I'll return with my results.
Comment 4 Technical 13 2013-04-30 13:57:27 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > Does this happen with any browser?
> > Which browsers (name and version) did you test?
> 
> Okay Alan, I'm at school on my Laptop and it is doing it right now.
> My current IP address is 141.114.96.62 which suggests that my IPv6 address
> wasn't the issue.
> I'm using FireFox 20.0.1 on a Windows Vista Home HP Pavillion dv6000.
> I can confirm the same issue exists in IE 7.0.6001.18000
> I'm breaking down and going against my moral fiber and installing Chrome,
> Safari, and Opera to test those systems now.  I'll return with my results.

Okay, this also happens on:
Google Chrome - Version 26.0.1410.64 m
Opera - 12.15 build 1748 (Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.15)
Safari - 5.1.7 (7534.57.2)
Comment 5 Steven Walling 2013-06-15 23:52:13 UTC
I confirmed this on FF 21 as well.

Considering test.wikipedia.org is solely for testing, I'm not sure this is a high priority. I created a completely fresh account and browser session to test this, and got no errors from login/SUL behavior when accessing other projects such as Commons while logged in to enwiki.
Comment 6 Chris Steipp 2013-06-19 16:01:44 UTC
This will happen with global accounts, due to to test.wikipedia.org being in a different data center.

Basically, CentralAuth will set a cookie (centralauth_Session) on login for .wikipedia.org. The content of the cookie is a pointer into memcached which holds the user's sessoin information. Since we don't have memcached replicated beteween datacenters, when you login to one, it will overwrite the cookie with the new session, but the other datacenter can't access the session information, so it treats you as a logged-out user.

The fix for this is to update CentralAuth to use Redis instead of memcached.
Comment 7 Technical 13 2013-06-19 16:24:41 UTC
(In reply to comment #6)
> 
> The fix for this is to update CentralAuth to use Redis instead of memcached.

Unless my memory is failing me (which wouldn't supprise me), aren't you in charge of the CentralAuth project?  Would you be able to take this ticket and get it done?  My current work-around isn't always efficient (I make sure to log in to testwiki on another browser than the one I'm logged into enwiki/meta/commons/mw with).
Comment 8 Andre Klapper 2013-07-01 09:25:28 UTC
*** Bug 50487 has been marked as a duplicate of this bug. ***
Comment 9 Numbermaniac 2013-07-02 02:30:16 UTC
However, for some reason logging in to Wikipedia automatically logs in to test2 Wikipedia, but not test.wikipedia.org. Logging to test logs me out of Wikipedia and test2.
Comment 10 Chris Steipp 2013-07-16 23:46:25 UTC
testwiki has been moved into the same datacenter as the other wikis, so this issue is fixed. Please reopen if anyone is still encountering this issue.
Comment 11 Andre Klapper 2013-07-17 13:55:47 UTC
Closing as per last comment by csteipp.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links