EMA Java - Open / Suspect / None / 'Request timeout'
When trying to connect to our local instance of TREP, we continuously receive these 'Request timeout' messages.
We see in TREP that the connection is established, and the serviceName and ticker that we use are correct, but it does not seem to result in any messages.
If we try to use the ChannelDictionary we receive the same timeouts on that request, and with a FileDictionary we get the timeouts as Status messages from trying to connect to a ticker. The message looks like:
StatusMsg
streamId="5"
domain="MarketPrice Domain"
state="Open / Suspect / None / 'Request timeout'"
name="TICKER"
serviceId="10"
serviceName="BBG"
StatusMsgEnd
I have changed the ticker name here, but are certainly using a valid one when we are testing.
Does anyone have a clue what we could be missing that causes these 'Request timeout's?
Thanks in advance
Best Answer
-
It seems that the request has been timed out according to the configuration.
After sending an item request, if the provider doesn't provide any response back within 15 seconds (default value), EMA will re-request and notify the application with this status message.
StatusMsg
streamId="5"
domain="MarketPrice Domain"
state="Open / Suspect / None / 'Request timeout'"
name="IBMxx.N"
serviceId="1"
serviceName="DIRECT_FEED"
StatusMsgEndThis could be the problem in TREP or data feed. You can verify this by enable XML tracing in EMA by using the following configuration (XmlTraceToStdout).
<ConsumerList>
<Consumer>
<Name value="Consumer_1"/>
<Channel value="Channel_1"/>
<Dictionary value="Dictionary_1"/>
<XmlTraceToStdout value="1"/>
</Consumer>
...From the XML trace, you will see that the request has been sent but there is no response back from TREP or data feed.
<REQUEST domainType="MARKET_PRICE" streamId="7" containerType="NO_DATA" flags="0x46 (HAS_PRIORITY|STREAMING|HAS_QOS)" Qos: Realtime/TickByTick/Static - timeInfo: 0 - rateInfo: 0 priorityClass="1" priorityCount="1" dataSize="0">
<key flags="0x03 (HAS_SERVICE_ID|HAS_NAME)" serviceId="1" name="IBMxx.N"/>
<dataBody>
</dataBody>
</REQUEST>Then, EMA will close the request and send a new request for the same item.
<!-- Outgoing Reactor message -->
<!-- java.nio.channels.SocketChannel[connected local=/127.0.0.1:5005 remote=/127.0.0.1:14002] -->
<!-- Wed Dec 13 10:20:46 ICT 2017 -->
<!-- rwfMajorVer="14" rwfMinorVer="1" -->
<CLOSE domainType="MARKET_PRICE" streamId="7" containerType="NO_DATA" flags="0x00" dataSize="0">
<dataBody>
</dataBody>
</CLOSE>
StatusMsg
streamId="5"
domain="MarketPrice Domain"
state="Open / Suspect / None / 'Request timeout'"
name="IBMxx.N"
serviceId="1"
serviceName="DIRECT_FEED"
StatusMsgEnd
<!-- Outgoing Reactor message -->
<!-- java.nio.channels.SocketChannel[connected local=/127.0.0.1:5005 remote=/127.0.0.1:14002] -->
<!-- Wed Dec 13 10:20:46 ICT 2017 -->
<!-- rwfMajorVer="14" rwfMinorVer="1" -->
<REQUEST domainType="MARKET_PRICE" streamId="8" containerType="NO_DATA" flags="0x46 (HAS_PRIORITY|STREAMING|HAS_QOS)" Qos: Realtime/TickByTick/Static - timeInfo: 0 - rateInfo: 0 priorityClass="1" priorityCount="1" dataSize="0">
<key flags="0x03 (HAS_SERVICE_ID|HAS_NAME)" serviceId="1" name="IBMxx.N"/>
<dataBody>
</dataBody>
</REQUEST>If you see this same behavior in the XML tracing, please contact your TREP administrator to verify the problem.
1
Answers
-
Thanks you for the thorough response!
It is exactly as you describe, we get the same messages in our debug logging as you posted in your answer.
As a follow-up question, do you know if we need to change anything in our TREP installation to 'enable' the EMA? Our TREP administrators mentioned that so far only the RFA has been used to access data, and we are the first to try the EMA.
0 -
Hi, I am facing same issue as well, while need your advice if need to check on TREP server?
When setting is below, encountered the issue.
While enable xmlTrace via below setting, the issue is gone.
We subscribe about 20k stocks in batch mode (each batch set the max length is 21k characters).
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 中文论坛