OMM Consumer - Do I need to unregister all registered clients to logout?
From what I read in this forum, unregistering the login client should be enough to logout and close the open connection with TREP but somehow every now and then I get the following error message:
<- Received MMT_LOGIN - Login Denied streamState : Closed dataState : Suspect statusCode : Unknown status code (31) statusText : Access Denied-already using position <ip>
I've already made sure no other app or process is using the same service account I'm using and I've also made sure the cleanup of the process is always performed.
The only thing I can think of is that I'm missing to unregister the clients that I've created to request for the item's data. Do I need to unregister every client I've ever registered???
Thanks in advance!
Best Answer
-
There is no need to close other streams after closing the login handle.
If this method is used, individual closes for the corresponding event streams are not required.
// Logout
pOMMConsumer->unregisterClient( pLoginHandle );You may try to enable tracing in the API. If you see the following trace at the end of file, it means the login close has been sent to the server and the problem may be on the server side.
<closeMsg domainType="RSSL_DMT_LOGIN" streamId="1" containerType="RSSL_DT_NO_DATA" flags="0x0" dataSize="0">
<dataBody>
</dataBody>
</closeMsg>To verify the problem on the server side, please submit a case to ADS support team via Contact Us.
1
Answers
-
I only find
pOMMConsumer->unregister( pLoginHandle );
there is no
pOMMConsumer->unregisterClient( pLoginHandle );
0 -
Hi @xlil997 ,
Where are you looking?
Are you looking at RFA 8 C++?
In OMMConsumer.h header of 8.0 and 7.6 I see defined:
virtual void unregisterClient( rfa::common::Handle* pClientHandle...
Hope this helps.
0 -
Hello @xlil997,
Once a question has an answer that is accepted as correct, it's much better to create a new independent question, to give it visibility. Optionally, point to the past question, adding a link.
Often, a follow-up answer on a post-discussion question is not immediately visible and is overlooked by the community. This is what we try to avoid.
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛