Page MenuHomePhabricator

CX2-testing - 403 error for Yandex
Closed, DeclinedPublic

Description

On CX2 testing server, it seems to be impossible to start translation to languages using Yandex - e.g. from English to Russian. Click on 'Add translation' will display the loading icon (the load never finishes) and the warning regarding http://cxserver2.wmflabs.org/v2/translate/en/ru/Yandex:

Failed to load resource: the server responded with a status of 403 (Forbidden)
[CX] Unable to get cxserver token (ignored). {error: {…}}
mw.cx.MachineTranslationService.fetchCXServerToken	@	VM241:26
mw.cx.MachineTranslationService.getCXServerToken	@	VM241:26
mw.cx.MachineTranslationService.translate

Event Timeline

Etonkovidova renamed this task from Cx2-testing - 403 error for Yandex to CX2-testing - 403 error for Yandex .Apr 9 2018, 10:48 PM
Etonkovidova updated the task description. (Show Details)
Pginer-WMF triaged this task as Medium priority.Apr 11 2018, 8:38 AM
Pginer-WMF subscribed.

Ideally, it would be good for Yandex to work in our testing servers to be as close as production as possible.
If that is technically challenging, at the very least we should prevent users to get blocked waiting forever. Having some kind of availavility check or timeout can be an option (that may also help when Yandex is down)

Pginer-WMF lowered the priority of this task from Medium to Low.Jul 6 2018, 10:14 AM
Pginer-WMF updated the task description. (Show Details)

We can't add Yandex available on Labs as it expose key to the public infrastructure. Getting key for personal use is easier and can be use for local setup/testing.