Last modified: 2014-10-12 17:55:55 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 T73862, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71862 - "There was an unexpected error logging in" when creating accounts on Beta
"There was an unexpected error logging in" when creating accounts on Beta
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
unspecified
All All
: Highest major (vote)
: ---
Assigned To: Nobody - You can work on this!
: code-update-regression
Depends on:
Blocks: wmf-deployment
  Show dependency treegraph
 
Reported: 2014-10-09 04:04 UTC by Matthew Flaschen
Modified: 2014-10-12 17:55 UTC (History)
12 users (show)

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


Attachments

Description Matthew Flaschen 2014-10-09 04:04:53 UTC
On Beta Labs enwiki, attempting to create an account gives (in the red error box):

---
Account creation error

There was an unexpected error logging in. Please try again. If the problem persists, it may be because you have cookies disabled, and you should check that they are enabled in your browser settings. 
---
Comment 1 Greg Grossmeier 2014-10-09 04:09:10 UTC
Matt: Do you have access to the Beta Cluster? If not, you should. Then can you poke around the logs and see if anything pops out?
Comment 2 Matthew Flaschen 2014-10-09 04:11:33 UTC
I think I have the necessary access.  I'm not planning to take this (at least not tonight), though.
Comment 3 Matthew Flaschen 2014-10-09 04:13:25 UTC
S Page said he was able to create an account, but it then redirected to the a page that said, "You are already logged in as Spage test account 2".
Comment 4 Greg Grossmeier 2014-10-09 04:21:39 UTC
Mini rant: Those with production deploy privs should have access to the beta cluster (if not, I'll add you right now) and should be able to and should feel explicitly encouraged to debug issues they run into on the beta cluster just as they would on production. The beta cluster can only survive if we all contribute to it (see: the people resource difference between prod and beta cluster and the lack of real complexity difference).
Comment 5 Greg Grossmeier 2014-10-09 04:39:27 UTC
(not complaining about you two specifically, Matthew/S, just something that's been on my mind for a while about making our test infrastructure sustainable/usable and this just was related.)
Comment 6 Sam Reed (reedy) 2014-10-09 19:04:49 UTC
Can someone test this for me now?
Comment 7 Matthew Flaschen 2014-10-09 20:08:40 UTC
(In reply to Sam Reed (reedy) from comment #6)
> Can someone test this for me now?

Yeah, still the same symptoms for me.  Any information I can provide that would help?
Comment 8 Sam Reed (reedy) 2014-10-09 20:34:29 UTC
Not sure straight off. Memcached was in somewhat of a mess on beta, which was spamming the hell out of the logs. I sorta presumed that it was related, but that is now fixed up (at least for the mediawiki app servers)
Comment 9 Matthew Flaschen 2014-10-09 22:50:47 UTC
If it helps, when I do the following, I get a different error:

1. Clear all Beta Labs cookies.
2. Go to http://en.wikipedia.beta.wmflabs.org/
3. Click Log in
4. Click Create account
5. Complete form and submit.

In that case, I get:

-----
Account creation error

There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Go back to the previous page, reload that page and then try again. 
-----
Comment 10 Greg Grossmeier 2014-10-09 22:52:04 UTC
(In reply to Matthew Flaschen from comment #9)
> If it helps, when I do the following, I get a different error:
> 
> 1. Clear all Beta Labs cookies.
> 2. Go to http://en.wikipedia.beta.wmflabs.org/
> 3. Click Log in
> 4. Click Create account
> 5. Complete form and submit.
> 
> In that case, I get:
> 
> -----
> Account creation error
> 
> There seems to be a problem with your login session; this action has been
> canceled as a precaution against session hijacking. Go back to the previous
> page, reload that page and then try again. 
> -----

Lego: Any ideas?
Comment 11 Matthew Flaschen 2014-10-09 23:10:01 UTC
(In reply to Matthew Flaschen from comment #0)
> There was an unexpected error logging in.

This is 'nocookieslogin', with a message override (http://en.wikipedia.beta.wmflabs.org/wiki/MediaWiki:Nocookieslogin).

(In reply to Matthew Flaschen from comment #9)
> There seems to be a problem with your login session

This is 'sessionfailure'.

Both of these are core messages, but it's possible CentralAuth is involved in the error somehow.
Comment 12 Sam Reed (reedy) 2014-10-11 23:16:35 UTC
Seems to be affecting production now...
Comment 13 Kunal Mehta (Legoktm) 2014-10-11 23:16:57 UTC
I can reproduce this on mediawiki.org.
Comment 14 Gerrit Notification Bot 2014-10-11 23:43:57 UTC
Change 166267 had a related patch set uploaded by Legoktm:
Fix sesion failure errors when trying to create an account

https://gerrit.wikimedia.org/r/166267
Comment 15 Gerrit Notification Bot 2014-10-11 23:47:15 UTC
Change 166269 had a related patch set uploaded by Legoktm:
Fix session failure errors when trying to create an account

https://gerrit.wikimedia.org/r/166269
Comment 16 Kunal Mehta (Legoktm) 2014-10-11 23:51:40 UTC
Should probably be backported ASAP.
Comment 17 Gerrit Notification Bot 2014-10-11 23:53:50 UTC
Change 166267 merged by jenkins-bot:
Fix session failure errors when trying to create an account

https://gerrit.wikimedia.org/r/166267
Comment 18 Gerrit Notification Bot 2014-10-12 13:04:39 UTC
Change 166269 merged by jenkins-bot:
Fix session failure errors when trying to create an account

https://gerrit.wikimedia.org/r/166269
Comment 19 Sam Reed (reedy) 2014-10-12 13:54:13 UTC
Should be fixed on beta already automatically, and also fixed on production as I've merged the backports and deployed them
Comment 20 Andre Klapper 2014-10-12 17:55:55 UTC
(In reply to Sam Reed (reedy) from comment #19)
> as I've merged the backports and deployed them

Setting flag accordingly.

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


Navigation
Links