Closed paulpach closed 8 years ago
The API works just fine and it works correctly for me, so it's most likely something in your server setup now. Isn't Openshift blocking outgoing connection in some way?
Also what is your setting of SOURCE_LANGUAGE? Setting it to some strange value might have this outcome (see also #1028).
Ah, Openshift settings has default SOURCE_LANGUAGE = 'en-us'
, so please change it to SOURCE_LANGUAGE = 'en'
and Glosbe will work.
Steps to reproduce
Expected behaviour
I expect to see a machine translation of my source string into the current language
Actual behaviour
"The request for machine translation using Glosbe has failed: MachineTranslationError: HTTPError: HTTP Error 400: Bad Request"
Note you already fixed #1026, but it is still not working even if I am already logged in as admin. The request now seems to go all the way to glosbe, but it still failing.
Maybe they changed their api?
Server configuration
Please paste here output of ./manage.py list_versions
I will provide this later today if required