EMA login timeout
Anyone know why our OmmConsumer connection is failing? Is there a limit to how many existing connections are allowed for a user? We've confirmed the correct host and username in the configuration and still get the following output when connecting...
2017-07-19 15:48:51.260 INFO [apollo-service-elektron,,,] 10408 --- [ main] c.t.ema.access.OmmConsumerImpl : loggerMsg ClientName: ChannelCallbackClient Severity: Info Text: Received ChannelUp event on channel Channel Instance Name EmaConsumer_1 Component Version ezd1.2.1.L1.win.rrg 64-bit loggerMsgEnd
2017-07-19 15:49:06.310 WARN [apollo-service-elektron,,,] 10408 --- [ main] c.t.ema.access.OmmConsumerImpl : loggerMsg ClientName: LoginCallbackClient Severity: Warning Text: RDMLogin stream state was changed to suspect with status message username <not set> usernameType <not set> State: Open/Suspect/None - text: "" loggerMsgEnd
2017-07-19 15:49:21.312 WARN [apollo-service-elektron,,,] 10408 --- [ main] c.t.ema.access.OmmConsumerImpl : loggerMsg ClientName: LoginCallbackClient Severity: Warning Text: RDMLogin stream state was changed to suspect with status message username <not set> usernameType <not set> State: Open/Suspect/None - text: "" loggerMsgEnd
2017-07-19 15:49:35.983 ERROR [apollo-service-elektron,,,] 10408 --- [ main] c.t.ema.access.OmmConsumerImpl : loggerMsg ClientName: EmaConsumer_1 Severity: Error Text: login failed (timed out after waiting 45000 milliseconds) for cowvtrezp001.ditech.us:14002) loggerMsgEnd
Best Answer
-
EZD limits the number of concurrent consumer connections, it depends on how many ILAs your site is assigned, the default is 2, so 2 concurrent connections will be supported in this case.
To know for sure, you could check with your EZD's installation user file (user_list.txt), it would usually tie your valid user to 2 valid ILAs. This file is created during EZD installation, it is not to be edited "by hand".
I believe this is not what is causing your specific issue, as the manifestation would be different you would see "mount refused" on the over the limit connection, and not "login failed".
0
Answers
-
As the infrastructure you are connecting to is Electron Connect or EZD,
the first step I would take to better understand the connection issue, would be to try connecting and subscribing with a standard test client, to the same service and item, using the same user credentials that you are using with EMA consumer.
In ezd/YOUR_OS/demo you will find rmdstestclient, and in ezd/doc folder you will find Demo Tools Guide describing demo tools.
Here is a quick example of using rmdstestclient from the command line to test:
rmdstestclient -S YOUR_SERVICE -f YOUR_ITEMS_FILE -X -v -u YOUR_ASSIGNED_USER
Once you are able to connect, subscribe and see streaming data via standard client, you will look to put in the same parameters into EMA consumer connection,
either from code, or from XMl config file, with confidence.
0 -
We are connecting to EZD.
I will look into the rmdstestclient, but we have created a test in java to just make the connection, which is failing as well.
Note that we currently have two servers that run our application that makes a connection on startup and keeps the connection open for the life of the app. Is there possibly a limit to the number of concurrent connections for the user?
public void callElektron() throws InterruptedException {
OmmConsumer consumer = null;
try {
AppClient trClient = new AppClient();
OmmConsumerConfig config = EmaFactory.createOmmConsumerConfig();
consumer = EmaFactory.createOmmConsumer(config.host("xxxx:xxxx").username("xxxxxx"));
// Cannot make connection here
ReqMsg reqMsg = EmaFactory.createReqMsg();
consumer.registerClient(reqMsg.serviceName("xxxx").name("xxxx").interestAfterRefresh(false), trClient);
while (!trClient.getDone()) {
Thread.sleep(1000);
}
} finally {
if (consumer != null) {
consumer.uninitialize();
}
}
}0 -
Thank you, Zoya. You confirmed my suspicion...although we'd have to verify it.
the LoginCallback seems to be mis-leading though. The resulting 'login failure' occurs when it reaches the 45 second timeout.
2017-07-19 15:48:51.260 INFO [apollo-service-elektron,,,] 10408 --- [ main] c.t.ema.access.OmmConsumerImpl : loggerMsg
ClientName: ChannelCallbackClient
Severity: Info
Text: Received ChannelUp event on channel Channel
Instance Name EmaConsumer_1
Component Version ezd1.2.1.L1.win.rrg 64-bit
loggerMsgEnd
2017-07-19 15:49:06.310 WARN [apollo-service-elektron,,,] 10408 --- [ main] c.t.ema.access.OmmConsumerImpl : loggerMsg
ClientName: LoginCallbackClient
Severity: Warning
Text: RDMLogin stream state was changed to suspect with status message
username <not set>
usernameType <not set>
State: Open/Suspect/None - text: ""
loggerMsgEnd
2017-07-19 15:49:35.983 ERROR [apollo-service-elektron,,,] 10408 --- [ main] c.t.ema.access.OmmConsumerImpl : loggerMsg
ClientName: EmaConsumer_1
Severity: Error
Text: login failed (timed out after waiting 45000 milliseconds) for xxxxx)
loggerMsgEnd0 -
Hi @joe.hong, could you please give us the following information?
- The RSSL trace file when the problem occurs. You can enable it by setting <XmlTraceToStdout value="1"/> in the EmaConfig.xml file
- The EZD log file when the problem occurs
The above information will let us verify a connection between the API and EZD in detail.
0 -
This has been resolved. We were getting above errors because by default, EZD server only allows 2 concurrent connections. Since we have two server making a persistent connection on startup, no other clients were able to connect. When we shutdown one of the apps, it works as expected.
But the error below is mis-leading. I would expect a more descriptive message, such as "Too Many Connections".
The timeout that occurs makes sense since it can't make a connection within the timeout period.
2017-07-19 15:49:06.310 WARN [apollo-service-elektron,,,] 10408 --- [ main] c.t.ema.access.OmmConsumerImpl : loggerMsg
ClientName: LoginCallbackClient
Severity: Warning
Text: RDMLogin stream state was changed to suspect with status message
username <not set>
usernameType <not set>
State: Open/Suspect/None - text: ""
loggerMsgEnd0
Categories
- All Categories
- 6 AHS
- 39 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
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛