Last modified: 2014-07-15 03:19:38 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 T70012, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68012 - CentralAuthHooks::attemptAddUser: failed with message Username entered already in use. on loginwiki
CentralAuthHooks::attemptAddUser: failed with message Username entered alread...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
CentralAuth (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-15 00:21 UTC by Kunal Mehta (Legoktm)
Modified: 2014-07-15 03:19 UTC (History)
4 users (show)

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


Attachments

Description Kunal Mehta (Legoktm) 2014-07-15 00:21:22 UTC
I think this is a race condition of some kind:

2014-07-14 23:44:02 mw1209 loginwiki: CentralAuthHooks::attemptAddUser: creating new user ([username])
2014-07-14 23:44:02 mw1049 loginwiki: CentralAuthHooks::attemptAddUser: creating new user ([username])
2014-07-14 23:44:02 mw1049 loginwiki: CentralAuthHooks::attemptAddUser: failed with message Username entered already in use.
Please choose a different name.

For some reason, there were two simultaneous autocreation attempts, one succeeded, and the other of course failed. Here's a scarier one:

2014-07-14 23:44:53 mw1150 loginwiki: CentralAuthHooks::attemptAddUser: creating new user ([username2])
2014-07-14 23:44:53 mw1062 loginwiki: CentralAuthHooks::attemptAddUser: creating new user ([username2])
2014-07-14 23:44:53 mw1174 loginwiki: CentralAuthHooks::attemptAddUser: creating new user ([username2])
2014-07-14 23:44:53 mw1019 loginwiki: CentralAuthHooks::attemptAddUser: creating new user ([username2])
2014-07-14 23:44:53 mw1187 loginwiki: CentralAuthHooks::attemptAddUser: creating new user ([username2])
2014-07-14 23:44:53 mw1174 loginwiki: CentralAuthHooks::attemptAddUser: failed with message Username entered already in use.
Please choose a different name.
2014-07-14 23:44:53 mw1062 loginwiki: CentralAuthHooks::attemptAddUser: failed with message Username entered already in use.
Please choose a different name.
2014-07-14 23:44:53 mw1187 loginwiki: CentralAuthHooks::attemptAddUser: failed with message Username entered already in use.
Please choose a different name.
2014-07-14 23:44:53 mw1019 loginwiki: CentralAuthHooks::attemptAddUser: failed with message Username entered already in use.
Please choose a different name.
2014-07-14 23:44:53 mw1038 loginwiki: CentralAuthHooks::attemptAddUser: creating new user ([username2])
2014-07-14 23:44:53 mw1038 loginwiki: CentralAuthHooks::attemptAddUser: failed with message Username entered already in use.
Please choose a different name.

This one has 6! attempts, 5 of which fail.
Comment 1 Kunal Mehta (Legoktm) 2014-07-15 03:19:38 UTC
There's some weird stuff going on here.

2014-07-15 01:29:15 mw1025 metawiki: CentralAuthHooks::attemptAddUser: creating new user ([username3])
2014-07-15 01:29:15 mw1188 metawiki: CentralAuthHooks::attemptAddUser: creating new user ([username3])
2014-07-15 01:29:15 mw1188 metawiki: CentralAuthHooks::attemptAddUser: failed with message El nombre de usuario indicado ya está en uso.

Now, if we just autocreated the user, how is their language already set to Spanish? metawiki's default should be English.

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


Navigation
Links