[00:00:01] [HUGGLEBUILDER] Building a nightly build 20160211 x64 debian package [00:10:34] [HUGGLEBUILDER] huggle_20160211-nightly_amd64.deb is ready for download at http://huggle.wmflabs.org/builds/huggle_20160211-nightly_amd64.deb [00:19:13] [HUGGLEBUILDER] Failed to build a win32 version see http://huggle.wmflabs.org/builds/windows/nightly.log [02:47:45] Change on 12www.mediawiki.org a page Manual:Huggle/Configuration was modified, changed by Shirayuki link https://www.mediawiki.org/w/index.php?diff=2046523 edit summary: translation tweaks (incomplete) [03:43:47] 10Huggle, 7HTTPS: Huggle 2 fails on HTTP used when HTTPS expected - https://phabricator.wikimedia.org/T126357#2017744 (10Jkbw) Hi, could someone be so kind to put a compiled version including this hack to http://tools.wmflabs.org/huggle/files/huggle%202.1.26-a.exe ? Thanks in advance. [06:34:23] GitHub [8huggle/huggle3-qt-lx] Nikerabbit pushed 1 commits into branch master: https://github.com/huggle/huggle3-qt-lx/compare/43d5a35af338...6e7d265ca00e [06:34:23] GitHub [8huggle/huggle3-qt-lx] commit by Nikerabbit (Niklas Laxström) https://github.com/huggle/huggle3-qt-lx/commit/6e7d265ca00e4414f246ca72f7dcf4017a372fa7 Localisation updates from https://translatewiki.net. [07:00:46] 10Huggle, 7HTTPS: Huggle 2 fails on HTTP used when HTTPS expected - https://phabricator.wikimedia.org/T126357#2017882 (10DVdm) Yes, I will do later today. Have to remove some extra debugging code first. I also have added a bit of code to strip the page header, sidebar and footer out of the diff window--see [[... [16:57:24] hm, on enwp I seem to be jumping to edits that have already been reverted, mostly by CBNG [16:57:45] and it's not the usual case where it's not reverted at the time of the jump but fails when trying to revert [16:58:19] looks like also some other users, I don't think any are HG though, all STiki or TW [20:15:03] Hmm anyone getting WrongToken auth errors from api.php when trying to login/use Huggle? [20:15:09] I'm getting it every time now. [21:24:52] Hi...I've got a login issue with Huggle 3.1.18... Worked earlier today, and I've never seen it before [21:25:51] Is anyone possibly available to provide some ideas/feedback? [21:32:39] !help [21:32:39] If you need help, write an email to huggle@lists.wikimedia.org or ask a voiced user. Maybe petan, mmovchin, Elsensee or IWorld are online? [21:32:48] hi [21:32:55] hi [21:33:03] what is the error message you get [21:33:17] im getting a login error on h3 [21:33:23] I've been getting it too. [21:33:29] which one [21:33:31] WrongToken return from API. [21:33:45] yup [21:33:47] Was gonna file a phab ticket, but I got distracted. [21:33:48] Same as oshwah - WrongToken [21:34:33] so, its a global error? [21:34:59] I get some too [21:35:01] Login failed: Unable to parse the global configuration. See debug log for more details.: Connection timed out [21:35:06] it's quite different from yours [21:35:20] Looks like it. Tried it on two different computers (different OS's) - same thing. [21:35:38] petan: That is different. But may be related. [21:36:22] obviously it's loading this page https://meta.wikimedia.org/w/api.php?action=query&prop=revisions&rvprop=content&rvlimit=1&titles=Huggle/Config&rawcontinue=1&format=xml [21:36:26] which times out [21:36:29] Sorry... I'm doing some work in the background... [21:36:32] wmf servers seem to be broken [21:36:47] The login error I get is the following: "ERROR: api.php responded with unknown result: WrongToken" [21:37:39] can someone download that page? [21:37:42] https://meta.wikimedia.org/w/api.php?action=query&prop=revisions&rvprop=content&rvlimit=1&titles=Huggle/Config&rawcontinue=1&format=xml [21:37:43] I can't [21:39:16] Works fine for me [21:39:46] ok, it seems like my ISP just for whatever reason doesn't display any WMF sites [21:39:53] I need to find alternative internet [21:39:58] so that I can debug the real issue [21:42:50] Sounds like I'm not the only one receiving the WrongToken error, so it might be a mediawiki issue then, I guess... [21:43:02] ugh... andre__ seems like it's not the only ISP having troubles... I just connected to my server in DC on czech backbone and it can't reach WMF servers as well :/ [21:43:26] petan: uhm, okay then... Willing to bring that up in #ops ? [21:47:03] ok I am sorry I can't really help now with no internet, but if there is someone who knows technical stuff, huggle can be verbose like hell [21:47:20] it's just about starting it with parameter -vvvvvvvvvvvvvvvvv it will tell you precisely what problem is [21:47:33] or better start it with --qd and see raw traffic [21:50:41] Petan: Do you get this in logfiles, or somewhere else? I tried using --qd and there wasn't anything different from a normal startup [21:51:06] galar71: with --qd there should be a file called querydump or something like that [21:51:13] probably in working diirectory [21:51:34] in that file you would see exchange with WMF servers [21:52:41] btw I might have find a cause someone said they deployed some new MW thingie today that could be related [21:54:23] 2 OUT secret 2 IN Fetching a token via action=login is deprecated. Use action=query&meta=tokens&type=login instead. 4 OUT secret 4 IN This is what I get at the end of the file [21:55:14] hmm [21:55:23] seems like they changed the way how you login to mw [21:55:25] Looks like they've deployed something that's broken huggle.... [21:55:28] this will need new release of hg [21:55:51] petan: just joined so no backscroll [21:56:18] we have had some bots that had problems with the small cookie changes that SessionManager introduced. [21:56:42] The cookie headers are more strict and privacy aware (marked secure etc) [21:56:49] bd808: here it is http://wm-bot.wmflabs.org/logs/%23huggle/20160211.txt :P [21:57:57] https://lists.wikimedia.org/pipermail/mediawiki-api-announce/2016-January/000100.html ? [21:58:03] petan: thanks. Has anyone opened a phab task yet? [21:59:12] andre__: on January 16 anomie said "the details of how this will affect you aren't yet finalized; see the announcement on wikitech-l for more" [21:59:19] yeah :( [21:59:19] on Feb 11 it's already broken :/ [21:59:27] that's not much time for devs to update their code [21:59:28] What's phab? [21:59:33] phabricator [21:59:35] this is related but different [21:59:47] !phabricator is http://phabricator.wikimedia.org/ [21:59:47] Key was added [22:00:02] petan, yeah, *if* that is related then communication could be improved [22:00:14] galar71, https://www.mediawiki.org/wiki/Phabricator for more info [22:00:52] Thanks, guys... [22:01:49] I am afraid huggle will remain broken until saturday at least, my internet is broken and I won't have much time tomorrow, and even if I did, testing needs to be done before release [22:02:25] there is huge amount of changes even some from GCI that needs proper testing [22:02:37] * andre__ will buy petan a beer soon for all that trouble [22:02:49] you'r not responsible :D [22:03:22] If in doubt, it's always my fault. :) [22:04:19] haha [22:04:28] I wanted a T-Shirt liek that once [22:04:36] "if anything is broken, I did it" [22:05:07] Is there an easy way to clear all of the cookies for a Huggle3 client? [22:05:22] probably every restart of huggle does that [22:05:32] they aren't stored anywhere on disk [22:05:39] the WrongToken error traces in the MediaWiki code to a login cookie mismatch [22:06:04] bd808: Fetching a token via action=login is deprecated. Use action=query&meta=tokens&type=login instead. result="NeedToken" token="48efa0573d1ac9eaa4541743b24089d856bd0200+\" cookieprefix="nowiki" sessionid="8r7sck1dp9pf56jd34drtmes9l18d0sv" /> 4 OUT secret 4 IN result="WrongToken" /> this clearly say we are using deprecated method [22:06:19] which is probably reason why it doesn't work [22:06:52] One thing SessionManager does that has tripped up some other bots is that it properly sends Set_Cookie headers to delete cookies. [22:06:54] this is a response to login query with password, unfortunatelly only one that is filtered out of debug logs for security reasons [22:07:12] so I can't say what exactly it gave to MW, but this was response [22:07:20] some user agents haven't handled getting a Set-Cookie header with an expiration date int eh past properly [22:09:44] getting the full request and response headers for that would help debug from our side. [22:09:51] huggle is using QNetworkManager to handle http communication [22:09:52] http://doc.qt.io/qt-4.8/qnetworkaccessmanager.html [22:10:30] I'm going to start a phabricator ticket to track this [22:11:41] petan: just FYI, I can reach WMF sites again. Maybe you too. [22:11:55] yep [22:14:35] andre__: fun fact, some people didn't like my english to a point they started own localization for huggle called British English with my grammar errors corrected. Ever since I keep copying their [22:14:36] localizations over back to main english language file, so they are both actually identical :D [22:14:53] 10Huggle, 10MediaWiki-Authentication-and-authorization, 6Reading-Infrastructure-Team: Huggle3 getting "WrongToken" response to authentication attempt against MW 1.27.0-wmf.13 - https://phabricator.wikimedia.org/T126680#2020625 (10bd808) 3NEW [22:15:05] lol [22:15:07] 10Huggle, 10MediaWiki-Authentication-and-authorization, 6Reading-Infrastructure-Team: Huggle3 getting "WrongToken" response to authentication attempt against MW 1.27.0-wmf.13 - https://phabricator.wikimedia.org/T126680#2020634 (10bd808) [22:16:32] 10Huggle, 10MediaWiki-Authentication-and-authorization, 6Reading-Infrastructure-Team: Huggle3 getting "WrongToken" response to authentication attempt against MW 1.27.0-wmf.13 - https://phabricator.wikimedia.org/T126680#2020625 (10bd808) > 22:06:04] bd808: andre__: I've seen faster connectivity, there clearly are still some problems [22:17:10] phab is loading to me like ages [22:17:36] petan, there are, and they are debugged in #wikimedia-operations [22:20:47] 10Huggle, 10MediaWiki-Authentication-and-authorization, 6Reading-Infrastructure-Team: Huggle3 getting "WrongToken" response to authentication attempt against MW 1.27.0-wmf.13 - https://phabricator.wikimedia.org/T126680#2020675 (10Petrb) This needs a fix inside of huggle core, unfortunatelly I have no idea wh... [22:22:54] 10Huggle, 10MediaWiki-Authentication-and-authorization, 6Reading-Infrastructure-Team: Huggle3 getting "WrongToken" response to authentication attempt against MW 1.27.0-wmf.13 - https://phabricator.wikimedia.org/T126680#2020700 (10Petrb) Unfortunately I can't provide http headers right now, but I can give you... [22:23:45] 10Huggle, 10MediaWiki-Authentication-and-authorization, 6Reading-Infrastructure-Team: Huggle3 getting "WrongToken" response to authentication attempt against MW 1.27.0-wmf.13 - https://phabricator.wikimedia.org/T126680#2020714 (10Petrb) Of course, one query is purposefuly not in debug output, the one with pa... [22:25:56] 10Huggle, 10MediaWiki-Authentication-and-authorization, 6Reading-Infrastructure-Team: Huggle3 getting "WrongToken" response to authentication attempt against MW 1.27.0-wmf.13 - https://phabricator.wikimedia.org/T126680#2020746 (10Anomie) >>! In T126680#2020675, @Petrb wrote: > So far we did a first API reque... [22:26:33] 10Huggle, 10MediaWiki-Authentication-and-authorization, 6Reading-Infrastructure-Team: Huggle3 getting "WrongToken" response to authentication attempt against MW 1.27.0-wmf.13 - https://phabricator.wikimedia.org/T126680#2020751 (10Bawolff) Depending on the timing, possibly related to https://lists.wikimedia.o... [22:26:45] 10Huggle, 10MediaWiki-Authentication-and-authorization, 6Reading-Infrastructure-Team: Huggle3 getting "WrongToken" response to authentication attempt against MW 1.27.0-wmf.13 - https://phabricator.wikimedia.org/T126680#2020752 (10Petrb) I think that it's clear where the problem is, huggle tried to get token... [22:27:52] 10Huggle, 10MediaWiki-Authentication-and-authorization, 6Reading-Infrastructure-Team: Huggle3 getting "WrongToken" response to authentication attempt against MW 1.27.0-wmf.13 - https://phabricator.wikimedia.org/T126680#2020770 (10Petrb) >>! In T126680#2020746, @Anomie wrote: >>>! In T126680#2020675, @Petrb w... [22:30:23] 10Huggle, 10MediaWiki-Authentication-and-authorization, 6Reading-Infrastructure-Team: Huggle3 getting "WrongToken" response to authentication attempt against MW 1.27.0-wmf.13 - https://phabricator.wikimedia.org/T126680#2020795 (10bd808) >>! In T126680#2020751, @Bawolff wrote: > Depending on the timing, possi... [22:36:51] 10Huggle, 10MediaWiki-Authentication-and-authorization, 6Reading-Infrastructure-Team: Huggle3 getting "WrongToken" response to authentication attempt against MW 1.27.0-wmf.13 - https://phabricator.wikimedia.org/T126680#2020835 (10Petrb) Here is version with headers: ``` 1 OUT https://meta.wikimedia.org/w/ap... [22:42:39] 10Huggle, 10MediaWiki-Authentication-and-authorization, 6Reading-Infrastructure-Team: Huggle3 getting "WrongToken" response to authentication attempt against MW 1.27.0-wmf.13 - https://phabricator.wikimedia.org/T126680#2020859 (10Petrb) I totally forgot to add headers for OUT requests, here they are: ``` 1... [22:46:36] GitHub [8huggle/huggle3-qt-lx] benapetr pushed 1 commits into branch master: https://github.com/huggle/huggle3-qt-lx/compare/6e7d265ca00e...bc0a412419c0 [22:46:36] GitHub [8huggle/huggle3-qt-lx] commit by benapetr (Petr Bena) https://github.com/huggle/huggle3-qt-lx/commit/bc0a412419c009a03b26b3a8e22375e905eb172f more debug information for query dump [22:54:29] Change on 12en.wikipedia.org a page Wikipedia:Huggle/Users was modified, changed by Anomie test link https://en.wikipedia.org/w/index.php?diff=704496349 edit summary: Adding [[Special:Contributions/Anomie_test|Anomie_test]] ([[WP:HG|HG]]) (3.1.19) [22:54:41] 10Huggle, 10MediaWiki-Authentication-and-authorization, 6Reading-Infrastructure-Team: Huggle3 getting "WrongToken" response to authentication attempt against MW 1.27.0-wmf.13 - https://phabricator.wikimedia.org/T126680#2020894 (10Anomie) Your problem is at https://github.com/huggle/huggle3-qt-lx/blob/e18fcdf... [22:58:33] Change on 12en.wikipedia.org a page Wikipedia:Huggle/Users was modified, changed by BryanDavis link https://en.wikipedia.org/w/index.php?diff=704497021 edit summary: Adding [[Special:Contributions/BryanDavis|BryanDavis]] ([[WP:HG|HG]]) (3.1.18) [22:59:11] adding QUrl::toPercentEncoding() fixes it! [23:04:40] 10Huggle, 10MediaWiki-Authentication-and-authorization, 6Reading-Infrastructure-Team: Huggle3 getting "WrongToken" response to authentication attempt against MW 1.27.0-wmf.13 - https://phabricator.wikimedia.org/T126680#2020903 (10bd808) Proposed fix at . This...