Application keeps disconnecting

Created at 13 Mar 2022, 12:02
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!
douglascvas's avatar

douglascvas

Joined 02.01.2018

Application keeps disconnecting
13 Mar 2022, 12:02


My application is done in Java and keeps disconnecting all the time from the protobuf server. Is there some way to know for what reason it is disconnecting? It looks like the disconnection comes from the server but I don't get any error, nothing. I set to detect the disconnection and try to reconnect but it does not reconnect... only if I restart the application. This problem is driving me crazy.

Could someone please give me some help?


@douglascvas
Replies

amusleh
14 Mar 2022, 08:36

Hi,

The API can go down for short period of time during weekends for maintenance.

If the disconnection happens from server side then it means API is down and you should keep trying to reconnect until you succeed.

 


@amusleh