Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP APIs /
  • RFA /
avatar image
Question by jude.x.jin · Oct 09, 2018 at 12:46 PM · rfa session

Stuck in Session.Acquire() when running an existing program under a new service account

Hi,

When I try to run an existing old program using a new service account. It gets stuck in

Session.Acquire("OUR_APPNAME")

When I run the same program using the old service account, it runs successfully.

The new service account is set up having the same read/write access on the server folders.

What could cause the issue? This is very urgent.

I didn't write this program and am completely new to RFA. So I'm completely lost. Our internal RFA support cannot answer any dev problems so they direct me to this Forum.

Please help me.

Many Thanks.

Jude

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

9 Replies

  • Sort: 
avatar image
Best Answer
Answer by jude.x.jin · Oct 09, 2018 at 05:17 PM

solution from below post solves it

https://community.developers.thomsonreuters.com/questions/31853/rfa-81-net-64-bit-sessionacquiresession1-freezes-w.html

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Answer by Gurpreet · Oct 09, 2018 at 01:30 PM

@jude.x.jin you didn't mention the programming language, but I assume it is C++. RFA C++ can read the configuration settings from a flat file or from registry. In your case, it seems like the new service account does not have the RFA configuration properly set in registry. Try to import the settings from old account into the new account. A sample RFA configuration registry file is also provided with the SDK examples.

https://developers.thomsonreuters.com/thomson-reuters-enterprise-platform/robust-foundation-api-rfa/downloads

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by jude.x.jin · Oct 09, 2018 at 01:38 PM

HI, Gurpreet.

I'm using C#. Could you please give me more detailed steps of how to export configuration from registry in old account and import into new account?

I'm totally new to RFA. I wasn't the one who set up RFA on the server.

Many Thanks,

Jude

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by jude.x.jin · Oct 09, 2018 at 01:40 PM

@Gurpreet I cannot access the link you give me.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Answer by Gurpreet · Oct 09, 2018 at 02:27 PM

You can also get the sample RFA configuration from your SDK installation. Firstly, you will need to verify that the application is indeed using configuration from registry. In the code, you are looking for how staging database is loaded -- something along the lines of:

fileConfig:

RFA_String exampleRfaCfgFilePath = new RFA_String("./ExampleRFA.cfg");
stgCfgDataBase.Load(ConfigRepositoryTypeEnum.flatFile, exampleRfaCfgFilePath);

registry:
RFA_String exampleRfaCfgRegPath = new RFA_String("HKEY_LOCAL_MACHINE\\SOFTWARE\\Reuters\\RFA\\Default");
stgCfgDataBase.Load(ConfigRepositoryTypeEnum.windowsRegistry, exampleRfaCfgRegPath);

Here you can also see the path to the registry (HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default) which your new system account should be able to access.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by jude.x.jin · Oct 09, 2018 at 02:46 PM

@Gurpreet Following your suggestion, the code is showing that it is using RFA.cfg file. So it is not based on registry setting. RFA.cfg is readable by everyone. So is it weird that Session.Acquire() is stuck under new service account?

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Answer by Gurpreet · Oct 09, 2018 at 02:58 PM

Can you enable the logger entries in the configuration file and check RFA log for more information. Configuration settings are explained in the RFANET_ConfigGuide.pdf file available in the docs directory in the SDK.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by jude.x.jin · Oct 09, 2018 at 03:05 PM

@Gurpreet

Thanks for your prompt reply. Could you please tell me how to configure the log in RFA.cfg, probabaly just one line, right?

I don't have the SDK nor the SDK doc. I have applied to the API membership just now.

Could you please email the doc to jude.x.jin@us.hsbc.com ?

Thanks a lot!

Jude

Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Gurpreet ♦♦ · Oct 09, 2018 at 03:15 PM 0
Share

Sent the config guide.

Please see this thread for information on RFA logging -

https://community.developers.thomsonreuters.com/questions/6057/activate-full-message-logs-for-rssl-connections-in.html

avatar image
Answer by jude.x.jin · Oct 09, 2018 at 03:22 PM

@Gurpreet

below is the content of the RFA.cfg file. i masked the host name

RFA.cfg

\Sessions\VolFitterSession\connectionList = "ElektronEdge"
\Connections\ElektronEdge\connectionType = "RSSL"
\Connections\ElektronEdge\serverList = "*******.hsbc"
\Connections\ElektronEdge\rsslPort = "21100"

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
7 People are following this question.

Related Questions

NIP Session and INT session in one config file

Multiple sessions with same name

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges