question

Upvotes
Accepted
3 3 4 7

ComplEventMsg after registerClient login

We sometimes get a ComplEventMsg (type=Event.COMPLETION_EVENT) on application startup immediately after a call to OMMConsumer.registerClient

How can I get more information about what is going on? It's not an invalid usename (it works most of the time) or an oversubscribed username (customer support can usually tell me that, but they say "we can confirm that there was no issues observed in the logs at the time of the incident."). We're using Java RFA 8.1.0.L1 library.

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

16 Answers

Upvotes
Accepted
24.5k 86 10 22

Hi @daniel.lipofsky

I have checked the release notes for rfaj8.2.1.L1 and cannot see any OMMConsumer + Login related issues reported/fixed since 8.1.0.L1

Completion events are generated to inform the Application that the stream has been closed and therefore you should not expect any further events on that stream.

There are two ways in which an event stream can be closed:

• The application closes the stream via unregisterClient() call to RFA.

• The application receives an event that closes the stream.

Assuming you are not calling unregisterclient, the other explanation is that the stream is being closed off by the server and the application receives a close event.

If you are able to recreate this relatively easily, then you could enable the low-level IpcTrace in RFA Java, so that we can confirm if the Login stream is indeed being closed off by the server.

See the accepted answer in the post below for details on how to enable the low-level trace.

Null Payload in OmmMsg - Forum | Refinitiv Developer Community


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.

Upvotes
3 3 4 7

I am not able to recreate on-demand. How else can I get information about a ComplEventMsg

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.

Upvotes
24.5k 86 10 22

Hi @daniel.lipofsky

Unless you are able to capture the low-level trace of the completion event, it is not possible to confirm if the stream is being closed off by the server.

Are you logging all the Status Information received by the application for all related events e.g. connection events, the Login Resp Msg etc. You can see an example of this in the com.reuters.rfa.example.omm.cons example packaged with RFA Java in the Examples\com\reuters\rfa\example\omm\cons folder.

The output from the above may help shed some more light on your scenario.

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.

Upvotes
3 3 4 7

It looks like our client is based on Examples/com/reuters/rfa/example/omm/cons/LoginClient.java (although probably a version from many years ago).

I see we get 3 messages on failure

  1. OMMItemEvent with OPEN, SUSPECT, NONE, "All connections pending", but this looks identical to the message we receive before a success.
  2. OMMItemEvent with isFinal flag.
  3. ComplEventMsg with no useful information.

We were logging as much detail as we could from the 1st and 3rd ones but no real details from the 2nd, and that appears to be where all the useful information was. After adding full details from that message (and forcing an error by overusing the ID) I was able to see CLOSED, SUSPECT, DACS_MAX_LOGINS_REACHED, "Access Denied-already using position 100.100.173.119".

But the error I got a few days ago was not caused by overusing the ID or using a bad ID, and I can't go back in time to add the logging. Do you have any idea what else can cause a completion event?

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.

Upvotes
24.5k 86 10 22

HI @daniel.lipofsky

Are you connecting to an internal ADS or to our cloud using LPC- I assume from the above DACS message that you are connecting to an internal ADS?

Also, has this just started happening recently or has this been an ongoing issue for an extended period of time?

Unfortunately without any logging/trace etc, there is no way to confirm why your Login stream was closed off.

There is always a small possibility that you are encountering a bug in RFA Java - but we would need evidence to confirm this and currently, the latest RFA Java Releases notes have no mention of any similar bug being reported and fixed in the more recent releases.

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.

Upvotes
3 3 4 7

Internal. It happened twice in a row one morning, but no other time that I am aware of.

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.

Upvotes
24.5k 86 10 22

Hi @daniel.lipofsky

Thanks for confirming. If that is the case, I would refer you back to your internal Market Data team. As mentioned previously, Assuming you are not calling unregisterclient, the other explanation is that the stream is being closed off by the server and the application receives a close event.

They could always try reaching out to the Refinitiv RTDS support team for any other possible guidance on diagnosing the cause of the above.

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.

Upvotes
3 3 4 7

So who exactly do I contact?

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.

Upvotes
24.5k 86 10 22

hi @daniel.lipofsky

Your internal Market Data team can create a ticket with the RTDS support team for further assistance in diagnosing the issue from an ADS/RTDS perspective via My.Refinitiv.

1634133901176.png



1634133901176.png (9.0 KiB)
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.

Upvotes
3 3 4 7

Who does "Your internal Market Data team" refer to? Are you talking about me?

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.

Upvotes
24.5k 86 10 22

Hi @daniel.lipofsky

My understanding from the posts above was that you are a developer at your organisation using your internal ADS servers - which are usually administered/managed by a separate Market Data team.

However, if I am mistaken and you are the ADS admin etc then you can reach out to our RTDS support team for ADS related support - the moderators etc on this forum are not RTDS experts.

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.

Upvotes
3 3 4 7

We do not have a separate team for that. I started out by reaching out to the Refinitiv RTDS support team, and they said I needed to come here instead.

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.

Hi @daniel.lipofsky

I will try and track down your RTDS ticket number and discuss it with the RTDS team.

Case : 10505971 INC 186053 from Oct 1

Upvotes
24.5k 86 10 22

Hi @daniel.lipofsky

I have been discussing with the RTMDS support team and it would appear there may be issues with your ADS deployment/configuration - with your ADS disconnecting from our upstream servers.


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.

Upvotes
3 3 4 7

No that is a different issue, it is unrelated to this one.

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.

Upvotes
24.5k 86 10 22

Hi @daniel.lipofsky

Thanks for confirming.

As mentioned before without any low-level RFA trace etc there is nothing from the API perspective which would help us identify why you may be getting these login stream closed events.

Therefore, you would need to work with the RTMDS team + whoever manages your hosted ADS servers to identify why the application is being logged out from your ADS servers.


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.

We do not have any hosted ADS servers. Our app uses Java RFA 8.1.0.L1 to connect directly to your ADS servers.

Upvotes
24.5k 86 10 22

Hi @daniel.lipofsky

I understand that you are in discussion with your account team regards help with diagnosing your issues - I have offered the support team the option of my joining the calls if that helps.

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.