Last modified: 2013-07-25 13:36:02 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 T53988, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51988 - login broken on beta labs
login broken on beta labs
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: High major
: ---
Assigned To: Mark Bergsma
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-24 20:10 UTC by Chris McMahon
Modified: 2013-07-25 13:36 UTC (History)
11 users (show)

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


Attachments

Description Chris McMahon 2013-07-24 20:10:49 UTC
As of 24 July, attempts to login all result in an error "Login error
There was an unexpected error logging in. Please try again..."

http://en.wikipedia.beta.wmflabs.org/w/index.php?title=Special:UserLogin&action=submitlogin&type=login&returnto=Main+Page
Comment 1 Greg Grossmeier 2013-07-24 20:14:52 UTC
Adding last two authors in https://git.wikimedia.org/log/mediawiki%2Fextensions%2FCentralAuth/HEAD

Aaron/Ori: Think either of your changes caused this on beta?
Comment 2 Antoine "hashar" Musso (WMF) 2013-07-24 20:38:11 UTC
Maybe the session are wrong in memcached ,

When login in:

tail -f /data/project/logs/web.log|fgrep enwiki|fgrep -i memcached


enwiki-36e3721b: 0.6819   9.8M  [memcached] get(enwiki:session:5dddf3cc93c79d70ea83c31b98a7c4d0)
enwiki-36e3721b: 0.6823   9.8M  [memcached] result: NOT FOUND
enwiki-36e3721b: 0.8519  18.2M  [memcached] set(enwiki:session:5dddf3cc93c79d70ea83c31b98a7c4d0)
enwiki-f1d77f0c: 0.2077   6.8M  CACHES: MemcachedPhpBagOStuff[main] MemcachedPhpBagOStuff[message] MemcachedPhpBagOStuff[parser]
enwiki-f1d77f0c: 0.2294   9.8M  MemcachedPeclBagOStuff::__construct: persistent Memcached object already loaded.
enwiki-f1d77f0c: 0.2295   9.8M  [memcached] get(enwiki:session:556d9a1698a968752c7f7c5fb5cdd699)
enwiki-f1d77f0c: 0.2298   9.8M  [memcached] result: NOT FOUND
enwiki-f1d77f0c: 0.3549  18.2M  [memcached] set(enwiki:session:556d9a1698a968752c7f7c5fb5cdd699)


hashar@deployment-bastion:~$ mwscript mcc.php --wiki=enwiki
> get enwiki:session:5dddf3cc93c79d70ea83c31b98a7c4d0
Getting enwiki:session:5dddf3cc93c79d70ea83c31b98a7c4d0[]
MemCached error
> get enwiki:session:556d9a1698a968752c7f7c5fb5cdd699
Getting enwiki:session:556d9a1698a968752c7f7c5fb5cdd699[]
wsLoginToken|s:32:"c722cabf4aefd1XXXXXXXXX";
> 


The memcached error is weird.
Comment 3 Antoine "hashar" Musso (WMF) 2013-07-24 20:45:02 UTC
I have restarted both memcached daemon on apache32 and apache33. Did not solve the issue :-]

Sessions should be in memcached:

$wgObjectCaches['sessions'] = $wgObjectCaches['memcached-pecl'];


hashar@deployment-bastion:~$ mwscript eval.php --wiki=enwiki
> var_dump( $wgObjectCaches['sessions'] );
array(1) {
  ["class"]=>
  string(22) "MemcachedPeclBagOStuff"
}



Not sure what is happening.  Need to rush out to bed right now.
Comment 4 Chris McMahon 2013-07-24 20:58:49 UTC
possibly caused by https://gerrit.wikimedia.org/r/#/c/75772/ ?
Comment 5 Max Semenik 2013-07-24 21:28:58 UTC
(In reply to comment #4)
> possibly caused by https://gerrit.wikimedia.org/r/#/c/75772/ ?

After a quick test revert, turns out my CA changes are not the culprit. Maybe, Varnish not letting cookies through? CC Mark.
Comment 6 Antoine "hashar" Musso (WMF) 2013-07-24 21:47:04 UTC
You probably want a RT to ping mark. He did some cookies related work on varnish during the afternoon.
Comment 7 Max Semenik 2013-07-24 22:27:17 UTC
Confirmed, $_COOKIE is empty.
Comment 8 Antoine "hashar" Musso (WMF) 2013-07-25 13:36:02 UTC
Congratulations Max Semenik, cookie being stripped was the issue. Fixed by Mark Bergsma with https://gerrit.wikimedia.org/r/#/c/75842/

I managed to log in beta :]

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


Navigation
Links