Page MenuHomePhabricator

MediaWiki\Extension\OAuth\Frontend\SpecialPages\SpecialMWOAuth::execute: Exception The authorization headers in your request are for a user that does not exist here
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
normalized_message
MediaWiki\Extension\OAuth\Frontend\SpecialPages\SpecialMWOAuth::execute: Exception The authorization headers in your request are for a user that does not exist here
FrameLocationCall
from/srv/mediawiki/php-1.44.0-wmf.21/extensions/OAuth/src/Frontend/SpecialPages/SpecialMWOAuth.php(283)
#0/srv/mediawiki/php-1.44.0-wmf.21/includes/specialpage/SpecialPage.php(729)MediaWiki\Extension\OAuth\Frontend\SpecialPages\SpecialMWOAuth->execute(string)
#1/srv/mediawiki/php-1.44.0-wmf.21/includes/specialpage/SpecialPageFactory.php(1737)MediaWiki\SpecialPage\SpecialPage->run(string)
#2/srv/mediawiki/php-1.44.0-wmf.21/includes/actions/ActionEntryPoint.php(501)MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, MediaWiki\Context\RequestContext)
#3/srv/mediawiki/php-1.44.0-wmf.21/includes/actions/ActionEntryPoint.php(145)MediaWiki\Actions\ActionEntryPoint->performRequest()
#4/srv/mediawiki/php-1.44.0-wmf.21/includes/MediaWikiEntryPoint.php(202)MediaWiki\Actions\ActionEntryPoint->execute()
#5/srv/mediawiki/php-1.44.0-wmf.21/index.php(58)MediaWiki\MediaWikiEntryPoint->run()
#6/srv/mediawiki/w/index.php(3)require(string)
#7{main}
Impact
Notes

Details

Request URL
/w/index.php?title=Special:OAuth/identify

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Tgr changed Request URL from https://btm.wiktionary.org/w/index.php?title=* to /w/index.php?title=Special:OAuth/identify.Mar 24 2025, 8:30 AM

Either an autocreation failure (but then I think we should see something in the logs for that request) or more of T380500: CentralAuthUser returning outdated data after user creation.

There's quite a lot of it and there's a pattern, but not one that would make sense for code change (logstash).

Screenshot Capture - 2025-03-24 - 12-39-53.png (472×1 px, 34 KB)

Maybe it's triggered by a request pattern specific to some bot or tool?

In the last 31 days it came up 22 933 times, where the majority came from btm.wiktionay.org (22 889 times).

No errors since Sept 25th.

image.png (529×980 px, 40 KB)

Lets keep it for couple days more, I would like to have at least a week with 0 errors. Then I'll close this ticket.

Looks like it's gone

Actually this is a duplicate of T208443: User cannot log in with OAuth on a wiki before visiting that wiki directly - OAuth doesn't autocreate users for some reason.

Krinkle added a subscriber: pmiazga.