Tgr added a comment.
In T391346#10767842 <https://phabricator.wikimedia.org/T391346#10767842>, @Ladsgroup wrote: > From what I'm seeing from pywikibot logs, it goes like this: The bot logins, login works just fine, pywikibot records that it has logged in and keep the session. The next API request responds with anonymous session. pywikibot errors out. Yeah, that much is obvious from the error message - Pywikibot makes a userinfo query as part of its login, to assert success, and that shows the user as anonymous. Does that request contain a session cookie though? Are there Set-Cookie headers in the response? Do you have a request ID for it? Can you add an X-Wikimedia-Debug header to trigger debug logging? TASK DETAIL https://phabricator.wikimedia.org/T391346 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ladsgroup, Tgr Cc: pywikibot-bugs-list, Tgr, Aklapper, Marostegui, FCeratto-WMF, Shwmyhmdan1, mevo, KOfori, PotsdamLamb, Devnull, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Iflorez, Aram, Viztor, Wenyi, Toppole69, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, Hannolans, mys_721tx, Xqt, jayvdb, Masti, Alchimista, Ladsgroup, Jay8g, Krenair
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
