Last modified: 2014-11-20 09:01:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T52861, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50861 - Debug Yandex translation service failures
Debug Yandex translation service failures
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
master
All All
: High normal (vote)
: ---
Assigned To: Lockal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-06 10:57 UTC by Niklas Laxström
Modified: 2014-11-20 09:01 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Niklas Laxström 2013-07-06 10:57:34 UTC
Need more debugging information to see what is the cause of the recent failures at translatewiki.net.
Comment 1 Nemo 2013-07-20 12:42:06 UTC
Have you ever managed to look into the debugging output you added for Microsoft? Is that the kind of info you'd need here too? The problem for TWN started in July and seems basically continuous since then.

$ grep -E "Yandex.+suspended" irclogs/FreeNode/#mediawiki-i18n.log | grep -oE "^[0-9-]{10}" | uniq -c
      2 2013-06-03
      5 2013-07-01
     19 2013-07-02
      6 2013-07-03
     21 2013-07-04
     18 2013-07-05
     32 2013-07-06
     21 2013-07-07
     19 2013-07-08
     14 2013-07-09
     19 2013-07-10
     19 2013-07-11
     22 2013-07-12
      9 2013-07-13
     11 2013-07-14
     25 2013-07-15
      9 2013-07-16
     21 2013-07-17
     26 2013-07-18
     21 2013-07-19
     10 2013-07-20

$ grep -E "Yandex.+restored" irclogs/FreeNode/#mediawiki-i18n.log | grep -oE "^[0-9-]{10}" | uniq -c
      1 2013-07-02
      1 2013-07-06
      2 2013-07-07
      2 2013-07-08
      1 2013-07-09
      1 2013-07-12
      1 2013-07-16
      1 2013-07-19
      1 2013-07-20
Comment 2 Nemo 2013-07-20 12:47:57 UTC
I guess this is the culprit, or related, given the dates: «On July 1, 2013 the API version 1.0 was deprecated. Starting from version 1.5, all API methods must be accessed using a key. To get your free API key, you need to fill out a simple form.»
http://api.yandex.com/translate/

Terms didn't seem to change since April: http://legal.yandex.com/translate_api/

Lockal, do you know what needs doing here on the side of the code you added, if anything?
Comment 3 Gerrit Notification Bot 2013-07-20 19:21:36 UTC
Change 74853 had a related patch set uploaded by Lockal:
(Bug 50861) Debug Yandex translation service failures

https://gerrit.wikimedia.org/r/74853
Comment 4 Lockal 2013-07-20 19:48:04 UTC
See the patch above for the fix.

I'm not very happy about changes in Yandex API, but at least API keys from https://translate.yandex.com/apikeys are still free and there is no "paid quotas" like in Google. Yandex 1.5 API also only works via HTTPS, which is known to be slower than HTTP, but I can't do anything with it.
Comment 5 Gerrit Notification Bot 2013-07-22 05:26:15 UTC
Change 74853 had a related patch set uploaded by Nikerabbit:
(Bug 50861) Debug Yandex translation service failures

https://gerrit.wikimedia.org/r/74853
Comment 6 Gerrit Notification Bot 2013-07-23 10:26:49 UTC
Change 74853 merged by jenkins-bot:
(Bug 50861) Support for Yandex Translate API v1.5

https://gerrit.wikimedia.org/r/74853
Comment 7 Niklas Laxström 2013-07-23 10:36:57 UTC
It works!
Comment 8 Nemo 2013-07-31 12:39:31 UTC
(In reply to comment #7)
> It works!

Now it quite does not. Niklas says it's due to "lots of timeouts and dns failures", hopefully temporary.
Comment 9 Nemo 2014-01-24 20:53:26 UTC
Well, it never went away in these months, reopening.

$ grep -E "Yandex.+suspended" irclogs/FreeNode/#mediawiki-i18n.log | grep -oE "^[0-9-]{7}" | uniq -c
      2 2013-06
    587 2013-07
    251 2013-08
    304 2013-09
    554 2013-10
    571 2013-11
    515 2013-12
    287 2014-01

$ grep -E "Yandex.+restored" irclogs/FreeNode/#mediawiki-i18n.log | grep -oE "^[0-9-]{7}" | uniq -c
     29 2013-07
     22 2013-08
     24 2013-09
     43 2013-10
     38 2013-11
     57 2013-12
     23 2014-01

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links