question

Upvotes
Accepted
129 6 14 23

Error: Illegal attempt on RFA log

I got the below error when connecting to ADS with RSSL connection.

---------------------------
Exception Error
---------------------------
AN EXCEPTION HAS BEEN THROWN!  The following information describes the exception:
Exception Type: InvalidConfigurationException
Exception Severity: Error
Exception Classification: ConfigurationError
Exception Status Text: Illegal attempt to create MarketDataSubscriber using RSSL connection type 
	Connection name: Connection_SSLED 
	Connection type: RSSL
Session: Session1

What is the cause of this error?

treprfarfa-api
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
38.1k 71 35 53

From the error, the application uses legacy MD interface (MarketDataSubscriber) which doesn’t support RSSL connection type.

MarketDataSubscriber supports SSLED connection type which uses TCP port 8101 (default port).

\Connections\Connection_SSLED\PortNumber                                                  = 8101
\Connections\Connection_SSLED\UserName                                                     = "<username>"
\Connections\Connection_SSLED\ServerList                                                       = "<hostname>"
\Connections\Connection_SSLED\connectionType                                            = "SSLED"

Therefore, the legacy application (MarketDataSubscriber) can’t switch to RSSL connection type. If the connectionType used by MarketDataSubscriber is RSSL, RFA will generate this log.

Illegal attempt to create MarketDataSubscriber using RSSL connection type 
    Connection name: Connection_SSLED 
    Connection type: RSSL

To support RSSL connection type, the application must use OMM interface (OMMConsumer). Please refer to the StarterConsumer example in RFA package which shows how to use OMM interface to create a consumer application. Otherwise, you can refer to these online tutorials.

icon clock
10 |1500

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

Click below to post an Idea Post Idea