Smalyshev added a comment.

what could cause WDQS to return 403 instead of 429?

If you ignore 429 (i.e. try to access the service again within the timeout period specified in Retry-After inside 429) you eventually get temporarily banned, which results in 403.

We need to have some definition of the needs of WikibaseQualityConstraints towards WDQS. If it's just some client spamming wbcheckconstraints endpoint, it'd be fine to just pass 429/403 along (I don't think WikibaseQualityConstraints does it now, but probably it should), but if it's a part of Wiki lifecycle, we should see what is the cause and maybe amend the throttle/ban configurations.


TASK DETAIL
https://phabricator.wikimedia.org/T199787

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Smalyshev
Cc: Jc86035, Bugreporter, Liuxinyu970226, Nikki, MisterSynergy, Jneubert, Lucas_Werkmeister_WMDE, Aklapper, Smalyshev, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Agabi10, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to