Login EMA/JAVA for RRTO

Client said that there is an error on onUpdateMsg. The error message is as below. Can you please verify what action client should take? ERROR com.refinitiv.ema.access.OmmConsumerImpl -- loggerMsg ClientName: LoginCallbackClient Severity: Error Text: RDMLogin stream was closed with status message username AQIC5wM2LY4SfcxzU%2BR%2FjomN%2FvkaUCgFqAfpIEPY%2FF2FE2E%3D%40AAJTSQACMzAAAlNLABIxMTM4OTY4Nzk5ODc3MTE3MDAAAlMxAAIyMw%3D%3D%23 usernameType 1 State: Closed/Suspect/Internal error from sender - text: "Login Denied:Failed to validate sso token" loggerMsgEnd


Kindly assist.

Best Answer

  • wasin.w
    wasin.w admin
    Answer ✓

    Hello @marlon_T

    Thank you for contacting us.

    The "Login Denied:Failed to validate sso token" error message is generated from the RTO, you may contact the RTO directly to help you verify the issue on the server side. You can submit a ticket to the RTO support team via the my.refinitiv.com website.

    myrefinitiv-rto.png

    In the meantime, can you ask the client to give us more detail about the application, environment, and issue as follows?

    • EMA Java version
    • Java SDK version
    • Platform/OS
    • Can the client replicate the issue with the ex450_MP_QueryServiceDiscovery example?
    • Does the client use a single Machine ID per session or a single Machine ID with multiple sessions/applications?

    The client may try to enable the API log to turn on the HTTP REST messages between the API and the server. Please set the logging.properties file (the file is available at <RTSDK- package>\Java\Ema\Core\src\main\resources folder) with the following pattern

    .level=FINEST
     
    handlers=java.util.logging.FileHandler, java.util.logging.ConsoleHandler
    java.util.logging.ConsoleHandler.level=FINEST
    java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
    java.util.logging.FileHandler.level=FINEST
    java.util.logging.FileHandler.pattern=<absolute path to your log file location>//ema.log
    java.util.logging.SimpleFormatter.format=%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS.%1$tL %4$-7s %2$s %n%5$s

    Then run the application with the JVM argument -Djava.util.logging.config.file points to the logging.properties file

    Example:

    -Djava.util.logging.config.file=C:\drive_d\Project\APIs\EMA_Code\EMA_Java\src\main\resources\logging.properties

    Please note that you can set the following properties on logging.properties file for the log file roll-over:

    • java.util.logging.FileHandler.limit=the maximum number of bytes to write to any one file
    • java.util.logging.FileHandler.count= the number of files to use