RFA.NET - Session.Acquire gives timeout exception when called from server side

I have a Client-Server application in .NET. When I try to acquire session at client side, it works fine, however when I try to do the same thing at server side, it gives time out exception. I have the config file at server side. Still it fails to acquire session. The config file has below entries related to session


\Sessions\Session1\connectionList = "Connection_RSSL"
\Sessions\SessionConsMCast\connectionList = "Connection_RSSL_CONS_MCAST"
\Sessions\SessionOMMProv\connectionList = "Connection_OMMProv"
\Sessions\SessionOMMNIProv\connectionList = "Connection_RSSL_NIPROV"
#\Sessions\SessionOMMNIProv\connectionList = "Connection_RSSL_NIPROV_MCAST"
\Sessions\HybridAppSession\connectionList = "Connection_RSSL, Connection_RSSL_PROV"
\Sessions\NewsDisplaySess\connectionList = "Connection_RSSL"
\Sessions\MSExcelSession\connectionList = "Connection_RSSL"
\Connections\Connection_RSSL\traceMsgToFile = true

Best Answer

  • Hi @anil.s

    One of the most common issues of WCF app is loading message file.

    WCF app default working directory is c:\windows\system32 (for 64 bit OS and 64 bit application) or c:\windows\SysWOW64 (for 32 bit application).

    You have to copy RFA8_MsgFile###.dll to c:\windows\system32 or c:\windows\SysWOW64.

    Or, as an alternative, you can add the following configuration to RFA configuration,

    \Logger\AppLogger\useInternalLogStrings = true

    and RFA will use message file from internal lib.

Answers

  • Is there a network route to market data server from your server?

    Can you ping or try to see if you can telnet to ADS port 14002 (default) from your server machine.

  • My WCF service is hosted on same PC and I have placed the config file at service bin directory

  • The configuration entry worked! Thanks @Warat B. !!