We are able to retrieve CDOR rates from datascope using C# Rest API and it is working fine in Win...

...dows 7. Same .net Program is throwing exception in Windows Server 2012 as below

ThomsonReuters.Dss.Api.TransportException: An error occurred while sending the request.
---> System.Net.Http.HttpRequestException: An error occurred while sending the request.
---> System.Net.WebException: Unable to connect to the remote server
---> System.Net.Sockets.SocketException: 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


Do we need to check any settings in server or browser to run the .net program using rest API URL?
Please help.

Best Answer

  • Christiaan Meihsl
    Answer ✓

    @Gopi Jaladi

    Do you have a firewall active on the server machine ? If yes, please check its log just after attempting to run your program, as it might block outgoing https (TCP 443) that is not coming from a browser.

    Also: can you open the DSS GUI from your Windows Server 2012 machine ?

Answers