question

Upvotes
1 0 0 1

Inactive session timeout

Using RFAJ v6.4 (we will upgrade to RFA v8 in the next year), we've noticed that if the connection is idle for 10 minutes, it automatically sends a "login close" message to the server. After that, obviously, nothing can be subscribed. But it's not clear that the connection has been reset or that we have logged out.

I can't find any reference to this in the documentation.

We'd like to be able to do one of three things:

* Set or change the inactive timeout duration

* Keep the connection alive indefinitely

* Detect when the login_close message has been sent to the server, so that we can recover

What's the best way to handle this, and is there any documentation that might be useful?

treprfarfa-apiconnectiontime-outsession
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
20.3k 73 10 20

Not aware of any RFA Java API level functionality where it auto disconnects after an idle period.

What connection type are you using?

Can you enable low level trace log in your application and upload the resultant trace?

This can be done by setting the ipcTraceFlags to 7 in your connection parameters as well as setting mountTrace=true

This should result in a log file with a default name of RFA_RSSL*.log or RFA_SSL*.log depending on your connection type.

For further details on the above and related parameters please refer to the RFAJ_ConfigLoggingGuide.pdf which comes with the RFAJ API package.

If the file is large, please zip before uploading...

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