Page MenuHomePhabricator
Paste P3422

Masterwork From Distant Lands
ActivePublic

Authored by Mattflaschen-WMF on Jul 13 2016, 6:51 PM.
mattflaschen@fluorine:~$ zgrep -c 'Can only obtain a centralauthtoken when using CentralAuth sessions' /a/mw-log/archive/exception.log-20160*
/a/mw-log/archive/exception.log-20160414.gz:0
/a/mw-log/archive/exception.log-20160415.gz:0
/a/mw-log/archive/exception.log-20160416.gz:0
/a/mw-log/archive/exception.log-20160417.gz:0
/a/mw-log/archive/exception.log-20160418.gz:0
/a/mw-log/archive/exception.log-20160419.gz:0
/a/mw-log/archive/exception.log-20160420.gz:0
/a/mw-log/archive/exception.log-20160421.gz:0
/a/mw-log/archive/exception.log-20160422.gz:0
/a/mw-log/archive/exception.log-20160423.gz:0
/a/mw-log/archive/exception.log-20160424.gz:0
/a/mw-log/archive/exception.log-20160425.gz:0
/a/mw-log/archive/exception.log-20160426.gz:0
/a/mw-log/archive/exception.log-20160427.gz:0
/a/mw-log/archive/exception.log-20160428.gz:0
/a/mw-log/archive/exception.log-20160429.gz:0
/a/mw-log/archive/exception.log-20160430.gz:0
/a/mw-log/archive/exception.log-20160501.gz:0
/a/mw-log/archive/exception.log-20160502.gz:0
/a/mw-log/archive/exception.log-20160503.gz:0
/a/mw-log/archive/exception.log-20160504.gz:0
/a/mw-log/archive/exception.log-20160505.gz:0
/a/mw-log/archive/exception.log-20160506.gz:0
/a/mw-log/archive/exception.log-20160507.gz:0
/a/mw-log/archive/exception.log-20160508.gz:0
/a/mw-log/archive/exception.log-20160509.gz:0
/a/mw-log/archive/exception.log-20160510.gz:0
/a/mw-log/archive/exception.log-20160511.gz:0
/a/mw-log/archive/exception.log-20160512.gz:0
/a/mw-log/archive/exception.log-20160513.gz:0
/a/mw-log/archive/exception.log-20160514.gz:0
/a/mw-log/archive/exception.log-20160515.gz:0
/a/mw-log/archive/exception.log-20160516.gz:0
/a/mw-log/archive/exception.log-20160517.gz:0
/a/mw-log/archive/exception.log-20160518.gz:0
/a/mw-log/archive/exception.log-20160519.gz:0
/a/mw-log/archive/exception.log-20160520.gz:0
/a/mw-log/archive/exception.log-20160521.gz:0
/a/mw-log/archive/exception.log-20160522.gz:0
/a/mw-log/archive/exception.log-20160523.gz:0
/a/mw-log/archive/exception.log-20160524.gz:0
/a/mw-log/archive/exception.log-20160525.gz:0
/a/mw-log/archive/exception.log-20160526.gz:0
/a/mw-log/archive/exception.log-20160527.gz:0
/a/mw-log/archive/exception.log-20160528.gz:0
/a/mw-log/archive/exception.log-20160529.gz:0
/a/mw-log/archive/exception.log-20160530.gz:0
/a/mw-log/archive/exception.log-20160531.gz:0
/a/mw-log/archive/exception.log-20160601.gz:0
/a/mw-log/archive/exception.log-20160602.gz:0
/a/mw-log/archive/exception.log-20160603.gz:0
/a/mw-log/archive/exception.log-20160604.gz:0
/a/mw-log/archive/exception.log-20160605.gz:0
/a/mw-log/archive/exception.log-20160606.gz:0
/a/mw-log/archive/exception.log-20160607.gz:0
/a/mw-log/archive/exception.log-20160608.gz:0
/a/mw-log/archive/exception.log-20160609.gz:0
/a/mw-log/archive/exception.log-20160610.gz:0
/a/mw-log/archive/exception.log-20160611.gz:0
/a/mw-log/archive/exception.log-20160612.gz:0
/a/mw-log/archive/exception.log-20160613.gz:0
/a/mw-log/archive/exception.log-20160614.gz:0
/a/mw-log/archive/exception.log-20160615.gz:0
/a/mw-log/archive/exception.log-20160616.gz:0
/a/mw-log/archive/exception.log-20160617.gz:0
/a/mw-log/archive/exception.log-20160618.gz:0
/a/mw-log/archive/exception.log-20160619.gz:0
/a/mw-log/archive/exception.log-20160620.gz:0
/a/mw-log/archive/exception.log-20160621.gz:0
/a/mw-log/archive/exception.log-20160622.gz:0
/a/mw-log/archive/exception.log-20160623.gz:0
/a/mw-log/archive/exception.log-20160624.gz:0
/a/mw-log/archive/exception.log-20160625.gz:0
/a/mw-log/archive/exception.log-20160626.gz:0
/a/mw-log/archive/exception.log-20160627.gz:0
/a/mw-log/archive/exception.log-20160628.gz:0
/a/mw-log/archive/exception.log-20160629.gz:0
/a/mw-log/archive/exception.log-20160630.gz:1414
/a/mw-log/archive/exception.log-20160701.gz:0
/a/mw-log/archive/exception.log-20160702.gz:0
/a/mw-log/archive/exception.log-20160703.gz:0
/a/mw-log/archive/exception.log-20160704.gz:0
/a/mw-log/archive/exception.log-20160705.gz:0
/a/mw-log/archive/exception.log-20160706.gz:42
/a/mw-log/archive/exception.log-20160707.gz:5140
/a/mw-log/archive/exception.log-20160708.gz:4958
/a/mw-log/archive/exception.log-20160709.gz:4574
/a/mw-log/archive/exception.log-20160710.gz:3686
/a/mw-log/archive/exception.log-20160711.gz:4058
/a/mw-log/archive/exception.log-20160712.gz:5500
/a/mw-log/archive/exception.log-20160713.gz:4132
mattflaschen@fluorine:~$ zgrep -A30 'Can only obtain a centralauthtoken when using CentralAuth sessions' /a/mw-log/archive/exception.log-20160713.gz|tail -n 35
#27 /srv/mediawiki/php-1.28.0-wmf.8/includes/MediaWiki.php(618): MediaWiki->restInPeace(string)
#28 [internal function]: Closure$MediaWiki::doPostOutputShutdown()
#29 {main}
2016-07-12 21:24:00 [V4Vf7wpAIEYAAGoGYpgAAADB] mw1200 test2wiki 1.28.0-wmf.8 exception ERROR: [V4Vf7wpAIEYAAGoGYpgAAADB] /w/api.php UsageException from line 1487 of /srv/mediawiki/php-1.28.0-wmf.8/includes/api/ApiBase.php: Can only obtain a centralauthtoken when using CentralAuth sessions {"exception_id":"V4Vf7wpAIEYAAGoGYpgAAADB"}
[Exception UsageException] (/srv/mediawiki/php-1.28.0-wmf.8/includes/api/ApiBase.php:1487) Can only obtain a centralauthtoken when using CentralAuth sessions
#0 /srv/mediawiki/php-1.28.0-wmf.8/extensions/CentralAuth/includes/api/ApiCentralAuthToken.php(51): ApiBase->dieUsage(string, string)
#1 /srv/mediawiki/php-1.28.0-wmf.8/includes/api/ApiMain.php(1373): ApiCentralAuthToken->execute()
#2 /srv/mediawiki/php-1.28.0-wmf.8/includes/api/ApiMain.php(438): ApiMain->executeAction()
#3 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/ForeignWikiRequest.php(57): ApiMain->execute()
#4 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/ForeignWikiRequest.php(112): EchoForeignWikiRequest->getCentralAuthToken(User)
#5 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/ForeignWikiRequest.php(92): EchoForeignWikiRequest->getQueryParams(string)
#6 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/ForeignWikiRequest.php(29): EchoForeignWikiRequest->getRequestParams()
#7 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/NotifUser.php(709): EchoForeignWikiRequest->execute()
#8 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/NotifUser.php(770): MWEchoNotifUser->getForeignData()
#9 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/NotifUser.php(496): MWEchoNotifUser->getForeignTimestamp(string)
#10 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/model/Notification.php(161): MWEchoNotifUser->resetNotificationCount(integer)
#11 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/mapper/NotificationMapper.php(61): Closure$EchoNotification::insert#2()
#12 /srv/mediawiki/php-1.28.0-wmf.8/includes/db/Database.php(2482): Closure$EchoNotificationMapper::insert()
#13 /srv/mediawiki/php-1.28.0-wmf.8/includes/db/Database.php(2454): DatabaseBase->runOnTransactionIdleCallbacks()
#14 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/mapper/NotificationMapper.php(64): DatabaseBase->onTransactionIdle(Closure$EchoNotificationMapper::insert;1964115705)
#15 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/model/Notification.php(165): EchoNotificationMapper->insert(EchoNotification)
#16 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/model/Notification.php(94): EchoNotification->insert()
#17 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/Notifier.php(21): EchoNotification::create(array)
#18 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/controller/NotificationController.php(277): EchoNotifier::notifyWithNotification(User, EchoEvent)
#19 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/controller/NotificationController.php(104): EchoNotificationController::doNotification(EchoEvent, User, string)
#20 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/model/Event.php(155): EchoNotificationController::notify(EchoEvent, boolean)
#21 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/DiscussionParser.php(72): EchoEvent::create(array)
#22 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/Hooks.php(474): EchoDiscussionParser::generateEventsForRevision(Revision)
#23 /srv/mediawiki/php-1.28.0-wmf.8/includes/deferred/CallableUpdate.php(22): Closure$EchoHooks::onArticleSaved()
#24 /srv/mediawiki/php-1.28.0-wmf.8/includes/deferred/DeferredUpdates.php(159): MWCallableUpdate->doUpdate()
#25 /srv/mediawiki/php-1.28.0-wmf.8/includes/deferred/DeferredUpdates.php(88): DeferredUpdates::execute(array, string)
#26 /srv/mediawiki/php-1.28.0-wmf.8/includes/MediaWiki.php(776): DeferredUpdates::doUpdates(string)
#27 /srv/mediawiki/php-1.28.0-wmf.8/includes/MediaWiki.php(618): MediaWiki->restInPeace(string)
#28 [internal function]: Closure$MediaWiki::doPostOutputShutdown()
#29 {main}
mattflaschen@fluorine:~$ grep -c 'Can only obtain a centralauthtoken when using CentralAuth sessions' /a/mw-log/exception.log
0
mattflaschen@fluorine:~$
mattflaschen@fluorine:~$ zgrep -c 'Can only obtain a centralauthtoken when using CentralAuth sessions' /a/mw-log/archive/Echo*|tail -n 3
/a/mw-log/archive/Echo.log-20160711.gz:0
/a/mw-log/archive/Echo.log-20160712.gz:0
/a/mw-log/archive/Echo.log-20160713.gz:1088
mattflaschen@fluorine:~$ zgrep -A30 'Can only obtain a centralauthtoken when using CentralAuth sessions' /a/mw-log/archive/Echo.log-20160713.gz|tail -n 35
#27 /srv/mediawiki/php-1.28.0-wmf.8/includes/MediaWiki.php(618): MediaWiki->restInPeace(string)
#28 [internal function]: Closure$MediaWiki::doPostOutputShutdown()
#29 {main}
2016-07-12 21:24:00 [V4Vf7wpAIEYAAGoGYpgAAADB] mw1200 test2wiki 1.28.0-wmf.8 Echo DEBUG: Exception when fetching CentralAuth token: wiki: test2wiki, userName: Doc Taxon, userId: 3664, centralId: 29455240, exception: badsession: Can only obtain a centralauthtoken when using CentralAuth sessions {"wiki":"test2wiki","userName":"Doc Taxon","userId":3664,"centralId":29455240}
[Exception UsageException] (/srv/mediawiki/php-1.28.0-wmf.8/includes/api/ApiBase.php:1487) Can only obtain a centralauthtoken when using CentralAuth sessions
#0 /srv/mediawiki/php-1.28.0-wmf.8/extensions/CentralAuth/includes/api/ApiCentralAuthToken.php(51): ApiBase->dieUsage(string, string)
#1 /srv/mediawiki/php-1.28.0-wmf.8/includes/api/ApiMain.php(1373): ApiCentralAuthToken->execute()
#2 /srv/mediawiki/php-1.28.0-wmf.8/includes/api/ApiMain.php(438): ApiMain->executeAction()
#3 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/ForeignWikiRequest.php(57): ApiMain->execute()
#4 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/ForeignWikiRequest.php(112): EchoForeignWikiRequest->getCentralAuthToken(User)
#5 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/ForeignWikiRequest.php(92): EchoForeignWikiRequest->getQueryParams(string)
#6 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/ForeignWikiRequest.php(29): EchoForeignWikiRequest->getRequestParams()
#7 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/NotifUser.php(709): EchoForeignWikiRequest->execute()
#8 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/NotifUser.php(770): MWEchoNotifUser->getForeignData()
#9 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/NotifUser.php(496): MWEchoNotifUser->getForeignTimestamp(string)
#10 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/model/Notification.php(161): MWEchoNotifUser->resetNotificationCount(integer)
#11 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/mapper/NotificationMapper.php(61): Closure$EchoNotification::insert#2()
#12 /srv/mediawiki/php-1.28.0-wmf.8/includes/db/Database.php(2482): Closure$EchoNotificationMapper::insert()
#13 /srv/mediawiki/php-1.28.0-wmf.8/includes/db/Database.php(2454): DatabaseBase->runOnTransactionIdleCallbacks()
#14 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/mapper/NotificationMapper.php(64): DatabaseBase->onTransactionIdle(Closure$EchoNotificationMapper::insert;1964115705)
#15 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/model/Notification.php(165): EchoNotificationMapper->insert(EchoNotification)
#16 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/model/Notification.php(94): EchoNotification->insert()
#17 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/Notifier.php(21): EchoNotification::create(array)
#18 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/controller/NotificationController.php(277): EchoNotifier::notifyWithNotification(User, EchoEvent)
#19 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/controller/NotificationController.php(104): EchoNotificationController::doNotification(EchoEvent, User, string)
#20 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/model/Event.php(155): EchoNotificationController::notify(EchoEvent, boolean)
#21 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/includes/DiscussionParser.php(72): EchoEvent::create(array)
#22 /srv/mediawiki/php-1.28.0-wmf.8/extensions/Echo/Hooks.php(474): EchoDiscussionParser::generateEventsForRevision(Revision)
#23 /srv/mediawiki/php-1.28.0-wmf.8/includes/deferred/CallableUpdate.php(22): Closure$EchoHooks::onArticleSaved()
#24 /srv/mediawiki/php-1.28.0-wmf.8/includes/deferred/DeferredUpdates.php(159): MWCallableUpdate->doUpdate()
#25 /srv/mediawiki/php-1.28.0-wmf.8/includes/deferred/DeferredUpdates.php(88): DeferredUpdates::execute(array, string)
#26 /srv/mediawiki/php-1.28.0-wmf.8/includes/MediaWiki.php(776): DeferredUpdates::doUpdates(string)
#27 /srv/mediawiki/php-1.28.0-wmf.8/includes/MediaWiki.php(618): MediaWiki->restInPeace(string)
#28 [internal function]: Closure$MediaWiki::doPostOutputShutdown()
#29 {main}
mattflaschen@fluorine:~$ grep -c 'Can only obtain a centralauthtoken when using CentralAuth sessions' /a/mw-log/Echo.log
0