[Pywikipedia-bugs] [Maniphest] [Commented On] T229293: invalid CSRF token error shown after each block

2019-08-13 Thread Huji
Huji added a comment.


  That is my best guess. Here is an excerpt of the relevant portions of the 
output of my bot in one of its recent runs:
  
...
Checking 5.113.58.172
Checking 38.91.100.235
Logging in to wikipedia:fa as HujiBot
WARNING: API warning (login): Main-account login via "action=login" is 
deprecated and may stop working without warning. To continue login with 
"action=login", see [[Special:BotPasswords]]. To safely continue using 
main-account login, see "action=clientlogin".
WARNING: API warning (main): Subscribe to the mediawiki-api-announce 
mailing list at 
 for 
notice of API deprecations and breaking changes. Use 
[[Special:ApiFeatureUsage]] to see usage of deprecated features by your 
application.
WARNING: API error badtoken: Invalid CSRF token.
Sleeping for 4.8 seconds, 2019-08-14 00:05:33
Checking 185.176.57.25
...
  
  38.91.100.235 was the fifth IP it blocked in that run. You can see that the 
CSRF warning is shown right around when the block is done.

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

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

To: Huji
Cc: Framawiki, Aklapper, Huji, pywikibot-bugs-list, Viztor, DannyS712, Wenyi, 
Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, 
jayvdb, Dalba, Masti, Alchimista, Rxy
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T229293: invalid CSRF token error shown after each block

2019-08-13 Thread Framawiki
Framawiki added a comment.


  Can't reproduce with a loop blocking five accounts on a dev wiki.
  @Huji are you sure that the warning comes from the line where the block is 
made 

 ?

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

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

To: Framawiki
Cc: Framawiki, Aklapper, Huji, pywikibot-bugs-list, Viztor, DannyS712, Wenyi, 
Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, 
jayvdb, Dalba, Masti, Alchimista, Rxy
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T229293: invalid CSRF token error shown after each block

2019-07-30 Thread Huji
Huji added a comment.


  I did more examinations of this. My bot will issue several blocks each time I 
run it. The first block never causes the warning to show up; all subsequent 
blocks will. I will try to investigate more, but thought sharing it here could 
help others who may also be investigating this.

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

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

To: Huji
Cc: Framawiki, Aklapper, Huji, pywikibot-bugs-list, Viztor, DannyS712, Wenyi, 
Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, 
jayvdb, Dalba, Masti, Alchimista, Rxy
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs