CTrader CLI connection error
CTrader CLI connection error
15 Nov 2024, 11:35
Hi,
On certain broker accounts I'm getting this error using ctrader-cli.
As you can see in the stacktrace this is still in the connection part.
15/11/2024 11:32:15.103 | Establishing connection using XXXXXXXXXXXXXXXXXXXX...
15/11/2024 11:32:16.271 | The connection has been established.
Login to XXXXXXX...
Sequence contains no matching element
System.InvalidOperationException: Sequence contains no matching element
at System.Linq.ThrowHelper.ThrowNoMatchException()
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
at cTrader.Console.Infrastructure.StateMachine.Strategies.UserEdition.ServerConnectingStateStrategy.TryToConnect()
at cTrader.Console.Infrastructure.StateMachine.Strategies.UserEdition.ServerConnectingStateStrategy.DoEnter()
at cTrader.Console.Infrastructure.StateMachine.Strategies.ConsoleStateStrategyBase.Enter()
at cTrader.Console.Infrastructure.StateMachine.ConsoleApplicationLifecycleStateMachine.OnMovedToLifecycleState(IConsoleApplicationLifecycleStateStrategy newStateStrategy)
at cTrader.Console.Infrastructure.StateMachine.ConsoleApplicationLifecycleStateTransition.InternalMoveTo(ConsoleApplicationLifecycleState state)
at cTrader.Console.Infrastructure.StateMachine.ConsoleApplicationLifecycleStateTransition.<>c__DisplayClass6_0.<MoveTo>b__0()
at cTrader.Console.Infrastructure.Dispatcher.ConsoleThreadDispatcher.<>c__DisplayClass12_0.<ExecuteInternalAsync>g__ExecuteAction|0()