MS translator connectivity problem RRS feed

  • Question

  • Hi,

    I have implemented MS translator using SSMS 2008. However, I am getting connectivity error:

    "WebException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond"

    Also we tried using below proxy settings but no luck:

    using (WebClient wc = new WebClient())
                    wc.Proxy = new WebProxy(new Uri("http://proxy:80/"), false, null, CredentialCache.DefaultCredentials);
                    wc.Headers.Add("user-agent", "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36");
                    wc.DownloadFile(url, outputFile);

    Please guide what needs to be done here.

    Thanks in advance

    Nilesh G

    Wednesday, February 24, 2016 3:56 PM

All replies

  • Hi Nilesh,

    my suspicion is that your datacenter uses a different proxy or firewall than your local machine, which doesn't allow connections to the translator API. You could try running a standalone app on your server to see if it can connect. If nothing else, try the document translator http://github.com/microsofttranslator/documenttranslator.

    Chris Wendt
    Microsoft Translator

    Wednesday, February 24, 2016 4:14 PM
  • Thanks Chris.

    Will try the alternative.


    Nilesh G

    Wednesday, February 24, 2016 4:21 PM