Error
- mwversion: 1.43.0-wmf.21
- reqId: b1067e7a-5c35-42cf-b0b2-68ab41e75f15
- Find reqId in Logstash
[{reqId}] {exception_url} InvalidArgumentException: Invalid language code "d870695a1e61c1207dc5a9ba1b93d85dcef9859e2bfaee1cd2fd773bcc9bfbde1e67ef186c66b29244b96ffa3700826f416a1bf67a71122741e8fccb4ab84c965d1e6f8386a3b127039a0f46d316224e"
from /srv/mediawiki/php-1.43.0-wmf.21/includes/language/LanguageFactory.php(184) #0 /srv/mediawiki/php-1.43.0-wmf.21/includes/language/LanguageFactory.php(170): MediaWiki\Languages\LanguageFactory->newFromCode(string) #1 /srv/mediawiki/php-1.43.0-wmf.21/includes/libs/MapCacheLRU.php(271): MediaWiki\Languages\LanguageFactory->MediaWiki\Languages\{closure}() #2 /srv/mediawiki/php-1.43.0-wmf.21/includes/language/LanguageFactory.php(171): MapCacheLRU->getWithSetCallback(string, Closure) #3 /srv/mediawiki/php-1.43.0-wmf.21/includes/language/LanguageFactory.php(152): MediaWiki\Languages\LanguageFactory->getRawLanguage(string) #4 /srv/mediawiki/php-1.43.0-wmf.21/includes/Message/Message.php(893): MediaWiki\Languages\LanguageFactory->getLanguage(string) #5 /srv/mediawiki/php-1.43.0-wmf.21/includes/ResourceLoader/MessageBlobStore.php(234): MediaWiki\Message\Message->inLanguage(string) #6 /srv/mediawiki/php-1.43.0-wmf.21/includes/ResourceLoader/MessageBlobStore.php(257): MediaWiki\ResourceLoader\MessageBlobStore->fetchMessage(string, string) #7 /srv/mediawiki/php-1.43.0-wmf.21/includes/ResourceLoader/MessageBlobStore.php(174): MediaWiki\ResourceLoader\MessageBlobStore->generateMessageBlob(MediaWiki\ResourceLoader\FileModule, string) #8 /srv/mediawiki/php-1.43.0-wmf.21/includes/ResourceLoader/MessageBlobStore.php(121): MediaWiki\ResourceLoader\MessageBlobStore->recacheMessageBlob(string, MediaWiki\ResourceLoader\FileModule, string) #9 /srv/mediawiki/php-1.43.0-wmf.21/includes/ResourceLoader/MessageBlobStore.php(89): MediaWiki\ResourceLoader\MessageBlobStore->getBlobs(array, string) #10 /srv/mediawiki/php-1.43.0-wmf.21/includes/ResourceLoader/Module.php(695): MediaWiki\ResourceLoader\MessageBlobStore->getBlob(MediaWiki\ResourceLoader\FileModule, string) #11 /srv/mediawiki/php-1.43.0-wmf.21/includes/ResourceLoader/FileModule.php(649): MediaWiki\ResourceLoader\Module->getMessageBlob(MediaWiki\ResourceLoader\Context) #12 /srv/mediawiki/php-1.43.0-wmf.21/includes/ResourceLoader/Module.php(958): MediaWiki\ResourceLoader\FileModule->getDefinitionSummary(MediaWiki\ResourceLoader\Context) #13 /srv/mediawiki/php-1.43.0-wmf.21/includes/ResourceLoader/StartUpModule.php(221): MediaWiki\ResourceLoader\Module->getVersionHash(MediaWiki\ResourceLoader\Context) #14 /srv/mediawiki/php-1.43.0-wmf.21/includes/ResourceLoader/StartUpModule.php(430): MediaWiki\ResourceLoader\StartUpModule->getModuleRegistrations(MediaWiki\ResourceLoader\Context) #15 /srv/mediawiki/php-1.43.0-wmf.21/includes/ResourceLoader/Module.php(843): MediaWiki\ResourceLoader\StartUpModule->getScript(MediaWiki\ResourceLoader\Context) #16 /srv/mediawiki/php-1.43.0-wmf.21/includes/ResourceLoader/Module.php(812): MediaWiki\ResourceLoader\Module->buildContent(MediaWiki\ResourceLoader\Context) #17 /srv/mediawiki/php-1.43.0-wmf.21/includes/ResourceLoader/Module.php(955): MediaWiki\ResourceLoader\Module->getModuleContent(MediaWiki\ResourceLoader\Context) #18 /srv/mediawiki/php-1.43.0-wmf.21/includes/ResourceLoader/ResourceLoader.php(686): MediaWiki\ResourceLoader\Module->getVersionHash(MediaWiki\ResourceLoader\Context) #19 /srv/mediawiki/php-1.43.0-wmf.21/includes/ResourceLoader/ResourceLoader.php(786): MediaWiki\ResourceLoader\ResourceLoader->getCombinedVersion(MediaWiki\ResourceLoader\Context, array) #20 /srv/mediawiki/php-1.43.0-wmf.21/includes/ResourceLoader/ResourceLoaderEntryPoint.php(54): MediaWiki\ResourceLoader\ResourceLoader->respond(MediaWiki\ResourceLoader\Context) #21 /srv/mediawiki/php-1.43.0-wmf.21/includes/MediaWikiEntryPoint.php(200): MediaWiki\ResourceLoader\ResourceLoaderEntryPoint->execute() #22 /srv/mediawiki/php-1.43.0-wmf.21/load.php(42): MediaWiki\MediaWikiEntryPoint->run() #23 /srv/mediawiki/w/load.php(3): require(string) #24 {main}
Impact
A batch of 10,407 of these showed up in a ~2 minute period, with a series of different hex codes for the language. Looks like each code was tried 280 times, resulting in a unique error string, rendering logspam-watch useless for monitoring as these errors consumed the display, masking lower frequency errors.
https://logstash.wikimedia.org/goto/d0b37dd20d98343526a3b469700ce69c