No reply from server during login

Created at 05 Sep 2018, 06: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!
BE

beneditobvn

Joined 26.03.2018

No reply from server during login
05 Sep 2018, 06:29


I am making a script that logs in my account and do somethings. I am making and running it for months. In the most part of the time, the login works fine, but sometimes it fails. It fails when I send a login request to the server and the server replies a string of null characters (number 0 ascii char). No error is showed. When it happens, the server continue not repling for hours or days. Here is a exemple of a message sent to the server:

8=FIX.4.49=12035=A49=icmarkets.111111156=CSERVER57=QUOTE50=111111134=152=20180905-03:04:0098=0108=0553=1111111554=pass10=040

I send it and I get no reply. Why does it happen sometimes? How can I avoid it? When it happans, how can I solve it?


@beneditobvn
Replies

PanagiotisCharalampous
05 Sep 2018, 12:02

Hi beneditobvn,

Thanks for reporting this behavior. I will forward it to the product team to investigate.

Best Regards,

Panagiotis


@PanagiotisCharalampous

beneditobvn
05 Sep 2018, 15:00

Note
I do not know If It helps, but I think that It can be happening due to logout not done for a number of times. It usually happens when there is an error when I run my script And the logout os not fone because the error crashes the script.
@beneditobvn

PanagiotisCharalampous
06 Sep 2018, 15:03

Hi beneditobvn,

Is it possible to rearrange the order of the tags of your messages as in our documentation examples i.e. the tags in the login message should be sent in the following order

8=FIX.4.4|9=126|35=A|49=theBroker.12345|56=CSERVER|34=1|52=20170117-
08:03:04|57=TRADE|50=any_string|98=0|108=30|141=Y|553=12345|554=passw0rd!|10=131|

Best Regards,

Panagiotis


@PanagiotisCharalampous

... Deleted by UFO ...

... Deleted by UFO ...