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.
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 ?
Are you able to telnet to the service on it's port from the 2012 machine?
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)
you can safely ignore that warning, it is just telling you that the communication will be encrypted, which is fine.