Error: 1002 Unable to find the table entry for the current connection
When trying to get real-time, an error occurs.
AppClient client;
OmmConsumerConfig config("Path_To_EmaConfig.xml");
OmmConsumer consumer(
config.
host("1**.***.***.*:14002").
username("EM1_****_*******").
consumerName("Consumer_4"));
consumer.registerClient(
ReqMsg().
serviceName("hEDD").
name("EUR="), client);
loggerMsg
TimeStamp: 19:11:16.271
ClientName: ChannelCallbackClient
Severity: Warning
Text: Received ChannelDownReconnecting event on channel Channel_4
Instance Name Consumer_4_1
RsslReactor 0x000001CD55AEAEA0
RsslChannel 0x000001CD55AEAEA0
Error Id -1
Internal sysError 0
Error Location \Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Reactor\rsslReactorWorker.c:1241
Error Text <D:\Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Transport\rsslSocketTransportImpl.c:3812> ipcGetSocketRow() Error: 1002 Unable to find the table entry for the current connection
loggerMsgEnd
loggerMsg
TimeStamp: 19:11:17.535
ClientName: ChannelCallbackClient
Severity: Warning
Text: Received ChannelDownReconnecting event on channel Channel_4
Instance Name Consumer_4_1
RsslReactor 0x000001CD55AEAEA0
RsslChannel 0x000001CD55AEAEA0
Error Id -1
Internal sysError 0
Error Location \Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Reactor\rsslReactorWorker.c:1241
Error Text <D:\Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Transport\rsslSocketTransportImpl.c:3812> ipcGetSocketRow() Error: 1002 Unable to find the table entry for the current connection
loggerMsgEnd
loggerMsg
TimeStamp: 19:11:19.787
ClientName: ChannelCallbackClient
Severity: Warning
Text: Received ChannelDownReconnecting event on channel Channel_4
Instance Name Consumer_4_1
RsslReactor 0x000001CD55AEAEA0
RsslChannel 0x000001CD55AEAEA0
Error Id -1
Internal sysError 0
Error Location \Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Reactor\rsslReactorWorker.c:1241
Error Text <D:\Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Transport\rsslSocketTransportImpl.c:3812> ipcGetSocketRow() Error: 1002 Unable to find the table entry for the current connection
loggerMsgEnd
loggerMsg
TimeStamp: 19:11:24.062
ClientName: ChannelCallbackClient
Severity: Warning
Text: Received ChannelDownReconnecting event on channel Channel_4
Instance Name Consumer_4_1
RsslReactor 0x000001CD55AEAEA0
RsslChannel 0x000001CD55AEAEA0
Error Id -1
Internal sysError 0
Error Location \Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Reactor\rsslReactorWorker.c:1241
Error Text <D:\Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Transport\rsslSocketTransportImpl.c:3812> ipcGetSocketRow() Error: 1002 Unable to find the table entry for the current connection
loggerMsgEnd
loggerMsg
TimeStamp: 19:11:29.335
ClientName: ChannelCallbackClient
Severity: Warning
Text: Received ChannelDownReconnecting event on channel Channel_4
Instance Name Consumer_4_1
RsslReactor 0x000001CD55AEAEA0
RsslChannel 0x000001CD55AEAEA0
Error Id -1
Internal sysError 0
Error Location \Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Reactor\rsslReactorWorker.c:1241
Error Text <D:\Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Transport\rsslSocketTransportImpl.c:3812> ipcGetSocketRow() Error: 1002 Unable to find the table entry for the current connection
loggerMsgEnd
loggerMsg
TimeStamp: 19:11:34.583
ClientName: ChannelCallbackClient
Severity: Warning
Text: Received ChannelDownReconnecting event on channel Channel_4
Instance Name Consumer_4_1
RsslReactor 0x000001CD55AEAEA0
RsslChannel 0x000001CD55AEAEA0
Error Id -1
Internal sysError 0
Error Location \Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Reactor\rsslReactorWorker.c:1241
Error Text <D:\Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Transport\rsslSocketTransportImpl.c:3812> ipcGetSocketRow() Error: 1002 Unable to find the table entry for the current connection
loggerMsgEnd
loggerMsg
TimeStamp: 19:11:39.845
ClientName: ChannelCallbackClient
Severity: Warning
Text: Received ChannelDownReconnecting event on channel Channel_4
Instance Name Consumer_4_1
RsslReactor 0x000001CD55AEAEA0
RsslChannel 0x000001CD55AEAEA0
Error Id -1
Internal sysError 0
Error Location \Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Reactor\rsslReactorWorker.c:1241
Error Text <D:\Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Transport\rsslSocketTransportImpl.c:3812> ipcGetSocketRow() Error: 1002 Unable to find the table entry for the current connection
loggerMsgEnd
loggerMsg
TimeStamp: 19:11:45.114
ClientName: ChannelCallbackClient
Severity: Warning
Text: Received ChannelDownReconnecting event on channel Channel_4
Instance Name Consumer_4_1
RsslReactor 0x000001CD55AEAEA0
RsslChannel 0x000001CD55AEAEA0
Error Id -1
Internal sysError 0
Error Location \Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Reactor\rsslReactorWorker.c:1241
Error Text <D:\Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Transport\rsslSocketTransportImpl.c:3812> ipcGetSocketRow() Error: 1002 Unable to find the table entry for the current connection
loggerMsgEnd
loggerMsg
TimeStamp: 19:11:50.367
ClientName: ChannelCallbackClient
Severity: Warning
Text: Received ChannelDownReconnecting event on channel Channel_4
Instance Name Consumer_4_1
RsslReactor 0x000001CD55AEAEA0
RsslChannel 0x000001CD55AEAEA0
Error Id -1
Internal sysError 0
Error Location \Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Reactor\rsslReactorWorker.c:1241
Error Text <D:\Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Transport\rsslSocketTransportImpl.c:3812> ipcGetSocketRow() Error: 1002 Unable to find the table entry for the current connection
loggerMsgEnd
loggerMsg
TimeStamp: 19:11:55.618
ClientName: ChannelCallbackClient
Severity: Warning
Text: Received ChannelDownReconnecting event on channel Channel_4
Instance Name Consumer_4_1
RsslReactor 0x000001CD55AEAEA0
RsslChannel 0x000001CD55AEAEA0
Error Id -1
Internal sysError 0
Error Location \Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Reactor\rsslReactorWorker.c:1241
Error Text <D:\Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Transport\rsslSocketTransportImpl.c:3812> ipcGetSocketRow() Error: 1002 Unable to find the table entry for the current connection
loggerMsgEnd
loggerMsg
TimeStamp: 19:12:00.873
ClientName: ChannelCallbackClient
Severity: Warning
Text: Received ChannelDownReconnecting event on channel Channel_4
Instance Name Consumer_4_1
RsslReactor 0x000001CD55AEAEA0
RsslChannel 0x000001CD55AEAEA0
Error Id -1
Internal sysError 0
Error Location \Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Reactor\rsslReactorWorker.c:1241
Error Text <D:\Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Transport\rsslSocketTransportImpl.c:3812> ipcGetSocketRow() Error: 1002 Unable to find the table entry for the current connection
loggerMsgEnd
Exception Type='OmmInvalidUsageException', Text='login failed (timed out after waiting 45000 milliseconds) for 1**.***.***.*:14002)', ErrorCode='-4052'
- Windows 10 on your computer
- CiscoAnyConnect - works
- OpenSSL 64-bit - installed
- EMAconfig - the file has not been changed
- Example code taken from API (Real-Time-SDK-2.0.3.L2.win)
- RTMD service
Can you tell me what the problem could be?
Best Answer
-
Hi @s61670
Sorry - but I don't understand your question?
Just try and replace the OmmConsumer creation code in your code snippet with the one I provided above e.g.
int main( int argc, char* argv[] )
{
try {
AppClient client;
OmmConsumer consumer( OmmConsumerConfig().host( "1**.***.***.*:14002" ).username( "EM1_****_*******" ) );
consumer.registerClient( ReqMsg().serviceName( "hEDD" ).name( "EUR=" ), client );
sleep( 60000 ); // API calls onRefreshMsg(), onUpdateMsg(), or onStatusMsg()
} catch ( const OmmException& excp ) {
cout << excp << endl;
}
return 0;
}1
Answers
-
Hi @s61670
You are using "Consumer_4" set of Config parameters - which uses Channel_4 connection parameters.
In the attached EMAConfig.xml file, Channel_4 points to a Refinitiv Optimised type Channel connection.
However, you have stated that you are using RTMDS - which is not the same as RTO.
Please replace your OmmConsumer code with something like this:
OmmConsumer consumer( OmmConsumerConfig()
.host( "1**.***.***.*:14002" )
.username( "EM1_****_*******" ));This will use the default config and just overwrite the host and username entries.
0 -
umer.nalla please tell me how to write a piece of code correctly.
0 -
Hi @s61670
Can you please confirm if the above helped- if not I can try an escalate internally with the RTMDS team?
Thanks
0 -
We were able to test on several remote Windows 2016 servers, the connection happens (didn't get the data, will ask for help with the code in other posts)
There are problems with Windows 10 - it gives errors.
On one computer this error:
Error: 1002 Unable to find the table entry for the current connection
Exception Type='OmmInvalidUsageException', Text='login failed (timed out after waiting 45000 milliseconds) for 146.242.128.1:14002)', ErrorCode='-4052'
On the other computer the same errors (screenshots attached)
- Windows 10 on your computer
- CiscoAnyConnect - works
- OpenSSL 64-bit - installed
- EMAconfig - the file has not been changed
- Example code taken from API (Real-Time-SDK-2.0.3.L2.win)
- RTMD service
We don't understand how to run examples on Windows 10
0 -
Hi @s61670
Can you please advise which example you are using?
The "Consumer_4" entry you mentioned above would suggest the wrong example i.e. 113_MP_SessionMgmt- which is designed for connecting to our RTO cloud-based service only.
You should be testing with 100_MarketPrice_Streaming as detailed in QuickStart | Refinitiv Developers
Just change the host, username and service name as I showed in my code snippet above.
0 -
// use the "Consumer_4" to select EncryptedProtocolType::RSSL_SOCKET predefined in EmaConfig.xml
EmaString consumerName = "Consumer_4";
if (connectWebSocket)
{
// use the "Consumer_5" to select EncryptedProtocolType::RSSL_WEBSOCKET predefined in EmaConfig.xml
consumerName.set("Consumer_5");
}
OmmConsumer consumer(config.consumerName(consumerName).host("1**.***.***.*:14002").username("EM1_****_*******"));//(config.consumerName(consumerName));
//OmmConsumer consumer(config.host("1**.***.***.*:14002").username("EM1_****_*******"));
consumer.registerClient(ReqMsg().serviceName("hEDD").name("/GAZPq.L"), client);//serviceName("hEDD").name(itemName), client);//serviceName("DIRECT_FEED").name(itemName), client);//serviceName("ELEKTRON_DD").name(itemName), client);
sleep(1200000); // API calls onRefreshMsg(), onUpdateMsg(), or onStatusMsg()
}
catch (const OmmException& excp) {
cout << excp << endl;
}This works on Windows 2016.
The main problem at the moment is Windows 10
0 -
We will still do an additional check on Windows 10. I will create a separate topic later, related to the problem in this version of the operating system.
0 -
Hi @s61670
As mentioned, please test with the most basic 100_MarketPrice_Streaming as detailed in QuickStart | Refinitiv Developers - and see if that connects and report back what happens.
Let us get the most basic example working before attempting other scenarios.
Do NOT set or use consumerName at all.
0 -
The situation became clearer.
Servers and desktops that are connected to the Internet via wired Internet, the application connects and receives data.
Desktop computers that are connected to the Internet via wired wi-fi, when connecting the application, errors occur.
The problem when working via wifi is exceptional.
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 中文论坛