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 /

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

avatar image
REFINITIV
Question by Liheng.Wang · Dec 26, 2019 at 09:43 AM · dss-rest-apidatascope-selectdssrest-apiconnection

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

connection forcibly closed by remote host when authenticating

javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

On demand extraction via HTTP requests with list and template ids?

Firewall settings for DSS REST API

create a end of day template by REST API

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • FX Venues
    • FX Trading – RFQ Maker
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • 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
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • Yield Book Analytics
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges