Elektron Message API - Consumer Tutorial - Posting data to TR Contribution Channel
I'm currently trying to develop an app for Contributed Channels. As a start I use 'Elektron Message API - Consumer Tutorial - Posting data to TR Contribution Channel' from https://developers.thomsonreuters.com/elektron/elektron-sdk-cc/downloads to test out connectivity.
In EmaConfig.xml I have Host as chp02-emea1.thomsonreuters.com and Port as 443.
In the program I use OmmConsumer consumer(OmmConsumerConfig().username(Account Number).position(Machine ID1)); The bold parameters is the one from CONTRIBUTIONS CHANNEL ORDER DETAILS
But it only return: Exception Type='OmmInvalidUsageException', Text='login failed (timed out after waiting 45000 milliseconds) for chp02-emea1.thomsonreuters.com:443)'
I have tried the B-side: chp02-emea2.thomsonreuters.com but with the same result.
Could you please tell help me figure out what I'm doing wrong as I assume that the host is running as it should and the error is about something else
Best Answer
-
Jens,
Please can you use the following addresses for a windows client;
chpw02-emea1.thomsonreuters.com
chpw02-emea2.thomsonreuters.com
0
Answers
-
Hi @jens, I tried the contributions sample from downloads section, connecting to chp02-eap-emea1.thomsonreuters.com:443, with my credentials and was able to successfully login and contribute.
Can you please recheck your credentials and the contributed item name.
AppClient::OnRefreshMsg :: RefreshMsg
streamId="1"
domain="Login Domain"
Solicited
RefreshComplete
ClearCache
state="Open / Ok / None / 'Refresh Completed'"
itemGroup=""
name="****"
nameType="1"
Attrib dataType="ElementList"
ElementList
ElementEntry name="SingleOpen" dataType="UInt" value="1"
ElementEntry name="AllowSuspectData" dataType="UInt" value="1"
ElementEntry name="ProvidePermissionExpressions" dataType="UInt" value="1"
ElementEntry name="ProvidePermissionProfile" dataType="UInt" value="1"
ElementEntry name="SupportBatchRequests" dataType="UInt" value="1"
ElementEntry name="SupportOptimizedPauseResume" dataType="UInt" value="0"
ElementEntry name="SupportOMMPost" dataType="UInt" value="1"
ElementEntry name="SupportEnhancedSymbolList" dataType="UInt" value="1"
ElementEntry name="SupportViewRequests" dataType="UInt" value="0"
ElementEntry name="ApplicationId" dataType="Ascii" value="256"
ElementEntry name="ApplicationName" dataType="Ascii" value="ema"
ElementEntry name="Position" dataType="Ascii" value="10.116.81.181/net"
ElementListEnd
AttribEnd
RefreshMsgEnd
AppClient::OnStatusMsg :: StatusMsg
streamId="5"
domain="System Domain"
PrivateStream
ClearCache
state="Open / Ok / None / ''"
name="****"
serviceId="10"
serviceName="****"
StatusMsgEndAre you trying this sample from Linux machine?
0 -
I'm using a windows machine.
It never gets to consumer.registerClient, so AppClient is not register yet. It except with the mention exception on OmmConsumer consumer(OmmConsumerConfig()....
So it either something with the connection or the login. From Reuters I got:
YOUR CONTRIBUTIONS CHANNEL ORDER DETAILS
Account Number:xx
Machine ID1:yy
Password:zzI quessed where to place it:
OmmConsumer consumer(OmmConsumerConfig().username(xx).position(yy));
0 -
Password I send though (linux):
./dacsObfuscateLogin -e zz
And the result I put into elmList.addAscii("Password", "qqqqq").complete(); in onStatusMsg it never get to this point as stated above the AppClient is never register.
0 -
-
I'm a bit confused. Does "Elektron SDK - C/C++ - 1.1.1 - Windows" not run on windows platform? There is a complete library for ETA and EMA for windows.
I know dacsObfuscateLogin dosn't work on windows, why I used linux to get the password encode. But should contribution to TRCC not work from windows using "Elektron SDK - C/C++ - 1.1.1 - Windows"?
Ok I see now the sample is for Linux, but does that mean that TRCC can only be used from Linux?
0 -
Thanks @Dominic.Allison
That worked
0 -
We will provide a windows version of the sample application and obfuscation tool shortly
0 -
Could you help me with the correct setting for this call:
OmmConsumer consumer(OmmConsumerConfig().username(xx).position(yy));
When I got this from:
YOUR CONTRIBUTIONS CHANNEL ORDER DETAILS
Account Number:xx
Machine ID1:yy
Password:zz0 -
As far as I understand EMA Tunnel Stream on Windows and Linux using difference library for connecting to the TRCC server. Hence EMA requires specific version of server which support the library used by EMA on windows. At the time we create the example, it does not have windows version of TRCC server available. I think there is the reason that you have to use difference server for windows client.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 614 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 248 ETA
- 554 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 641 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 89 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛