RFA 8.2.3 and LPC 1.4.0

raymond_ndegwa
raymond_ndegwa Newcomer
edited March 13 in RFA

When using the subjected to get real-time rate feed to my treasury application, I'm getting the error below.. Kindly assist:

<lpc.snkRsslServer.14002: Debug: Wed Mar 12 19:29:59.559573 2025>
RSSL disconnect from host "" at address on channel 17.
Reason: rsslInitChannel() failed with code -1. Text: </local/jenkins/workspace/RRTLPC/OS/RH8-64/esdk/source/rtsdk/Cpp-C/Eta/Impl/Transport/rsslSocketTransportImpl.c:4863> Error: 1007 Un
known connection type.

Answers

  • Hello @raymond_ndegwa

    The error "Error: 1007 Unknown connection type." message indicates that the LPC cannot recognize incoming connection type.

    What connection type(s) were configured on the install on the LPC, does it enable the RSSL connection?

  • Hi Wasin,

    From the below, RSSL connection is enabled:

    image.png
  • Hello @raymond_ndegwa

    Thank you for the information. Could you please share the following files to let me check the issue in detail?

    • RFA configuration file
    • LPC configuration file (please remove your credential - if any from the file before posting)
    • LPC log file when the issue occurs
  • @wasin.w Kindly find attached the LPC

    logs to understand better the chronology of event.

  • Hi @wasin.w ,

    Kindly find attached. Kindly note that I have included 3 RFA config files for the services we intend to use in our system.

  • Hello @raymond_ndegwa

    I checked the LPC log files. I found this log after "Error: 1007 Unknown connection type." error message.

    <lpcdr.1.lpc: Info: Thu Mar 13 05:35:12.650383 2025>
    RSSL client login ipcSession.7 on socket ID: 11 from IP X.X.X.X.
    <END>

    It seems some client applications can connect to LPC successfully. Does an application that encounter the problem and the one that can connect to LPC use the same RFA configuration? Are they the same application?

    The "Error: 1007 Unknown connection type." indicates that the LPC (RSSL connection) receives a non-RSSL connection type from the client application. Does the application that encounters the problem is MarketDataFeed application?

    To isolate the issue between the LPC configuration, RFA configuration and the code itself, could you please try this:

    • Run the RFA StarterConsumer example application connect to the same LPC with the same RFA configuration as Calypso application and see if the issue occur
    • The example is available at <RFA package>\Examples\com\reuters\rfa\example\omm\cons folder.
  • Hi @wasin.w ,

    It seems some client applications can connect to LPC successfully. Does an application that encounter the problem and the one that can connect to LPC use the same RFA configuration? Are they the same application?

    Answer: This is from the same application. We have three RFA configurations that are accessing the LPC server from one application.

    The "Error: 1007 Unknown connection type." indicates that the LPC (RSSL connection) receives a non-RSSL connection type from the client application. Does the application that encounters the problem is MarketDataFeed application?

    Answer: Yes. I had mentioned that we have 3 RFA configurations. One of the configurations is Marker Data Server feed.

    Please guide me how I can run the RFA StarterConsumer application from a linux server.

    I have attached the copy of rfa.jar file that is being used by the Treasury Application

  • Hello @raymond_ndegwa

    About the "This is from the same application. We have three RFA configurations that are accessing the LPC server from one application.", could you please tell me which RFA configuration file that encounters the issue?

    I checked all 3 RFA configurations files. They have the same configurations except a username.

    I also have tested all 3 configurations files with the RFA 8.2.4.L2 (the closest version to 8.2.3) StarterConsumer example application, all of them can connect to my local ADS via RSSL port 14002 successfully.

    To run the StarterConsumer example application, you need the RFA API package. The library rfa.jar file does not contain the examples. You can download the RFA Java package from https://myaccount.lseg.com/en/downloadcenter/loadview website (please select Product Family "MDS - API")

    rfa_java_download.png

    Then follows the steps below:

    • Extract the zip file
    • Go to <RFA package folder>/Tools folder and run the following command:
    java -jar config_loader.jar -file <path>/rfa_config.xml
    
    • You should get the "imported prefs OK from file xxxx.xml" response message
    • Got to <RFA package folder>/Examples folder and run the following command
    ./buildExamle.ksh
    
    • Once the build process is succeeded, run the following java command to start the StartConsumer application
    java -cp .;..\Libs\rfa.jar com.reuters.rfa.example.omm.cons.StarterConsumer 
    -session _Calypso::default -serviceName ELEKTRON_DD -rdmFieldDictionary ..\etc\RDM\RDMFieldDictionary 
    -enumType ..\etc\RDM\enumtype.def -itemName EUR=
    

    If the StarterConsumer application can connect to your LPC. It means the issue need to be investigated in detail by the Real-Time APIs Support team (RDC). If you (or your colleagues) are the RDC named user, you should see the "Contact premium support" button on the https://developers.lseg.com/en/api-catalog/real-time-opnsrc/rt-sdk-java page. You can click on that button to submit a support ticket to the Real-Time APIs Support team.

    contact_rtsdk_java.png

    You can contact your LSEG Account Manager to check if you and your company have RDC named users.