Errors on login

noob7 since: 20 Mar 2020;

  07 Jan 2022, 10:08
Errors on login

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.

amusleh's avatar

amusleh since: 01 Mar 2021;

  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)

Spotware | Telegram: @algodeveloper
amusleh's avatar

amusleh since: 01 Mar 2021;

  11 Jan 2022, 12:45

Hi,

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

Spotware | Telegram: @algodeveloper