PeterBowman added a comment.
In T224712#5920479 <https://phabricator.wikimedia.org/T224712#5920479>, @Dvorapa wrote: > After some other tests: > zh.wikisource.org API sometimes generates invalid new token (using action=query&meta=tokens). This token gives login response of `NeedToken` with another invalid token generated. This token gives login response of `NeedToken` with yet another invalid token generated. And so on... > After a couple of attempts I successfully reproduced it also using zh:ws API sandbox I'm probably facing this same issue with MER-C's wiki-java <https://github.com/MER-C/wiki-java/tree/64feb0f1097f5192e5a6f5a41457586112c2a0a4> client library. Most login actions succeed, a few of them fail with //result=NeedToken//. This framework also retrieves a login token via `action=query&meta=tokens`, the generated token (upon error response) is not used in any way thereafter. My bot performs hundreds of login actions per week via BotPasswords. This problem showed up for me on Tuesday, 31th March. TASK DETAIL https://phabricator.wikimedia.org/T224712 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dvorapa, PeterBowman Cc: PeterBowman, Reedy, Urbanecm, Jdforrester-WMF, Pchelolo, Anomie, Dvorapa, Framawiki, Aklapper, pywikibot-bugs-list, Dalba, Xqt, Oblanco79, Alter-paule, Beast1978, Un1tY, Zkhalido, Hook696, Daryl-TTMG, RomaAmorRoma, E.S.A-Sheild, WDoranWMF, Kent7301, Meekrab2012, joker88john, Viztor, DannyS712, CucyNoiD, NebulousIris, Wenyi, Gaboe420, Versusxo, Majesticalreaper22, Amorymeltzer, Giuliamocci, Adrian1985, Cpaulf30, Af420, Darkminds3113, Bsandipan, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, Sethakill, WSH1906, Lewizho99, Mdupont, JJMC89, Maathavan, dg711, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy, Legoktm
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
