locked
When i am trying to access microsoft translator i am getting following error ----->Connection to http://api.microsofttranslator.com refused RRS feed

  • Question

  • 2014-09-05 15:06:02,547 ERROR [com.tui.cmd.util.TranslationHelper] Error with translation request
    org.apache.http.conn.HttpHostConnectException: Connection to http://api.microsofttranslator.com refused
        at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:190)
        at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
        at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643)
        at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784)
        at com.tui.cmd.util.TranslationHelper.requestTranslator(TranslationHelper.java:607)
        at com.tui.cmd.util.TranslationHelper.requestTranslationService(TranslationHelper.java:527)
        at com.tui.cmd.util.TranslationHelper.translateToEnglish(TranslationHelper.java:310)
        at com.tui.cmd.dataquality.CMDProcessesAndFirewalls.updateLanguageTranslations(CMDProcessesAndFirewalls.java:5564)
        at com.tui.cmd.dataquality.CMDProcessesAndFirewalls.updateMdiAddress(CMDProcessesAndFirewalls.java:5509)
        at com.tui.cmd.dataquality.CMDProcessesAndFirewalls.updateMdiLocations(CMDProcessesAndFirewalls.java:5236)
        at com.tui.cmd.dataquality.CMDProcessesAndFirewalls.updateMdiDataWithLdi(CMDProcessesAndFirewalls.java:4638)
        at com.tui.cmd.dataquality.CMDProcessesAndFirewalls.rebuildMDI(CMDProcessesAndFirewalls.java:4149)
        at com.tui.cmd.maintenance.MasterDataUpdateEngine.doMasterDataUpdate(MasterDataUpdateEngine.java:258)
        at com.tui.cmd.maintenance.MasterDataUpdateEngine.initMasterDataUpdate(MasterDataUpdateEngine.java:191)
        at com.tui.cmd.maintenance.MasterDataUpdateEngine.main(MasterDataUpdateEngine.java:138)
    Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:529)
        at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:127)
        at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
        ... 17 more

    • Edited by knagesh Friday, September 5, 2014 1:32 PM detail
    Friday, September 5, 2014 1:31 PM

All replies

  • Just a wild guess:

    Could it be that the proxy you are using is preventing the connection?

    The proxy will need to allow connections on port 80, or port 443 if you are using SSL, to the domain api.microsofttranslator.com, and port 443 to datamarket.accesscontrol.windows.net.
    Your proxy may permit port 443 exclusively, if it wants to enforce SSL.

    Chris Wendt
    Microsoft Translator

    Monday, September 8, 2014 11:22 PM