Closed nicolecarter closed 11 years ago
Hello,
I am receiving the following error:
java.lang.Exception: [microsoft-translator-api] Error retrieving translation : [Security:090504]Certificate chain received from datamarket.accesscontrol.windows.net - 70.37.92.127 failed hostname verification check. Certificate contained accesscontrol.windows.net but check expected datamarket.accesscontrol.windows.net
I have the following Code in my programs:
String client = "myclientid"; String secret = "myclientsecret"; Translate.setClientId(client); Translate.setClientSecret(secret);
String transText = Translate.execute("hello", Language.ENGLISH, Language.FRENCH); System.out.println(transText);
I have the appropriate imports in the code. I have also set up the account appropriately: I have subscribed to the Microsoft Translator API on Azure Marketplace and have registered my application in the Azure DataMarket.
Anyone have an idea how to fix this?
Thanks, Nicole
It turns out it was a problem with WebLogic. So it is all fixed!
Hello,
I am receiving the following error:
java.lang.Exception: [microsoft-translator-api] Error retrieving translation : [Security:090504]Certificate chain received from datamarket.accesscontrol.windows.net - 70.37.92.127 failed hostname verification check. Certificate contained accesscontrol.windows.net but check expected datamarket.accesscontrol.windows.net
I have the following Code in my programs:
String client = "myclientid"; String secret = "myclientsecret"; Translate.setClientId(client); Translate.setClientSecret(secret);
String transText = Translate.execute("hello", Language.ENGLISH, Language.FRENCH); System.out.println(transText);
I have the appropriate imports in the code. I have also set up the account appropriately: I have subscribed to the Microsoft Translator API on Azure Marketplace and have registered my application in the Azure DataMarket.
Anyone have an idea how to fix this?
Thanks, Nicole