login failed RTMD

I can't connect, I get an error.

Support service (open ticker) does not have programming skills.

Virtually one-on-one with the problem.

Please help with the situation

AppClient client;
    OmmConsumerConfig config("Path_To_EmaConfig.xml");
    OmmConsumer consumer(
        config.
        host("14*.***.***.*:14002").
        username("EM1_****_*******").
consumerName("Consumer_4"));
    consumer.registerClient(
        ReqMsg().
        serviceName("hEDD").
        name("IBM.N"), client);

image-2021-11-25t16-06-47-281z-error.png

Using the iPeff3 program, we checked port 14002

C:\Users\Administrator>cd C:\Users\Administrator\Desktop\iperf-3.1.3-win64
C:\Users\Administrator\Desktop\iperf-3.1.3-win64>iperf3 -c 14*.***.***.* -R -i 1 -V -p 14002 -P 10 -b 1.2M
iperf 3.1.3
CYGWIN_NT-10.0 New_Jersey 2.5.1(0.297/5/3) 2016-04-21 22:14 x86_64
iperf3: error - control socket has closed unexpectedly
C:\Users\Administrator\Desktop\iperf-3.1.3-win64>iperf3 -c 1**.***.***.* -R -i 1 -V -p 14002 -P 10 -b 1.2M
iperf 3.1.3
CYGWIN_NT-10.0 New_Jersey 2.5.1(0.297/5/3) 2016-04-21 22:14 x86_64
iperf3: error - control socket has closed unexpectedly

port 24002 is open and there is data.

In the text file attached.

ip test port 24002.txt


Answers

  • Hello @s61670

    Could you please confirm what the RSSL port that you were given is?

  • RSSL port 14002

  • Hello @s61670

    Could you please test with the EMA C++ Market Price example (such as Con100 or Con200)?

    Is there any firewall or corporate network proxy that blocks the RSSL port number 14002?



  • 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'
  • 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);

    code that was used. The error above the message.

  • port 14002 is open.

  • openSSL 64-bit - works

  • Any assistance will be greatly appreciated.

  • Hello @s61670

    I have tried the given code with the EMA C++ Con100 example and the default EmaConfig.xml file on Visual Studio 2017 (Windows 10).

    AppClient client;
    OmmConsumerConfig config("C:\\cmake_vs2017\\Cpp-C\\Ema\\EmaConfig.xml");
    OmmConsumer consumer(
        config.
        host("<my RTDS IP>:14002").
        username("USERNAME").
        consumerName("Consumer_4"));
    consumer.registerClient(
        ReqMsg().
        serviceName("ELEKTRON_DD").
        name("EUR="), client);

    The code works fine with a valid RTDS (ADS) IP and port

    When I tested with an invalid IP address, it shows "Error: 1002 ipcConnecting() client connect() failed. System errno: (10057)" error message, not the "Error: 1002 Unable to find the table entry for the current connection" error message as you.

    Please let us know why you set the consumerName("Consumer_4") in the OmmConsumer creation code?

    Please also share your EmaConfig.xml file (please remove any credentials/secrets data before posting).

    Did you run the application behind any VPN?

  • wasin.w - Thank you for your participation in the problem.

    Tried changing serviceName("hEDD") to serviceName("ELEKTRON_DD")

    Error: Error: 1002 Unable to find the table entry for the current connection

    As far as we understand, the error occurs here: <D:\Jenkins\workspace\ESDKCore_RCDEV\OS\VS142-64\rcdev\source\rtsdk\Cpp-C\Eta\Impl\Transport\rsslSocketTransportImpl.c:6865>

    Where do I get this table?

    We did not change the EmaConfig.xml file, by default.

    EmaConfig.xml.txt

    added a .txt extension so you can load it into a message.

    CiscoAnyConnect Security Mobility Client - works, in the test examples.

  • CiscoAnyConnect Security Mobility Client - works, in the test examples


  • Please let us know why you set the consumerName("Consumer_4") in the OmmConsumer creation code? 

    As written in the example, that's what we did.

  • Hi @s61670

    You cannot use the service name "ELEKTRON_DD" because it is my internal real-time service.

    Could you please clarify the "works, in the test examples." message? Do you mean the EMA C++ example works fine and can connect to the RTMD successfully, but your application cannot connect?

  • We can't connect at all.

    Error: "Error: 1002 Unable to find the table entry for the current connection"

    We used an example from Real-Time-SDK-2.0.3.L2.win, we didn't change anything. We didn't change the contents of EMAConfig