Real Time Optimized (RTO) , EMA Java API
Hi,
New RTO ( with EMA Java API ) user is getting below error message.
This user is under implementation and said that he got a response value normally when using OnRefreshMsg but there seems an error in using OnUpdateMsg .
Can you please guide what action this user 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
Best Answer
-
Hello @bkquant
I am sorry the hear that the client is facing the issue.
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.
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$sThen 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
1
Answers
-
Hi @wasin.w,
Thank you for your comment.
1) Can you please guide me where to find ex450_MP_QueryServiceDiscovery example ?
2) Regarding below questions, can you please guide me how client check below ?
- Does the client use a single Machine ID per session or a single Machine ID with multiple sessions/applications?
0 -
Hello @bkquant @hyunjeong.shim
Please see my answers below:
ex450_MP_QueryServiceDiscovery
The example is available in the RTSDK Java package. It is in the <RTSDK Java pacakage>\Java\Ema\Examples\src\main\java\com\refinitiv\ema\examples\training\consumer\series400 folder. The client can download the SDK package from the SDK download page.
About "Does the client use a single Machine ID per session/application or a single Machine ID with multiple sessions/applications?", I cannot help with this question. The client is the one who uses the Machine ID account, so you need to ask the client directly how they use the account.
0 -
Hi @wasin.w
Client said if he moves to an area other than the initial developed area (IP) location or use a connection with a hotspot, an error related to sso session token (EMA onUpdateMsg ) occurs. The data communication is possible normally with the initial connected IP.
So client's question is, is it normal for this error to occur when there is an IP change like this?
0 -
Hello @hyunjeong.shim @bkquant
Please be informed that the API sends the IP Address to the RTO Streaming server as a "Position" information as part of the OMM login/authentication process by default. The Position, together with ApplicationId, helps the upstream infrastructure component to identify the client connection.
I highly recommend you ask the client to apply and contact the Real-Time API support team (RDC) to check this behavior in more detail. The client can contact the RDC team via the "Contact premium support" button on the RTSDK Java page
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 中文论坛