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 /
  • EMA /
avatar image
REFINITIV
Question by Bruno.Leal · Mar 24, 2021 at 03:46 PM · elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-apic++rcc-api

Exception in Access/Impl/Thread.cpp - RCC (Refinitiv Contribution Channel) EMA C++

Hi Community

I am working on an automation that is able to contribute daily a considerable amount of RICs, we talking about more than 11.000 RICs with 6 fields each one.

Taking as a basis this sample, I was able to build and contribute data to a small number of RICs. However when I try to run it using whole range of RICs that I have, I get an EMA Exception Handler error in the middle of execution.

As you may see bellow, onAckMsg function is returning proper response.


After that, I get bellow Exception.


How can I fix it? or how could I investigate this expection?



1616598338088.png (15.3 KiB)
1616600631701.png (18.3 KiB)

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 umer.nalla · Mar 26, 2021 at 09:11 AM

Hi @Bruno.Leal

If you are able to recreate this issue reasonably often, I would recommend you try the latest version of the Real-Time SDK. If you are already using the latest version or the issue continues to occur once you upgrade, then my recommendation would be for your contact Developer Support so they can help you diagnose this issue offline in more detail.

Refinitiv Real-Time C++ SDK | Refinitiv Developers



1616749819134.png (66.5 KiB)
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 umer.nalla · Mar 25, 2021 at 12:23 PM

Hi @Bruno.Leal

Are you performing any pacing of the Posts to the RCC / are they spread out over a time period or are you sending PostMsgs for all 11,000 RICs in one single tight loop etc?

Also, please see the following posts related to another scenario when someone published data quicker than RCC could process - causing Tunnel buffer exhaustion.

Failed to allocate RsslTunnelBuffer with EMA C++ post message - Forum | Refinitiv Developer Community

EMA TRCC OmmMemoryExhaustionException - Forum | Refinitiv Developer Community

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
Bruno.Leal · Mar 25, 2021 at 04:40 PM 0
Share

I'm performing those posts in batch less than 500 RICs by loop. And the next lot is only called when we receive all AckMsg from previously sent batch. Other care I took it was adding a sleep function of 5 seconds among each loop, even so I am still getting that Exception.

The weird part is not always that Exception happens and I'm not able to figure out the root cause.

avatar image
REFINITIV
Answer by umer.nalla · Mar 25, 2021 at 12:26 PM

Hi @Bruno.Leal

Also, please refer to the section of the tutorial which talks about the Maximum message rate and the RCE:MaxMessagesPerSecond - are you observing this limit?



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
Bruno.Leal · Mar 25, 2021 at 04:44 PM 0
Share

Yes, I am! For me it's appearing 1,000 RICs per second.

1616690598551.png (15.4 KiB)

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

Related Questions

EMA Consumer - Posting data to Contribution Channel - [Example] CMakeLists.txt file missing

Contribute more than a RIC via EMA C++ (RCC)

The relationship between consumer channels and consumer events

Elektron Message API - Consumer Tutorial - Posting data to TR Contribution Channel

DACS User Profile denied access to vendor

  • 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