Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP APIs /
  • RFA /
avatar image
Question by iain.cadman · Jun 20, 2017 at 05:39 AM · rfa c++

PubErrorEvent: Failed to publish the market data event to SAPI

Using RFA 7.6 C++ on Linux, I get PubErrorEvent with State: None and StatusText "Failed to publish the market data event to SAPI".

This is happening on a live system and I do not see this in test.

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 veerapath.rungruengrayubkul · Jun 20, 2017 at 11:51 PM

@iain.cadman

The SAPI is the underlying layer in RFA that handles network connection (SSLED_MP connection) between the RFA MarketDataManagedPublisher and its clients. The PubErrEvent could be generated once SAPI could not write the message to the network with a specific reason.

Below are some possible scenarios.

- Image is published with status other than “Ok” or “Stale”

SAPI allows only two types of status for image: Ok or Stale status. Other statuses, for example, “NoChanged” status means the state is the same as before which makes sense in term of an update but not an image.

- There is not enough buffer for SAPI to send message to network

RFA provide configuration parameter “outputBuffers” to tune this output buffer. For more detail, see RFA Configuration Guide provided in RFA package.

You may try following parameter to isolate the issue.

\Connections\Connection_SSLED_MP\outputBuffers = 100000000  

If the scenarios listed above do not occur in your applicaiton, please provide further information such as reproduction steps, published messages.

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 · Jun 20, 2017 at 05:54 AM

Hi @iain.cadman

If it is happening consistently on live system and you cannot recreate in test environment, then my immediate thought would be that there is some difference in the TREP config between your test and live environment. Or a difference in versions of TREP components between test and live?

Can you provide a few more details on what you are trying to do, publisher type, connection type? Can you recreate using one of our example apps?

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 iain.cadman · Jun 21, 2017 at 03:37 AM

Thanks for the response. I am seeing this on a customer site, so there will likely be a difference in components and configuration.

These messages only occur when the contributor program is being loaded tested. The publicationID on the error event is a long way behind that reported for a publish done around the same time.

I will increase the buffers as suggested and see if this has an effect. I suspect, though, that increasing the buffers will only delay the problem.

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
veerapath.rungruengrayubkul ♦♦ · Jun 21, 2017 at 05:24 AM 0
Share

@iain.cadman

Yes, increasing the buffers will only delay the problem. If the parameter has an effect, the issue needs to be investigated further as there might be bottlenect on transport layer.

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

Related Questions

The RFA C++ application didn't reconnect to the server

Having the warning message RequestToken not found in a OMM provider

is ClearCacheFlag Set only in first part of multi-part refresh?

Login attributes do NOT match between error message

How to pass multiple item names in rfs

  • 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