OmmInvalidHandleExceptionImpl invalid handle exception
SEVERE: [{"incidentClass":"Uncaught OmmInvalidHandleExceptionImpl in DataPublisher","details":{"pool":"Publisher ","reporter:ClassInfo":{"simpleName":"N6ThreadFactory","module":{"image":"\/server\/images\/server.png","name":"Server"},"name":"com.markit.n6platform.server.system.threads.internal.thread.N6ThreadFactory"}},"stackTrace":"Exception Type='OmmInvalidHandleException', Text='loggerMsg\n ClientName: ItemCallbackClient\n Severity: Error\n Text: Attempt to use invalid Handle on submit(PostMsg). Instance name='Consumer_1_1'.\nloggerMsgEnd\n\n', Handle='2'\r\n\tat com.refinitiv.ema.access.OmmBaseImpl.ommIHExcept(OmmBaseImpl.java:1610)\r\n\tat com.refinitiv.ema.access.OmmConsumerImpl.handleInvalidHandle(OmmConsumerImpl.java:516)\r\n\tat com.refinitiv.ema.access.ItemCallbackClient.submit(ItemCallbackClient.java:2380)\r\n\tat com.refinitiv.ema.access.OmmBaseImpl.submit(OmmBaseImpl.java:552)\r\n\tat com.refinitiv.ema.access.OmmConsumerImpl.submit(OmmConsumerImpl.java:177)\r\n\tat com.ihsmarkit.n6platform.mlip.publishing.internal.RefinitivClient.postMessage(RefinitivClient.java:135)\r\n\tat com.ihsmarkit.n6platform.mlip.publishing.internal.PublisherTask.run(PublisherTask.java:49)\r\n\tat java.base\/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\r\n\tat java.base\/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\r\n\tat java.base\/java.lang.Thread.run(Thread.java:829)\r\n"}]
Exception Type='OmmInvalidHandleException', Text='loggerMsg
ClientName: ItemCallbackClient
Severity: Error
Text: Attempt to use invalid Handle on submit(PostMsg). Instance name='Consumer_1_1'.
loggerMsgEnd
', Handle='2'
at com.refinitiv.ema.access.OmmBaseImpl.ommIHExcept(OmmBaseImpl.java:1610)
at com.refinitiv.ema.access.OmmConsumerImpl.handleInvalidHandle(OmmConsumerImpl.java:516)
at com.refinitiv.ema.access.ItemCallbackClient.submit(ItemCallbackClient.java:2380)
at com.refinitiv.ema.access.OmmBaseImpl.submit(OmmBaseImpl.java:552)
at com.refinitiv.ema.access.OmmConsumerImpl.submit(OmmConsumerImpl.java:177)
Best Answer
-
Looking at the above output, I see the Error 'Attempt to use invalid Handle on submit(PostMsg).
This would suggest that the application is trying to submit a Post using a handle for a stream that has been closed off.
Are there any other status messages etc to indicate the connection was lost?
Also, as recommended in the tutorial, are you establishing 'two simultaneous connections, to two different servers' - so that you can handle any connectivity issues and switch to the other connection with minimal interruption?
I am assuming this was a one-off? If so can you post the date&time of occurrence so I can check with the RCC team if there were any know issues around that time?
1
Answers
-
Does it go down after a certain time of inactivity like no publishing for 5 mins? Should I send a heartbeat after a certain interval to keep it alive? Or it is just a intermittent lost connectivity issue?0
-
Hello @badal.vishal
Basically, the API automatically sends a heartbeat message between itself and the server.
How often the issue occurs? Are there any disconnection logs when the problem occurs?
Beside the information requested by my colleague, if you can replicate the issue on demand, you may enable the RSSL log and share the file in this post (please remove your credentials).
Please see the "EMA Java Logging" section of the Enterprise Message API (EMA) - Configuration Overview article about how to enable the EMA Log.
0 -
I have monitored that this error recovers itself.
0 -
Out of 8203 agreed RICs that we publish data on –
- Many of them are “Denied by source” which looks like is that these RICs are disabled at your side
- Publishing to many other RICs sends the Ack message with “Symbol unknown”
- For some of the publishing, we receive “No Response” timeout or “csg failed to respond” in Ack message.
Can you please check and confirm these messages?
Please note that we can’t track all RICs with one of these nack codes as Ack message has no RIC in response.
Also, I don’t know if this is the right platform to ask but when we publish in high volume, we see issue in getting Ack message for each publishing.
Can we rely on Ack message to check the successful publishing? Please guide on this as well.
0 -
Hello @badal.vishal
The "Denied by source" and "Symbol unknown" issues are permission issues. I suggest you contact your Refinitiv representative to help you verify your permission and the RIC names that allow you to contribute.
Regarding the 3rd issue, do you connect to RCC via TRDS (ADS-ADH) or a direct connection?
I suggest you contact the RCC support team to help verify the issue. You can submit a ticket to the RCC support team via my.refinitiv.com website and select the "Refinitiv Contribution Channel" product name.
0 -
It is a direct connection, what I gather from different sources and this forum is - whatever postId I send, comes back as AckId for that RIC publishing. Am I right in this approach?
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 中文论坛