Page MenuHomePhabricator

Anonymous data should not be in the authenticated store
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
normalized_message
Anonymous data should not be in the authenticated store
FrameLocationCall
from/srv/mediawiki/php-1.45.0-wmf.21/includes/session/MultiBackendSessionStore.php(231)
#0/srv/mediawiki/php-1.45.0-wmf.21/includes/session/SessionManager.php(646)MediaWiki\Session\MultiBackendSessionStore->get(MediaWiki\Session\SessionInfo)
#1/srv/mediawiki/php-1.45.0-wmf.21/includes/session/SessionManager.php(602)MediaWiki\Session\SessionManager->loadSessionInfoFromStore(MediaWiki\Session\SessionInfo, MediaWiki\Request\WebRequest)
#2/srv/mediawiki/php-1.45.0-wmf.21/includes/session/SessionManager.php(150)MediaWiki\Session\SessionManager->getSessionInfoForRequest(MediaWiki\Request\WebRequest)
#3/srv/mediawiki/php-1.45.0-wmf.21/includes/Request/WebRequest.php(874)MediaWiki\Session\SessionManager->getSessionForRequest(MediaWiki\Request\WebRequest)
#4/srv/mediawiki/php-1.45.0-wmf.21/includes/Setup.php(516)MediaWiki\Request\WebRequest->getSession()
#5/srv/mediawiki/php-1.45.0-wmf.21/includes/WebStart.php(86)require_once(string)
#6/srv/mediawiki/php-1.45.0-wmf.21/index.php(50)require(string)
#7/srv/mediawiki/w/index.php(3)require(string)
#8{main}
Impact

Over 1K log entries in the last 7 days.

Notes

Details

Request URL
https://www.wikidata.org/wiki/Special:CentralAutoLogin/start?from=*&type=*&useformat=*&usesul3=*
Related Changes in Gerrit:

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1195029 had a related patch set uploaded (by D3r1ck01; author: Derick Alangi):

[mediawiki/core@master] session: Avoid logging in session store if UserInfo is available

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

Store is anonymous, but the user associated to the data is authenticated

from /srv/mediawiki/php-1.45.0-wmf.22/includes/session/MultiBackendSessionStore.php(216)
#0 /srv/mediawiki/php-1.45.0-wmf.22/includes/session/SessionManager.php(632): MediaWiki\Session\MultiBackendSessionStore->get(MediaWiki\Session\SessionInfo)
#1 /srv/mediawiki/php-1.45.0-wmf.22/includes/session/SessionManager.php(588): MediaWiki\Session\SessionManager->loadSessionInfoFromStore(MediaWiki\Session\SessionInfo, MediaWiki\Request\WebRequest)
#2 /srv/mediawiki/php-1.45.0-wmf.22/includes/session/SessionManager.php(136): MediaWiki\Session\SessionManager->getSessionInfoForRequest(MediaWiki\Request\WebRequest)
#3 /srv/mediawiki/php-1.45.0-wmf.22/includes/Request/WebRequest.php(860): MediaWiki\Session\SessionManager->getSessionForRequest(MediaWiki\Request\WebRequest)
#4 /srv/mediawiki/php-1.45.0-wmf.22/includes/Setup.php(502): MediaWiki\Request\WebRequest->getSession()
#5 /srv/mediawiki/php-1.45.0-wmf.22/includes/WebStart.php(72): require_once(string)
#6 /srv/mediawiki/php-1.45.0-wmf.22/index.php(36): require(string)
#7 /srv/mediawiki/w/index.php(3): require(string)
#8 {main}

We're satisfied with the logs so far, and we'll be closing this as resolved. The log messages have been changed anyway by If9c4a13f7e49349cf344e32a4f6e2714e9e44e3a (2ea77a739a39d9da255c88cd876e7baf49237ae8).

If any issues arise, we'll file new tasks and track from there. Even with the deployment to group2 today, we're having an average of about two occurrences (warnings) of this per minute, which sounds fine.

Change #1195029 abandoned by D3r1ck01:

[mediawiki/core@master] session: Avoid logging in session store if UserInfo is available

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