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

1 Answer

· Write an Answer
Upvotes
25.4k 90 13 26

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 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.