For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
89 13 20 23

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 D:\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 D:\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 D:\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 D:\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 D:\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 D:\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 D:\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 D:\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 D:\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 D:\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 D:\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'

emaconfigxml.txt

  1. Windows 10 on your computer
  2. CiscoAnyConnect - works
  3. OpenSSL 64-bit - installed
  4. EMAconfig - the file has not been changed
  5. Example code taken from API (Real-Time-SDK-2.0.3.L2.win)
  6. RTMD service

Can you tell me what the problem could be?

refinitiv-realtime-sdkrefinitiv-real-time
emaconfigxml.txt (30.8 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvote
Accepted
25.3k 87 12 25

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;
}


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
25.3k 87 12 25

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.



icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

umer.nalla please tell me how to write a piece of code correctly.

Upvotes
25.3k 87 12 25

Hi @s61670

Can you please confirm if the above helped- if not I can try an escalate internally with the RTMDS team?

Thanks

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
89 13 20 23

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)

001.png

002.png

  1. Windows 10 on your computer
  2. CiscoAnyConnect - works
  3. OpenSSL 64-bit - installed
  4. EMAconfig - the file has not been changed
  5. Example code taken from API (Real-Time-SDK-2.0.3.L2.win)
  6. RTMD service

We don't understand how to run examples on Windows 10


001.png (57.5 KiB)
002.png (57.4 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
25.3k 87 12 25

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

// 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

Upvotes
89 13 20 23

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
25.3k 87 12 25

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

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.