Append the field 58 to the Logout message, please.

Created at 02 Feb 2022, 19:29
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
BO

boris_k

Joined 14.12.2021

Append the field 58 to the Logout message, please.
02 Feb 2022, 19:29


Hello!

The server does not explain the disconnect reason. Could you add the field 58 with the reason, please?
https://www.onixs.biz/fix-dictionary/4.2/msgtype_5_5.html

>cServer:QUOTE
<message>
  <header>
    <field number="8"><![CDATA[FIX.4.4]]></field>
    <field number="35"><![CDATA[5]]></field>
  </header>
  <body>
  </body>
  <trailer>
  </trailer>
</message>


@boris_k
Replies

amusleh
03 Feb 2022, 08:49 ( Updated at: 21 Dec 2023, 09:22 )

Hi,

The logout message has the field 58 based on our FIX specs:

Can you please post the full logout message response you received?


@amusleh

boris_k
05 Feb 2022, 14:09

RE:

"Can you please post the full logout message response you received?"
You see the body of the Logout message  in my first post.
The field 58 is missed in the message the server sends if an another session is active.
It is easy to replicate:
1.Connect to the session
2. Try to connect to the session with the same credentials.
You will receive the Logout message without the body. There is no info about the reason of logout.
 


@boris_k

amusleh
08 Feb 2022, 10:06

RE: RE:

boris_k said:

"Can you please post the full logout message response you received?"
You see the body of the Logout message  in my first post.
The field 58 is missed in the message the server sends if an another session is active.
It is easy to replicate:
1.Connect to the session
2. Try to connect to the session with the same credentials.
You will receive the Logout message without the body. There is no info about the reason of logout.
 

Hi,

I tried this but it doesn't result on a logout message from server, instead it gets disconnected so nothing comes from server side on second logon attempt with same credentials.


@amusleh

boris_k
08 Jun 2022, 13:56

RE: RE: RE:

amusleh said:

 

I tried this but it doesn't result on a logout message from server, instead it gets disconnected so nothing comes from server side on second logon attempt with same credentials.

Send something useful to inform the client why the server disconnects, please.


@boris_k

amusleh
09 Jun 2022, 09:14

Hi,

In case you open two connections with same credentials one is closed and another will remain open, you should not open two connections.


@amusleh