For a deeper look into our DataScope Select SOAP API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
3 1 2 4

We are able to retrieve CDOR rates from datascope using C# Rest API and it is working fine in Windows 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.

dss-rest-apidatascope-selectdsserror
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
13.7k 26 8 12

@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 ?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
1 0 0 0

Are you able to telnet to the service on it's port from the 2012 machine?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

We dint try Telnet to the service in win 2012 machine port . But when we open REST API URL in IE browser are getting the error like 'You are about to view secure connection " pop up security alert warning-alert.jpgas attached screen shot.

Please help on this. shall we avoid this error from .net code. or how skip this error while sending the request to DSS from rest API URL.

warning-alert.jpg(35.8 kB)

@Gopi Jaladi,

you can safely ignore that warning, it is just telling you that the communication will be encrypted, which is fine.

Click below to post an Idea Post Idea