I have students using the translate component. They are doing everything correctly, but it is giving a ‘Yandex Error 502’. I read something recently about switching away from Google or something like that. Would this have an effect on how this is working? If feel this is because of something in the background, but I am not sure what it is. Please help.
Upload a sample student project for more detailed analysis.
From the release notes of nb189 (2022)
- The YandexTranslate Component was replaced with the Translator component. Translator works the same as YandexTranslate and projects that use YandexTranslate will automatically be upgraded to use Translator. Translator uses a server at MIT which in turn uses a commercial translation service, currently Amazon Translate.
Not sure why you get a Yandex error?
(if MIT are still using Yandex, could be a service interruption due to hostilities (Ukraine/Russia)?)
We originally developed the Translator component in the anticipation that we might lose access to Yandex, which they provided us for free. We switched for a while to Amazon Translate, and the proxy server also implements a cache, which saves us $$ because Amazon isn't free. However, Yandex proved stable, and we switched back to it until...
Yandex deprecated the API we were using, and the replacement would require new API keys, which would not be free. So we went back to Amazon, which is where we are today.
Could, of course, just be an old error message not updated when the switch over happened...
When I try it on my teacher computer, I get it to work. Is there something that we could have blocked for the student use that could cause this error? If I can tell IT what specifically it is, they can allow it for the student Chromebooks. That is my guess as to what is happening. Any insight is appreciated.
Sounds like the student's computer are being blocked from the MIT translation server.
Got it figured out. I logged into my app that used the old component and it automatically converted it to the new one and worked. Not sure there was a problem at all. Coding error on my part.
I'm glad you figured it out!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.