question

Upvotes
Accepted
7 1 1 5

Invalid Message Size - ETA VAConsumer

Hi,

Currently, I want to connect to our deployed rtds using the real-time sdk (c). I can connect using the Websocket API. When I wanted to connect with the VAConsumer example of the SDK, I received the following error message:

Error text: </opt/refinitiv/Real-Time-SDK/Cpp-C/Eta/Impl/Transport/rwsutils.c:4059> Error: 1007 Invalid Message Size. Message size is: (4571010). Max Message size is(61454)

I ran with the following command:

./VAConsumer -webSocket {
  {ip}}:{
  {port}} IDN_SELECTFEED mp:EUR= -uname {
  {DACS_User}} -aid {
  {ApplicationId}}

What can cause this error, why is such a large message received? Is there any way to debug the received messages?

refinitiv-realtime#technologyeta-apic++refinitiv-realtime-sdkc
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
Accepted
76.5k 238 52 72

@marton.brosig

Thank you for reaching out to us.

It may relate to this discussion. You can try to load data dictionary from the local files (RDMFieldDictionary and enumtype.def) instead by copying these files to the working directory.

You can also use the -x option to enable the XML tracing.

-x provides an XML trace of messages
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
7 1 1 5

Thank you for your response,

RDMFieldDictionary and enumtype.def were the missing things, the -x option was useful too.

In the future, I want to connect via plain tcp socket instead of websocket, following this guide, I get the following series of messages at Module_1a_Connect:

Command:

./ConsMod1a -h {
  {host}} -p {
  {port}}

Result:

Channel IPC descriptor = 3

Channel 3 In Progress...

Channel In Progress - New FD: 3  Old FD: 3

Channel 3 In Progress...

Channel In Progress - New FD: 3  Old FD: 3

Channel 3 In Progress...


Sometimes i get this error too (same parameters, but Consumer example)

channelInactive fd=3 <</opt/refinitiv/Real-Time-SDK/Cpp-C/Eta/Impl/Transport/rsslSocketTransportImpl.c:6975> Error: 1002 Could not read IPC Mount Ack.  Connection attempt has failed. System errno: (115)


Could it be that the server settings are not correct? Thanks in advance!

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.

@marton.brosig

Typially, the TCP socket and WebSocket connections use different TCP ports. The TCP socket uses 14002 while the WebSocket uses 15000.

Please make sure that you are using the correct TCP port when connecting to the server.

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.