question on "RFA .NET Tutorials\step8"
hi
I compiled "RFA .NET Tutorials\step8\MRNExample_VS120.sln", with visual studio 2013
updated below stuff
*** file "ExampleRFA.cfg"
\Connections\Connection_RSSL\rsslPort = "MY_PORT"
\Connections\Connection_RSSL\hostName= "MY_HOST"
*** source code : "RFA .NET Tutorials\step8\RDMExample.cs"
private static readonly RFA_String UserName = new RFA_String("MY_ACCOUNT");
private static readonly RFA_String ServiceName = new RFA_String("MY_SERVICE");
private static readonly RFA_String ItemName = new RFA_String("EUR=");
can connect to the server, but failed to login (Login Denied, NotAuthorized).
could you advise??
thanks
----------------------------------------------
log:
2017/07/10 10:26:02.788 INFO : <- Received LoggerNotifyEvent:
[Mon Jul 10 10:26:02 2017]: (ComponentName) Static: (Severity) Information: Connection Status Changed, RSSL_Cons_Connection "Default::Connection_RSSL MY_HOST:MY_PORT" State: "Up" StatusCode: "None" StatusText: Connection up
2017/07/10 10:26:03.022 INFO : <- Received ConnectionEvent:
Connection
Connection_RSSL is UP!
********************* ERROR! ********************** ERROR! *********************
2017/07/10 10:26:03.022 ERROR* : <- Received MMT_LOGIN - Login Denied
streamState : Closed
dataState : Suspect
statusCode : NotAuthorized
statusText : A21: A required argument was NULL
2017/07/10 10:26:03.022 INFO : <- Received Event Stream Closed Event, event type: OMMItemEvent handle: 472504528
2017/07/10 10:26:03.178 INFO : <- Received LoggerNotifyEvent:
[Mon Jul 10 10:26:03 2017]: (ComponentName) Static: (Severity) Information: RSSL Channel closing on connection "Default::Connection_RSSL MY_HOST:MY_PORT" due to "requested disconnect"
Best Answer
-
Basically the status text was generated by Infra because the Login request does not contains valid DACS Position. I guess that you are connecting to ADS or TREP component which turn on DACS Entitlement so it require a valid DACS position from OMM Login request message.
The example leave the Position to blank so you need to modify it to a valid DACS Position like "<You Client IP>/net", "10.42.20.33/net"
You have to modify the follwoing line from RDMExmaple.cs in class RDMExampleprivate static readonly RFA_String Position = new RFA_String("");
to the new position like the following sample
private static readonly RFA_String Position = new RFA_String("127.0.0.1/net");
Don't forget to change UserName and ServiceName property to valid one as well.
Hope this help.0
Answers
-
Hi @qiang.zhu,
Are you using a valid user name? The error message says clearly the user you used to login is not authorized. Have you checked with your MarketData group or whoever provided the connection host information to you?
--- Steve
0 -
hi
I confirmed with the team. ther user name is good.
We can confirm that your username is authorized
access in DACS as shown in screenshot below, also attached.We have also verified that your username can get
data for EUR= on the MY_HOST server.regarding to error msg :
A21: A required argument was NULL
is it possible to find more info??
I can enrich add source code on necessary
thanks
0 -
@qiang.zhu Please find my answer below. It's the problem from Position not Username.
0 -
hi
I updated position, now, its connected and "Login Accepted"
thanks.
Sincerely.
0 -
hi
I can connect to server successfully. modify below line
private static readonly RFA_String ItemName = new RFA_String("EUR=");try to get data for "EUR=".
but the log shows:
2017/07/11 12:17:01.501 INFO : <- Received MMT_MARKET_PRICE Status EUR=
serviceName : EED_DELAYED
symbolName : EUR=
streamState : Closed
dataState : Suspect
statusCode : NotFound
statusText : The record could not be foundconfirmed with server side, "username/positions/etc" are all good to get data for "EUR="
could you advise??
thanks
0 -
Are you using Tutorial 8? If it's tutorial 8 it was designed to reqeust MRN News and it does not use MMT_MARKET_PRICE. That why you get NotFound. If you want to request Marekt Price domain, please use tutorial 6 or 7 instead.
0 -
thanks.
I updated tutorial 7, and now I can get market data successfully.
thanks a lot.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 688 Datastream
- 1.4K DSS
- 620 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 254 ETA
- 557 WebSocket API
- 38 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 276 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 663 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 229 TRKD
- 917 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛