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 /
avatar image
Question by RicknBaker · Jan 24, 2018 at 02:36 PM · streamgenericmsg

Received GenericMsg on not established stream

Hi all. I'm building an OMM provider / consumer pair that swap generic messages based on samples StarterProvider_genericMsg and StarterConsumer_genericmsg. I'm converting the samples to use ValueAdd. My consumer works - It connects to the sample StarterProvider and the two happily swap messages all day long. The problem is with my ValueAdd provider: When I bring it up and connect my consumer, I get the following error:

CmdID : 5

Has SubmitClosure : False

Status : StatusText : OMMProvider::submit(...) received GenericMsg on not established stream. StatusTextW :

State : Failure

StatusCode : NoResources

So can anyone tell me what I'm not doing in my provider? How do I establish the stream at the provider?

Thanks

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.

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by moragodkrit.chumsri_1 · Jan 25, 2018 at 12:28 AM

@RicknBaker

I assume that you are using RFA C++ or .NET. From the status text ,it looks like the provider submit message to stream which already closed. Please make sure that provider application properly manage client session and passing valid reqeust token when submit the message.

-Do you have any console output log from both Provider and Consumer side?

Since you have craeted a new Provider application based on our example, you may compare the codes and steps with original example.

Also you may turn on RSSL Tracing log on both Provider and Consumer side. It could help verify stream and message between Provider and Consumer. To turn on RSSL tracing log, please add the following config to Provider and Consumer connection

\Connections\<Connection_RSSL>\traceMsg = false
\Connections\<Connection_RSSL>\traceMsgToFile = true
\Connections\<Connection_RSSL>\tracePing = true
\Connections\<Connection_RSSL>\traceMsgFileName   = "<RSSL Consumer/Provider Trace file name>"
\Connections\<Connection_RSSL>\traceMsgDomains = "all"
\Connections\<Connection_RSSL>\traceRespMsg = true
\Connections\<Connection_RSSL>\traceReqMsg = true
\Connections\<Connection_RSSL>\traceMsgHex = false 
\Connections\<Connection_RSSL>\traceMsgMaxMsgSize = 200000000
\Connections\<Connection_RSSL>\traceMsgMultipleFiles = true

<Connection_RSSL> is the name of Provider or Consumer connection in RFA configuration file. RFA will generate xml file name from traceMsgFileName for example RSSLConsumerTrace_<pid>.xml.

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 RicknBaker · Jan 30, 2018 at 04:50 AM

I got this working. I hadn't set up the event stream with a request / response pair first.

That logging technique is very handy though, 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.

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

RFA.NET - ADS Sending Close Message

  • 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