New posts are disabled while we improve the user experience.

You can browse the site, or for urgent issues, raise a query at MyAccount.

question

Upvotes
Accepted
129 19 29 32

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 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
87.8k 294 53 79

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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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