Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • DSS /
avatar image
Question by Gopi Jaladi · Aug 09 at 01:47 AM · dss rest apidsswindowsremote server errorrest api exception in c#

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.

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Christiaan Meihsl · Aug 22 at 11:18 AM

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

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
Answer by Herald · Aug 11 at 10:18 PM

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

Comment

People who like this

0 Show 2 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
Gopi Jaladi · Aug 20 at 01:05 AM 0
Share

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)

avatar image
REFINITIV
Christiaan Meihsl ♦♦ Gopi Jaladi · Aug 22 at 11:14 AM 0
Share

@Gopi Jaladi,

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

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
14 People are following this question.

Related Questions

Fx Rates Using DSS 1 Answer

DSS REST API HTTP Retrieve based on ExtractedFileName (not ExtractedFileId) 3 Answers

Security not found, but RIC is returned 1 Answer

DSS Search: FundSearch using FundSubType 2 Answers

Entity Name Search to extract PermID via DSS REST API 1 Answer

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Elektron Data Platform
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Explore
  • Tags
  • Questions
  • Badges