I am testing logging in to Refinitiv Contibutions Channel using test credentials and getting Error 1
I am new to using Electron SDK EMA C++ API. We have been using RFA C++ Market Data Interface. I am using a test program based on example from :
I am testing logging in to Refinitiv Contibutions Channel using test credentials and getting Error 1002 client connect() failed. Where do I start to look?
Best Answer
-
Hi Moragodkrit,
Dictionary_1 was set to ChannelDictionary. I switched to Dictionary_3 which was set to FileDictionary and am passed this error.
I am now getting
I believe this is from (in the sample program) :
TunnelStreamRequest tsr;
tsr.classOfService(cos).domainType(MMT_SYSTEM).name("Seikan")
.serviceName("DDS_TRCC");
I have also tried "rmds" and "DIRECTFEED", which I have seen in another sample program.
Thanks again.
0
Answers
-
-Are you testing the TRCC sample on Windows or Linux?
-Have you modified the codes to use correct user/account and modified Channel information from the below section in EMAConfig.XML to use the right server provided by the Account team?
<ChannelGroup>
<ChannelList>
<Channel>
<Name value="Channel_1"/>
<ChannelType value="ChannelType::RSSL_ENCRYPTED"/>
<Host value="<TRCC_SERVER_HOST_NAME>"/>
<Port value="443"/>
...
...
</Channel>
</ChannelList>
</ChannelGroup>
If you still found the issue please set the logger level in EMAConfig.xml to verbose and run the test again so I can review the details from the log. You can change logger to log the message to file and set it to verbose like below config from EMAConfig.xml
<Logger>
<Namevalue="Logger_1"/>
<LoggerTypevalue="LoggerType::File"/>
<LoggerSeverityvalue="LoggerSeverity::Verbose"/>
</Logger>
0 -
Hi Moragodkrit,
Thanks for your help. I am using Linux.
I think I am connecting now, but now I am getting 'dictionary retrieval failed'.
Here are parts of a verbose log. Thanks.
0 -
More info, if needed.
0 -
Did you copy RDMFieldDictionary and enumtype.def from ESDK_InstallPath/Cpp-C/etc to the running directory?
Default config for Dictionary_1 load dictionary from the file.0 -
Can you change the codes to "DDS_TRCE"?
As far as I understand we already changed the service from the source files to DDS_TRCE.0 -
Hi Moragodkrit,
Thanks. That was it.
We are now up to the point where we can post, which is our main purpose. One more question at this time, if you don't mind.
We are replacing our application which sends updates via MLIPs to using 'post' to TRCC. The sample program uses
.addReal(22,<long>,OmmReal::ExonentNeg2Enum) to update a bid price
Can we use :
.addAscii(22,<string>) ; we receive the data as a string
Thanks.
0 -
As far as I understand, the type of data you need to encode has to match with the type from the data dictionary, and in this case, it must be Real. The TRCC server should get the value and then verify the data using the Real type based on the data dictionary, and it may send Nack code back when you post fid 22 using Ascii.
Please post a new question for the additional query regarding the TRCC usage.0
Categories
- All Categories
- 6 AHS
- 39 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
- 370 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
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛