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
REFINITIV
Question by Liheng.Wang · Dec 26, 2019 at 09:43 AM · dssrest apiconnection reset

DSS REST API got connection reset error

One of my customers used our code sample to try to access to DSS data via REST API, while it got connection reset error when attempting to establish connection. Please help to take a look at the screenshot below and advise how to find the cause.


Thanks,

Alec

dss-issue.jpg (246.1 KiB)

People who like this

0 Show 2
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.

avatar image
REFINITIV
Christiaan Meihsl ♦♦ · Dec 27, 2019 at 09:03 AM 0
Share

@Liheng.Wang,

This type of error message can be due to many causes. Could you ask the customer to share his code, so we can try it out ? Also please ask if there are any firewalls or proxies between the internet and the machine where the code is running.

avatar image
REFINITIV
Liheng.Wang Christiaan Meihsl ♦♦ · Dec 27, 2019 at 09:44 AM 0
Share

Hi Christiaan, thanks for your help. As far as I know, there is no firewall or network issue at the client side. Because they could telnet to the destination server.

Actually the customer only used the demo code for testing, and they didn't develp its own code yet. Please download the demo code from the link below.

Removed link

Thanks,

Alec

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Christiaan Meihsl · Dec 27, 2019 at 01:49 PM

@Liheng.Wang,

It looks like the customer downloaded our DSS Java samples package, took the code from one of them (DSS2TokenProxy) and modified it while putting it in his own Maven / Spring environment. With his credentials he also hard coded the IP of a proxy server in the code.

If I run that code with the parameters that are in the file you sent I get a "Service Unavailable" error message, because the proxy IP set by your customer cannot be reached from my network.

If the customer has a proxy, but the proxy requires authentication (which is not included in that particular code sample), then it might result in a connection reset. I cannot guarantee what error message will be delivered because I don't have the infrastructure to test that.

In conclusion:

  • If the customer does not have a proxy he should not be using that sample, but instead use that from sample DSS2Token.
  • If he has a proxy, maybe it requires authentication ? In that case he should be using sample DSS2TokenProxyAuth (note that this sample only supports basic user/password proxy authentication, we do not have samples for other proxy authentication mechanisms).
Comment

People who like this

0 Show 1 · 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
REFINITIV
Liheng.Wang · Dec 27, 2019 at 02:52 PM 0
Share

Thank you so much for the advice. I will talk to the customer about it and update you later. I believe they don't use proxy therefore they should use DSS2Token. Have a good day.

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 >
13 People are following this question.

Related Questions

Is Microsoft Azure REST API supported as one of the APIs for Datascope Select?

How to filter various asset type based on the most primary market

Is there a way to limit the search results from the Datascope /Search/InstrumentSearch based on exchanges?

Hi, is there any c# sample code available for Stored & scheduled extraction. I have created a instrument list and report tamplate on web GUI and i just want to download it.

What is the URL for entering Job IDs in order to download Corporate Actions ISO 15022 extractions from Datascope Select REST API?

  • 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
  • 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
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • 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
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges