Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /

For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

avatar image
Question by didier.nadeau · Mar 09, 2020 at 10:25 PM · elektronrefinitiv-realtimeelektron-sdkerrorc

How should RSSL_SC_NO_RESOURCES errors be handled

Hi,

We got three errors using the Elektron Transport API :

1. [RSSL_STREAM_CLOSED] [RSSL_DATA_SUSPECT] [RSSL_SC_NO_RESOURCES] [Request for blocked delayed RIC is not allowed.Unable to create MQOSStreamItem stream.

2. [RSSL_STREAM_CLOSED] [RSSL_DATA_SUSPECT] [RSSL_SC_NO_RESOURCES] [Cache list capacity reached.]

3. [RSSL_STREAM_CLOSED] [RSSL_DATA_SUSPECT] [RSSL_SC_NO_RESOURCES] [F27: Server is pending shutdown. Please retry.Unable to create MQOSStreamItem stream.]


From the Elektron C Developper guide Appendix A, an application should try to recover when it gets RSSL_STREAM_CLOSED together with RSSL_DATA_SUSPECT. However, I am not sure if that's the proper response in all cases (especially case 1).


Can you confirm what the application should do ? Thank you,

Didier

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.

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by zoya faberov · Mar 10, 2020 at 03:58 PM

Hello @didier.nadeau,

I would not approach the application's actions in this situation as "should".

Rather, application "can attempt" to recover, and in these cases it is preferable, if there is such option, to try to recover with another service, on another server, as this infra endpoint does not appear to be in a healthy state, at the moment.

I would attempt another, upon receipt, if available, or wait for some amount of time, configurable, and then try to recover the same, if it is the only available.

Any condition that can be causing the disruption is expected to clear, the question is time.

I would also, if the infrastructure is hosted, or cloud-based, confirm with service alerts on my.refinitiv.com if there is any maintenance or outage in pogress. If the infra is deployed, maintained by your organization's market data team, I would try to contact local market data admin/group for more info.

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 didier.nadeau · Mar 10, 2020 at 05:50 PM

Thanks for your reply @zoya.farberov.

However I'm still unsure how to handle this. It seems error 1 (Request for blocked delayed RIC is not allowed.Unable to create MQOSStreamItem stream.) means the requested ric is invalid, while error 2 (F27: Server is pending shutdown. Please retry.Unable to create MQOSStreamItem stream.) implies an issue on Refinitiv's side.

Therefore I would expect the application could resent the request in case 2 to get data, but it shouldn't in case 1 as the requested ric is invalid. Is this expectation correct ? If so, how can I handle this programatically using the error codes (not parsing the error message string) ?

Thanks

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 · Mar 10, 2020 at 08:59 PM

Hello @didier.nadeau,

Have you observed all these errors close within each other in time, most likely part of the same failure, or at separate times?

The first status looks different from invalid RIC, which is "The record could not be found", one can test this by requesting an invalid RIC. It appears to be one of the RICs blocked for either requesting user or a group of users that includes the requesting user, at the infra level.

These are not commonly encountered statuses, however they have resulted in stream being closed, there must be an underlying cause that may be very brief, or may take time to resolve, which is why I would wait before trying again, as a strategy, for all 3.

The underlying issue should eventually clear on the infra level and the consumer should be able to re-request. However, I would not re-attempt immediately, for that reason.

Would like to offer more info, so you can make up your own best strategy.

F-numbered errors originate with infrastructure directly, Advanced Data Hub (ADH). ADH Installation Guide on my.refinitiv contains the descriptions for many of them, however, not all, as different versions of the infra may introduce specific letter+number errors.

All 3 statuses look to me (am a developer, and an engineer may have a deeper insight into this) to have originated with ADH, the first being blocked item (can be expected, will not be allowed to be opened as long as it is blocked), second being ADH cache at capacity (looking to pre-empt a currently open, depending on the mechanism, usually current item will be pre-empted) and only the last F27, qualifies as error, server will refuse requests if it's in the process of a shutdown.

I hope this info is useful, and will enable you to make the best decisions, based also on your requirements.

Comment
didier.nadeau

People who like this

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

Related Questions

Error file User_List.txt

Connection down reconnecting

Yield Curve Request not having any supported servers

Elektron-SDK-1.2.1 : CMake Error at CMake/setBinaryEnvironment.cmake:208 (string): string no output variable specified

What is the rule you create guid for news in MRN in Elektron?

  • 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
  • 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
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges