Errors on login

Created at 07 Jan 2022, 10:08
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!
NO

noob7

Joined 20.03.2020

Errors on login
07 Jan 2022, 10:08


I`m using code from your old examples:

var msgFactory = new OpenApiMessagesFactory();

var authMsg = msgFactory.CreateAppAuthorizationRequest(_clientId, _clientSecret);
await SendAndWaitForMessage(_apiSocket, authMsg);

var authAccMsg = msgFactory.CreateAccAuthorizationRequest(token, (long) _accountId);
var response = await SendAndWaitForMessage(_apiSocket, authAccMsg);

 

When sending SendAndWaitForMessage of authAccMsg I`m getting error:

"An established connection was aborted by the software in your host machine."

This error started to popup few days ago. Before this time everything was working fine I didnt change my sourcecode.


@noob7
Replies

amusleh
07 Jan 2022, 11:37

Hi,

We are aware of this issue and it will be fixed very soon.

In meantime please use our new .NET library and samples: spotware/OpenAPI.Net: Spotware Open API .NET Rx library (github.com)


@amusleh

amusleh
11 Jan 2022, 12:45

Hi,

We fixed the issue, please try our new samples and let me know if it works or not.


@amusleh