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
Question by lukasz.ossowski · Feb 19, 2019 at 10:19 AM · dss-rest-apidatascope-selectdss

'Connection aborted.', ConnectionResetError(10054)

What does this message mean: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)).

It's with regards to DSS REST API.

nicolas.fonteyne

People who like this

1 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.

6 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Jirapongse · Feb 19, 2019 at 10:44 PM

@lukasz.ossowski

10054 should be a Windows socket error code.

WSAECONNRESET
10054
Connection reset by peer.
An existing connection was forcibly closed by the remote host. This normally results if the peer application on the remote host is suddenly stopped, the host is rebooted, the host or remote network interface is disabled, or the remote host uses a hard close (see setsockopt for more information on the SO_LINGER option on the remote socket). This error may also result if a connection was broken due to keep-alive activity detecting a failure while one or more operations are in progress. Operations that were in progress fail with WSAENETRESET. Subsequent operations fail with WSAECONNRESET.

It is from the Windows Sockets Error Codes. It seems that the server forcibly closed the connection.

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
REFINITIV
Answer by Christiaan Meihsl · Feb 20, 2019 at 09:03 AM

@lukasz.ossowski,

This could be due to a network issue, a firewall closing a connection after a certain time, our servers being in maintenance, etc.

Do you regularly get this error, or was this a once of a time occurrence ?

When did it happen (day, time, timezone) ?

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 lukasz.ossowski · Feb 22, 2019 at 06:36 AM

Hi All,

some further details from the client:

It happens everyday for one of our script. The script has the following structure:

1. Check if OpenAccessList (an instrument list in web gui) exists otherwise create OpenAccessList. (api through python)

2. Ric list with ~ 100 rics is given as input (an internal list)

3. For each of these rics, try to append them to OpenAccessList one by one (so we can check if they are OpenAccess or not). The script sleeps in 3 seconds before appending a new ric. (api through python) < ---------- Here is where the script crashes

4. Delete OpenAccessList.

We have checked our firewall settings for the api queries against https://hosted.datascopeapi.reuters.com/......... and could not find any rule that would cancel the connection from our side. The script is running 16:10 swedish time and crashes around 16:17 (15:10 UTC and crashes around 15:17 utc).

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
REFINITIV
Christiaan Meihsl ♦♦ · Feb 22, 2019 at 06:50 AM 0
Share

@lukasz.ossowski, could you share the script ?

avatar image
lukasz.ossowski Christiaan Meihsl ♦♦ · Feb 25, 2019 at 05:24 AM 0
Share

Hi Christiaan,

have you had a chance to look at the script attached?

avatar image
Answer by lukasz.ossowski · Feb 22, 2019 at 07:00 AM

Here is the script (attached).

api-dss.zip


api-dss.zip (2.0 KiB)
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
REFINITIV
Christiaan Meihsl ♦♦ · Feb 25, 2019 at 06:50 AM 0
Share

Can you also share the instrument list ?

avatar image
lukasz.ossowski Christiaan Meihsl ♦♦ · Feb 25, 2019 at 06:54 AM 0
Share

ric-list-dss.txt

ric-list-dss.txt (691 B)
avatar image
Answer by nicolas.fonteyne · Sep 29, 2021 at 09:59 AM

I am getting the same error. Occurs every once in a while. I am pulling data via Datascope REST API. I generally make the request on a daily basis, 2AM BRT. Aprox 10 RICS. I am using python 3.7

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
REFINITIV
Answer by zoya faberov · Sep 29, 2021 at 06:16 PM

Hello @nicolas.fonteyne ,

If on your side this is once in a while, not persistent and not consistent, I would build the additional reliability into your app, and if the error is encountered, re-request.

If at some point of time you will observe the failure that is persistent, I would first investigate My Refinitiv -> Service Alerts for DSS at the time when you observe the issue, making sure there is no known service outage in progress, and if that is not the case, open a support ticket with DSS support to investigate the suspected issue.

Hope this information helps

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.

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

Wrong timestamp (LocalExchangeTime) in Intraday Summaries Extraction Request

Exception:org.apache.http.conn.HttpHostConnectException: Connection to https://hosted.datascopeapi.reuters.com refused

DSS REST API error message: «ThomsonReuters.Dss.Api.NotFoundException: ExtractedFile of id 'VjF8fDQxMjQ5NDIxNw' not found».

How to download maintenance notes file from DSS

Price History Request

  • 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