Page MenuHomePhabricator

Microsoft Translator translation service errors
Open, LowPublic

Description

We're recently experiencing a big increase in errors and suspensions of the Microsoft translation memory.

rakkaus log random stats for August, September and October (not reliable): "Unknown error" 92, 141, 370; service suspended 8, 17, 203. It happens several times per day since October 6.

I don't know if we're using a key (the monthly character limit for free accounts is only 2 millions https://datamarket.azure.com/dataset/1899a118-d202-492c-aa16-ba21c33c06cb ) but I doubt that can be the problem as August had about three times more translations than September or October.
There don't seem to be big news about the service except a new commercial brother service three months ago https://blogs.msdn.com/b/translation/archive/2012/07/11/announcing-the-microsoft-translator-hub-for-commercial-use.aspx and a capacity expansion last year https://blogs.msdn.com/b/translation/archive/2011/10/18/top-sites-going-global-with-translator-api.aspx


Version: master
Severity: minor
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=44679
https://bugzilla.wikimedia.org/show_bug.cgi?id=50861

Details

Reference
bz41435

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:47 AM
bzimport set Reference to bz41435.
bzimport added a subscriber: Unknown Object (MLST).

Note to bug triagers: this doesn't affect WMF. However, since it is the only MT service on translatewiki.net until Yandex support is merged, it is unfortunate if it stops working for long periods of time.

(

[...] the only MT
service on translatewiki.net until Yandex support is merged [...]

See gerrit change 29534.)

Gerrit change 30350 added some profiling.

-rakkaus:#mediawiki-i18n- [30-Dec-2012 23:01:48 UTC] Translation service Microsoft (was) restored

No more errors since then. Maybe because after the translation rally ended we have way less translations and therefore less requests?
Should this be closed WORKSFORME?

(In reply to comment #2)

(

[...] the only MT
service on translatewiki.net until Yandex support is merged [...]

See Gerrit change #29534.)

That was enabled some time ago, I've also updated [[translatewiki:Technology]] now.

Less than one error per day, suspensions triggers about once a month. Not actively debugging this now.

We're now getting useful errors \o/

2014-09-25 22.36 -rakkaus:#mediawiki-i18n- [25-Sep-2014 20:36:40 UTC] TranslationHelpers::getMicrosoftSuggestion: Http::get failed:<html><body><h1>TranslateApiException</h1><p>Method: Translate()</p><p>Message: AppId is over the quota</p><code></code><p>message id=3722.V2_Rest.Translate.427664CC</p></body></html>

14.15 -rakkaus:#mediawiki-i18n- (1 lines skipped) 2014-11-04 13:15:21 translatewiki.net translatewiki_net-bw_: Translation service Microsoft

problem: Http::get failed:

http://api.microsofttranslator.com/V2/Http.svc/Translate?text=Quick+Stats&from=en&to=vi&appId=2CC0FEFDD557D41E2233C986DC51A4EAE2BB6CFCs:183:"<html><body><h1>TranslateApiException</h1><p>Method: Translate()</p><p>Message: AppId is over the quota</p><code></code><p>message id=5005.V2.
15.09 -rakkaus:#mediawiki-i18n- 2014-11-04 14:09:49 translatewiki.net translatewiki_net-bw_: Translation service Microsoft problem: API key is

not set

16.18 <+Nikerabbit> disabling microsoft for a while, no use if it is over quota
17.01 <+Nikerabbit> https://datamarket.azure.com/dataset/bing/microsofttranslator
17.04 <+Nikerabbit> Reedy: I dunno exactly what it is
17.04 <+Nikerabbit> Reedy: it might be they have just disabled our key with that error message because it is so old
17.04 <+Nikerabbit> I could find any details who/when/what/how registered it

I just made a new API key with my translatewiki.net address; I'm emailing it to Niklas, Siebrand and Reedy.