Page MenuHomePhabricator

Beta cluster down
Closed, ResolvedPublic

Description

MediaWiki internal error.

Original exception: [Wd9dHwpEE4AAABl3EN4AAAAE] /wiki/Main_Page RuntimeException from line 2296 of /srv/mediawiki/php-master/includes/auth/AuthManager.php: Expected instance of MediaWiki\Auth\PrimaryAuthenticationProvider, got TitleBlacklistPreAuthenticationProvider
Backtrace:
#0 /srv/mediawiki/php-master/includes/auth/AuthManager.php(2346): MediaWiki\Auth\AuthManager->providerArrayFromSpecs(string, array)
#1 /srv/mediawiki/php-master/includes/auth/AuthManager.php(909): MediaWiki\Auth\AuthManager->getPrimaryAuthenticationProviders()
#2 /srv/mediawiki/php-master/includes/skins/SkinTemplate.php(675): MediaWiki\Auth\AuthManager->canCreateAccounts()
#3 /srv/mediawiki/php-master/includes/skins/SkinTemplate.php(475): SkinTemplate->buildPersonalUrls()
#4 /srv/mediawiki/php-master/includes/skins/SkinTemplate.php(249): SkinTemplate->prepareQuickTemplate()
#5 /srv/mediawiki/php-master/includes/OutputPage.php(2442): SkinTemplate->outputPage()
#6 /srv/mediawiki/php-master/includes/MediaWiki.php(858): OutputPage->output(boolean)
#7 /srv/mediawiki/php-master/includes/MediaWiki.php(870): Closure$MediaWiki::main()
#8 /srv/mediawiki/php-master/includes/MediaWiki.php(523): MediaWiki->main()
#9 /srv/mediawiki/php-master/index.php(43): MediaWiki->run()
#10 /srv/mediawiki/w/index.php(3): include(string)
#11 {main}

Exception caught inside exception handler: [Wd9dHwpEE4AAABl3EN4AAAAE] /wiki/Main_Page RuntimeException from line 2307 of /srv/mediawiki/php-master/includes/auth/AuthManager.php: Duplicate specifications for id MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider (classes MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider and MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider)
Backtrace:
#0 /srv/mediawiki/php-master/includes/auth/AuthManager.php(2346): MediaWiki\Auth\AuthManager->providerArrayFromSpecs(string, array)
#1 /srv/mediawiki/php-master/includes/auth/AuthManager.php(909): MediaWiki\Auth\AuthManager->getPrimaryAuthenticationProviders()
#2 /srv/mediawiki/php-master/includes/skins/SkinTemplate.php(675): MediaWiki\Auth\AuthManager->canCreateAccounts()
#3 /srv/mediawiki/php-master/includes/skins/SkinTemplate.php(475): SkinTemplate->buildPersonalUrls()
#4 /srv/mediawiki/php-master/includes/skins/SkinTemplate.php(249): SkinTemplate->prepareQuickTemplate()
#5 /srv/mediawiki/php-master/includes/OutputPage.php(2442): SkinTemplate->outputPage()
#6 /srv/mediawiki/php-master/includes/exception/MWExceptionRenderer.php(135): OutputPage->output()
#7 /srv/mediawiki/php-master/includes/exception/MWExceptionRenderer.php(54): MWExceptionRenderer::reportHTML(RuntimeException)
#8 /srv/mediawiki/php-master/includes/exception/MWExceptionHandler.php(75): MWExceptionRenderer::output(RuntimeException, integer)
#9 /srv/mediawiki/php-master/includes/exception/MWExceptionHandler.php(149): MWExceptionHandler::report(RuntimeException)
#10 /srv/mediawiki/php-master/includes/MediaWiki.php(550): MWExceptionHandler::handleException(RuntimeException)
#11 /srv/mediawiki/php-master/index.php(43): MediaWiki->run()
#12 /srv/mediawiki/w/index.php(3): include(string)
#13 {main}

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 12 2017, 12:18 PM
zeljkofilipin triaged this task as Unbreak Now! priority.Oct 12 2017, 12:18 PM
Restricted Application added subscribers: Liuxinyu970226, Jay8g, TerraCodes. · View Herald TranscriptOct 12 2017, 12:18 PM

@Reedy: Could this be related to T178033 ?

Change 383827 had a related patch set uploaded (by EddieGP; owner: EddieGP):
[mediawiki/extensions/TitleBlacklist@master] Revert "Remove pre-authmanager code"

https://gerrit.wikimedia.org/r/383827

Change 383827 merged by jenkins-bot:
[mediawiki/extensions/TitleBlacklist@master] Revert "Remove pre-authmanager code"

https://gerrit.wikimedia.org/r/383827

Reedy added a comment.Oct 12 2017, 1:58 PM

Copy paste fail. Left it as primary, should've been preauth

Reverted again in https://gerrit.wikimedia.org/r/#/c/383835/ and fixed

The same error now appears for AntiSpoof:

MediaWiki internal error.

Original exception: [Wd91fQpEE4AAAH3jyoYAAAAB] /wiki/Special:RecentChanges RuntimeException from line 2296 of /srv/mediawiki/php-master/includes/auth/AuthManager.php: Expected instance of MediaWiki\Auth\PrimaryAuthenticationProvider, got AntiSpoofPreAuthenticationProvider
Backtrace:
#0 /srv/mediawiki/php-master/includes/auth/AuthManager.php(2346): MediaWiki\Auth\AuthManager->providerArrayFromSpecs(string, array)
#1 /srv/mediawiki/php-master/includes/auth/AuthManager.php(909): MediaWiki\Auth\AuthManager->getPrimaryAuthenticationProviders()
#2 /srv/mediawiki/php-master/includes/skins/SkinTemplate.php(675): MediaWiki\Auth\AuthManager->canCreateAccounts()
#3 /srv/mediawiki/php-master/includes/skins/SkinTemplate.php(475): SkinTemplate->buildPersonalUrls()
#4 /srv/mediawiki/php-master/includes/skins/SkinTemplate.php(249): SkinTemplate->prepareQuickTemplate()
#5 /srv/mediawiki/php-master/includes/OutputPage.php(2442): SkinTemplate->outputPage()
#6 /srv/mediawiki/php-master/includes/MediaWiki.php(858): OutputPage->output(boolean)
#7 /srv/mediawiki/php-master/includes/MediaWiki.php(870): Closure$MediaWiki::main()
#8 /srv/mediawiki/php-master/includes/MediaWiki.php(523): MediaWiki->main()
#9 /srv/mediawiki/php-master/index.php(43): MediaWiki->run()
#10 /srv/mediawiki/w/index.php(3): include(string)
#11 {main}

Exception caught inside exception handler: [Wd91fQpEE4AAAH3jyoYAAAAB] /wiki/Special:RecentChanges RuntimeException from line 2307 of /srv/mediawiki/php-master/includes/auth/AuthManager.php: Duplicate specifications for id MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider (classes MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider and MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider)
Backtrace:
#0 /srv/mediawiki/php-master/includes/auth/AuthManager.php(2346): MediaWiki\Auth\AuthManager->providerArrayFromSpecs(string, array)
#1 /srv/mediawiki/php-master/includes/auth/AuthManager.php(909): MediaWiki\Auth\AuthManager->getPrimaryAuthenticationProviders()
#2 /srv/mediawiki/php-master/includes/skins/SkinTemplate.php(675): MediaWiki\Auth\AuthManager->canCreateAccounts()
#3 /srv/mediawiki/php-master/includes/skins/SkinTemplate.php(475): SkinTemplate->buildPersonalUrls()
#4 /srv/mediawiki/php-master/includes/skins/SkinTemplate.php(249): SkinTemplate->prepareQuickTemplate()
#5 /srv/mediawiki/php-master/includes/OutputPage.php(2442): SkinTemplate->outputPage()
#6 /srv/mediawiki/php-master/includes/exception/MWExceptionRenderer.php(135): OutputPage->output()
#7 /srv/mediawiki/php-master/includes/exception/MWExceptionRenderer.php(54): MWExceptionRenderer::reportHTML(RuntimeException)
#8 /srv/mediawiki/php-master/includes/exception/MWExceptionHandler.php(75): MWExceptionRenderer::output(RuntimeException, integer)
#9 /srv/mediawiki/php-master/includes/exception/MWExceptionHandler.php(149): MWExceptionHandler::report(RuntimeException)
#10 /srv/mediawiki/php-master/includes/MediaWiki.php(550): MWExceptionHandler::handleException(RuntimeException)
#11 /srv/mediawiki/php-master/index.php(43): MediaWiki->run()
#12 /srv/mediawiki/w/index.php(3): include(string)
#13 {main}

Assigning to @Reedy since he is fixing it.

zeljkofilipin lowered the priority of this task from Unbreak Now! to Medium.Oct 12 2017, 3:02 PM

Beta is back, so it's no more UBN.

Reedy closed this task as Resolved.Oct 12 2017, 3:06 PM

It's all fixed now.. Just the revert of the revert to be merged, but that'll happen as usual