Reconnection for "Access Denied-already using position"
Hi Team,
1. Is there an option to retry connection for the following error?
2. Any parameter in EmaConfig.xml which I can use for "Access Denied-already using position" or to extend the time limit for exception "timed out after waiting 45000 milliseconds" ?
3. I would like to attempt the connection for max of 3 mins instead of the default 45 secs.
Thanks,
Sagar
****************************
State: Closed/Suspect/Maximum logins reached - text: "Access Denied-already using position XX.XX.XX.XX"
loggerMsgEnd
Apr 02, 2018 5:05:50 PM com.thomsonreuters.ema.access.OmmBaseImpl handleLoginReqTimeout
SEVERE: loggerMsg
ClientName: Consumer_Test_1
Severity: Error
Text: login failed (timed out after waiting 45000 milliseconds) for XXX:XXX)
loggerMsgEnd
2018-04-02 17:05:50.597 ERROR run(): Exception thrown: login failed (timed out after waiting 45000 milliseconds) for XXX:XXX)
****************************
Best Answer
-
Hello @sagar.s
Based on our test, increase LoginRequestTimeOut does not help to solve this problem. Because the login stream has closed already as shown in your message:
State: Closed/Suspect/Maximum logins reached - text: "Access Denied-already using position XX.XX.XX.XX"
In this case, EMA does not retry to login to ADS anymore.
According to my test, I set LoginRequestTimeOut to 180000 and run 3 applications logged in using the same user while DACS allows 2 concurrent logins for this user. Hence, the 3rd application got the error message above. After 1 minute, the two application exited. Hence, the number of login was 0 and the 3rd application should be able to login to ADS. However, EMA did not retry to login to ADS because the login stream closed already. Finally, the application exited according to login request timeout.
To solve this problem, please contact your DACS administrator or Thomson Reuters Account team
if DACS is hosted by Thomson Reuters to increase “Allowed Simultaneous
Login” parameter in DACS to fit your usage.Normally, EMA will retry to login to ADS when the login's state is still open e.g. when ADS goes down, the application will get:
Apr 04, 2018 1:13:02 PM com.thomsonreuters.ema.access.LoginCallback
Client rdmLoginMsgCallback
WARNING: 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: ""
loggerMsgEndNotice that the login stream's state is still open but it is suspect. When ADS goes up again, EMA can login to ADS successfully.
0
Answers
-
Hello @sagar.s
"Access Denied- already using position" occurs when
several applications try to login using the same user to ADS with DACS enabled.
The number of concurrent user login exceeds “Allowed Simultaneous Login” parameter
in DACS. To solve this error, please contact your DACS administrator
or Thomson Reuters Account team if DACS is hosted by Thomson Reuters to
increase “Allowed Simultaneous Login” parameter in DACS to serve your usage.The login timeout can be set in LoginRequestTimeOut parameter of Consumer node
as explained in Table 3: Consumer Group Parameters (Continued) in <Elektron-SDK
Java>\Ema\Docs\EMAJ_ConfigGuide.pdf shown below:Hence, to set max 3 minutes login timeout, add
LoginRequestTimeOut
with value 180000 to the Consumer node your application use(default is Consumer_1) in EmaConfig.xml as
example below:<Consumer>
<Name value="Consumer_1"/>
...
<LoginRequestTimeOut value="180000"/>
</Consumer>I tried to set this parameter to be 180000 and EMA Java waited for login response 3 minutes as shown below:
Apr 04, 2018 10:34:48 AM com.thomsonreuters.ema.access.OmmBaseImpl handleLoginReqTimeout
SEVERE: loggerMsg
ClientName: Consumer_1_1
Severity: Error
Text: login failed (timed out after waiting 180000 milliseconds) for localhost:14002)
loggerMsgEnd
login failed (timed out after waiting 180000 milliseconds) for localhost:14002)0
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
- 368 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 中文论坛