Roboforex System error code = 336130329
Roboforex System error code = 336130329
08 Feb 2019, 15:14
Hi,
with one of the brokers (Roboforex) we get this in our logs once per day.
The problem is that upon successful reconnect on the quote stream, we see only heartbeats, no other data. Since we subscribe to market data, we'd expect, upon successful reconnect, to again receive the data we have subscribed to in the first place (before connection interruption and after successful reconnect). We observe this behavior only with this particular broker, with others the behavior is as expected.
Also the error "System error code = 336130329" is only observed with Roboforex and we're not sure why we get it.
Logs:
WARNING: 20190208-08:03:33.933185533: Session <roboforex., CSERVER, FIX.4.4> : the telecommunication link error is detected (Unknown error 336130329 : System error code = 336130329). INFO: 20190208-08:03:33.935962771: Session <roboforex., CSERVER, FIX.4.4> : State is changed from Established to Reconnecting. INFO: 20190208-08:03:35.258976690: Session <roboforex., CSERVER, FIX.4.4> : the telecommunication link is restored. INFO: 20190208-08:03:35.259049589: Session <roboforex., CSERVER, FIX.4.4> : State is changed from Reconnecting to AwaitConfirmingLogin. INFO: 20190208-08:03:35.476721518: Session <roboforex., CSERVER, FIX.4.4> : InSeqNum is set to 2. INFO: 20190208-08:03:35.476802702: Session <roboforex., CSERVER, FIX.4.4> : State is changed from AwaitConfirmingLogin to Established. INFO: 20190208-08:03:35.476810110: Session <roboforex., CSERVER, FIX.4.4> : established.
Kind regards
Replies
terryww2
08 Feb 2019, 21:27
Hi,
what we observe with other brokers (using the cTrader platform) is:
1. once subscribed, even if we pull the cable from the server (and force client reconnect), we observe that the stream continues with sequence numbers where left off. Perhaps our conclusion that if a server drops the connection the same would happen as if the client disconnects was not correct?
2. the connection is not closed 1x/day (as e.g. expected from classical exchanges for the "end of day procedure") - we can connect to a broker for a whole trading Week without having to reconnect i.e. having huge sequence numbers e.g. InSeqNum=201281422. Is this expected with cTrader?
So this opens a few questions about the integration with cTrader's FIX API:
Is there any trading schedule or are the markets simply open Mon 12:00AM till FR 12:00AM? When are the connections dropped/disconnected (if at all)?
Also we're not sure if this is expected behavior with Roboforex. Perhaps we were too optimistic integrating with cTrader and thinking one integration will work for multiple brokers? What differences between borkers using cTrader can we expect?
Kind regards
@terryww2
terryww2
13 Feb 2019, 09:48
With Roboforex we're experiencing also strange connection interrupts. From our logs:
1. "the telecommunication link error is detected: closed by the counterpart"
2. "Cannot logon: after sending the initial Logon message the telecommunication link error is detected (Connection reset by peer : System error code = 104"
Since we don't see this kind of disconnects with other brokers using cTrader's FIX connection, we were wondering if you can help us with the investigation.
Kind regards
@terryww2
PanagiotisCharalampous
13 Feb 2019, 10:39
Hi terryww2,
Regarding your questions
1. The server does not drop the connection as soon as you pull the cable from the server but when it stops receiving heartbeats for a specific period of time.
2. Yes this is expected
We will investigate the issue with Roboforex.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Feb 2019, 15:34
Hi terryww2,
Can you please tell us the proxy you use and if this happens on demo or live accounts?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
15 Feb 2019, 14:40
Hi terryww2,
You can use any of the two host you want but we suggest to use the one displayed in cTrader. cTrader automatically chooses the proxy with the less latency to connect.
Regarding your issue with Roboforex, it seems there was an issue with SSL handshake. We have made some updates to h39.p.ctrader.com. Can you please test it for a while and let us know if the issue has been resolved?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
15 Feb 2019, 15:05
Hi terryww2,
Unfortunately no. We do not have such functionality offered through an API at the moment.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
15 Feb 2019, 16:49
Hi terryww2,
Each broker has different proxies therefore you will need to contact each of your brokers to provide you with the list of their proxies. Regarding collocation, we do not offer such services. Our servers are located in LD5, if you are interested in hosting your solution somewhere close to us.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Feb 2019, 17:10
Hi terryww2,
The expected behavior is that when a connection is dropped, you need to resubscribe to the market data. When you say "We observe this behavior only with this particular broker, with others the behavior is as expected.", do you mean that you do not need to resubscribe to market data when connections to other brokers are dropped or that connections are not dropped for other brokers? Also, please let me know which proxy do you use to connect to your Roboforex account.
Best Regards,
Panagiotis
@PanagiotisCharalampous