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

RFA C++ 100 milliseconds connection retry

The RFA log shows that RFA will be tried to recover the connection in 100 milliseconds.

[Fri May 1214:25:54 2017]: (ComponentName) Static: (Severity) Information:
RSSL_Cons_Connection  "Default::Connection_RSSL 192.168.27.46:14002"  will be tried in 100 milliseconds

However, in RFA configuration guide, the default value of connectRetryInterval is 1500 milliseconds. The application hasn’t set this value so the default value 1500 milliseconds should be used.

Why does RFA use 100 milliseconds instead of 1500 milliseconds?

treprfarfa-apiconnection
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

RFA uses 100 milliseconds reconnect timer when it fails over to another server defined in the serverList configuration. Currently, in RFA C++ 8.0.1, this value is un-configurable.

It will use the value in the connectRetryInterval when failing over to the first server in the serverList configuration. For example, if there are two servers in the serverList parameter and the connection to the SERVER_A is down, RFA will use 100 milliseconds reconnect timer to reconnect to SERVER_B.

\Connections\Connection_RSSL\serverList	= "SERVER_A, SERVER_B"

Then, if the connection to the SERVER_B is down, RFA will use the value of connectRetryInterval configuration as a reconnect timer to reconnect to SERVER_A which is the first server in the serverList parameter.

Therefore, if there is only one server in the serverList parameter, RFA will always use the value of connectRetryInterval as a reconnect timer.

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.