Page MenuHomePhabricator

Account creation results in fatal MWException
Closed, DuplicatePublic

Description

en:w:Special:CreateAccount
[V9t3rQpAADkAALcWPrMAAABG] 2016-09-16 04:40:16: Fatal exception of type "MWException" when creating Prachetaswarup
[V9t4gwpAIDgAAD88LqEAAABV] 2016-09-16 04:43:50: Fatal exception of type "MWException" when creating Arjun21
[V9t5EwpAADgAADLbXWEAAABO] 2016-09-16 04:46:15: Fatal exception of type "MWException" when creating Sumitnayan
[V9t5uApAMFMAALe9occAAAAY] 2016-09-16 04:48:59: Fatal exception of type "MWException" when creating Deepakdubey
[V9t6GApAAD8AAHD1wJQAAABG] 2016-09-16 04:50:35: Fatal exception of type "MWException" when creating Ninecat9J

I last created an account at 03:59, 15 September 2016 without getting the exception.

Event Timeline

Also on beta cluster:

[V9vCrwpEFhUAADfGIToAAAAC] /wiki/Special:CreateAccount MWException from line 561 of /srv/mediawiki/php-master/includes/SiteConfiguration.php: Failed to run getConfiguration.php.

Backtrace:

#0 /srv/mediawiki/php-master/includes/jobqueue/JobQueueGroup.php(422): SiteConfiguration->getConfig(string, array)
#1 /srv/mediawiki/php-master/includes/libs/objectcache/WANObjectCache.php(987): Closure$JobQueueGroup::getCachedConfigVar(boolean, integer, array, NULL)
#2 /srv/mediawiki/php-master/includes/libs/objectcache/WANObjectCache.php(892): WANObjectCache->doGetWithSetCallback(string, integer, Closure$JobQueueGroup::getCachedConfigVar;360408918, array)
#3 /srv/mediawiki/php-master/includes/jobqueue/JobQueueGroup.php(425): WANObjectCache->getWithSetCallback(string, integer, Closure$JobQueueGroup::getCachedConfigVar;360408918, array)
#4 /srv/mediawiki/php-master/includes/jobqueue/JobQueueGroup.php(293): JobQueueGroup->getCachedConfigVar(string)
#5 /srv/mediawiki/php-master/includes/jobqueue/JobQueueGroup.php(304): JobQueueGroup->getQueueTypes()
#6 /srv/mediawiki/php-master/includes/jobqueue/JobQueueGroup.php(152): JobQueueGroup->getDefaultQueueTypes()
#7 /srv/mediawiki/php-master/extensions/CentralAuth/includes/CentralAuthUtils.php(269): JobQueueGroup->push(array)
#8 /srv/mediawiki/php-master/extensions/CentralAuth/includes/CentralAuthPrimaryAuthenticationProvider.php(443): CentralAuthUtils::scheduleCreationJobs(CentralAuthUser)
#9 /srv/mediawiki/php-master/includes/db/Database.php(2780): Closure$CentralAuthPrimaryAuthenticationProvider::beginPrimaryAccountCreation(integer)
#10 /srv/mediawiki/php-master/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1169): DatabaseBase->runOnTransactionIdleCallbacks(integer)
#11 /srv/mediawiki/php-master/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1456): Closure$LoadBalancer::runMasterPostTrxCallbacks(DatabaseMysqli)
#12 /srv/mediawiki/php-master/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1178): LoadBalancer->forEachOpenMasterConnection(Closure$LoadBalancer::runMasterPostTrxCallbacks;2058945283)
#13 /srv/mediawiki/php-master/includes/libs/rdbms/lbfactory/LBFactory.php(283): LoadBalancer->runMasterPostTrxCallbacks(integer)
#14 /srv/mediawiki/php-master/includes/db/loadbalancer/LBFactoryMulti.php(416): Closure$LBFactory::commitMasterChanges(LoadBalancer)
#15 /srv/mediawiki/php-master/includes/libs/rdbms/lbfactory/LBFactory.php(285): LBFactoryMulti->forEachLB(Closure$LBFactory::commitMasterChanges;1560904630)
#16 /srv/mediawiki/php-master/includes/MediaWiki.php(597): LBFactory->commitMasterChanges(string, array)
#17 /srv/mediawiki/php-master/includes/MediaWiki.php(570): MediaWiki::preOutputCommit(RequestContext, Closure$MediaWiki::main;1967005086)
#18 /srv/mediawiki/php-master/includes/MediaWiki.php(876): MediaWiki->doPreOutputCommit(Closure$MediaWiki::main;1967005086)
#19 /srv/mediawiki/php-master/includes/MediaWiki.php(522): MediaWiki->main()
#20 /srv/mediawiki/php-master/index.php(43): MediaWiki->run()
#21 /srv/mediawiki/w/index.php(3): include(string)
#22 {main}

Sorry I took time to notice this bug was about Special:CreateAccount being broken. I though it was just yet a random job failling due to T145819. So I kept investigating that other task.

Eventually I have browsed the dashboard for authentication metrics at https://grafana.wikimedia.org/dashboard/db/authentication-metrics?panelId=14&fullscreen Screenshot of the last 24 hours shows a 100% error rate on account creation:

accountcreation_error.png (446×917 px, 58 KB)

I have reverted all wikis to 1.28.0-wmf.18 as a result which is reflected in the drop of errors at the far right of the graph above.

Sorry, should really have noticed that earlier.

I created an account while logged in on Meta and I got

[V9umzgpAME4AAHjk0qgAAACP] 2016-09-16 08:01:21: Fatal exception of type "MWException"

but Special:Log reports the account was created.