question

Upvotes
Accepted
1 0 1 2

EMA Java - RDMLogin stream was closed with status message A21 A required argument was NULL

I'm using EMA JAVA JDK.

My application logged in successfully and it has been receiving refreshMsg and updateMsg for some hours. After some time, my application got the sequence of status messages listed below.

Please note that the last message is: RDMLogin stream was closed with status message State: Closed/Suspect/Not entitled - text: A21: A required argument was NULL

What could be the origin of this error ?

Thanks


-------------------------------------------------------------------------------------------------------------------------------

2019-10-10 06:05:50,690 INFO com.earlymorning.jedi.realtime.RealtimeDataClient [pool-2-thread-1] StatusMsg
streamId="2128"
domain="MarketPrice Domain"
state="Open / Suspect / None / 'channel down.'"
name="TRGBPSU1"
serviceId="221"
serviceName="IDN_SELECTFEED"
StatusMsgEnd

2019-10-10 06:05:51,697 INFO com.thomsonreuters.ema.access.ChannelCallbackClient [pool-2-thread-1] loggerMsg
ClientName: ChannelCallbackClient
Severity: Info
Text: Received ChannelUp event on channel Channel
Instance Name EmaConsumer_1
Component Version ezd1.3.L6.win.rrg 64-bit
loggerMsgEnd


2019-10-10 06:06:06,717 WARN com.thomsonreuters.ema.access.LoginCallbackClient [pool-2-thread-1] loggerMsg
ClientName: LoginCallbackClient
Severity: Warning
Text: RDMLogin stream state was changed to suspect with status message
username <not set>
usernameType <not set>

State: Open/Suspect/None - text: ""
loggerMsgEnd


2019-10-10 06:06:11,738 ERROR com.thomsonreuters.ema.access.LoginCallbackClient [pool-2-thread-1] loggerMsg
ClientName: LoginCallbackClient
Severity: Error
Text: RDMLogin stream was closed with status message
username ******************************
usernameType 1

State: Closed/Suspect/Not entitled - text: "A21: A required argument was NULL
"
loggerMsgEnd

elektronrefinitiv-realtimeelektron-sdkema-apirrtelektron-message-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.

Hello @annamaria,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

-AHS

Hello @annamaria,

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

-AHS

Upvotes
Accepted
32.2k 40 11 20

Hello @annamaria,

A# messages are not generated by API, but rather conveyed by API from the infrastructure you are connecting to. A21 is related to DACS - Data Access Control System, that is used to verify user entitlements.

Please see this discussion for more insight.

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.

Hello Zoya,

thanks for your help.

I discovered that inside the last message there is the IP of EZD local application server


2019-10-10 06:06:11,738 ERROR com.thomsonreuters.ema.access.LoginCallbackClient [pool-2-thread-1] loggerMsg
ClientName: LoginCallbackClient
Severity: Error
Text: RDMLogin stream was closed with status message
username <????> <IP of EZD application server>
usernameType 1

State: Closed/Suspect/Not entitled - text: "A21: A required argument was NULL
"
loggerMsgEnd


Maybe this error is originated by a misconfiguration in EZD server ?

Thanks

Upvotes
32.2k 40 11 20

Hello @annamaria,

If this is a new installation of EZD, and you are seeing an unexpected error, I would step back and first fully verify the installation of EZD with an independent pre-built test consumer client.

The test client named "rmdstestclient" comes with EZD and is in demo folder. The documentation on how to run is in Demo Tools guide.

It's a command line tool, something like:

rmdstestclient -S ELEKTRON_DD -il JPY= -X -v -u YOURVALIDUSER

Once you are able to consume an instrument and see updates using rmdstestclient, then you should be able to use the same validated parameters within a custom EMA app.

You may find more info on installation, configuration and verification of EZD for developers in this article

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.

Hello @annamaria,

Were you able to progress?

Upvotes
1 0 1 2

Unfortunately I have no access to EZD installation.

Soon after having reported this issue to people running EZD server, this "A21: A required argument was NULL" error didn't occurr any more.

Now looking at the application logs, I could see some other EZD disconnection, but now OmmConsumer succeds in logging again and recovering the connection.

Thanks for your help.

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.