Cannot open two sessions

Created at 21 Oct 2016, 00:21
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!
MA

maxim_7

Joined 14.07.2013

Cannot open two sessions
21 Oct 2016, 00:21


Hi Support,

I observe unexpected behavior of FIX server, once I have Price Connection open, Trade Connection immediately dropped once I am sending Logon message.

For both connections (5211/5212) I am using SSL and exact the same Logon message format.

Once one of connections are closed, second connection may be established.

Please help to understand what I am doing wrong.

Thanx

M.

 


@maxim_7
Replies

maxim_7
24 Oct 2016, 17:20

Hi Support,

The problem looks more serious. If connection dropped brutally, (modem/router power loss/…) Client cannot reconnect to FIX server for 1-2 min.

Could you provide your comments, please?

Thanx

M.

 


@maxim_7

#EOL
27 Dec 2016, 19:30

As far as I understand, FIX uses a set of SenderCompIDTargetCompIDTargetSubID and SenderSubID to identify FIX session, thus for each sessions this set should be unique, and according to cTrader FIX spec, SenderSubID could be any string.

Just generate any uniq string before logon and use it as SenderSubID


@#EOL