Page MenuHomePhabricator

"Expected key {key} not found due to timeout" CentralAuth error is spammy
Closed, ResolvedPublic

Description

The MW Platform dashboard gets around half million Expected key {key} not found due to timeout. errors per week (next largest is 2000 per week). It's not necessarily a problem, e.g. trying to use an expired centralauthtoken is common; but a lot of different mechanisms use the token store, and for some (e.g. central login) a miss would be more unusal, so it would be better to move the logging up the call chain (and downgrade severity where a miss is actually not very surprising).

Event Timeline

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

Change #1105046 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/CentralAuth@master] CentralAuthTokenManager::getKeyValueUponExistence: Downgrade very spammy timeout error to info

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

Change #1105046 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] CentralAuthTokenManager::getKeyValueUponExistence: Downgrade very spammy timeout error to info

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

Change #1146727 had a related patch set uploaded (by Paladox; author: Jforrester):

[mediawiki/extensions/CentralAuth@REL1_43] CentralAuthTokenManager::getKeyValueUponExistence: Downgrade very spammy timeout error to info

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

Change #1146727 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@REL1_43] CentralAuthTokenManager::getKeyValueUponExistence: Downgrade very spammy timeout error to info

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

matmarex assigned this task to Krinkle.
matmarex subscribed.

This code was removed completely in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CentralAuth/+/1130751, there are no more errors logged since then.