Should you start a new forum for the Schneider commissioning software?

Discussion in 'General Discussion' started by MHeaton, Mar 12, 2024.

  1. MHeaton

    MHeaton

    Joined:
    Apr 22, 2008
    Messages:
    106
    Likes Received:
    2
    Location:
    London
    I can't get it to find my CGate at all (they are on the same machine!) and so can't create projects!

    I get this error:
    Code:
    { "time": "2024-03-12 16:13:12.8882", "level": "ERROR", "class": "MainViewModel", "method": "ConnectToCGate", "message": "CommandException - Failed to retrieve data from server" }
    { "time": "2024-03-12 16:18:48.3824", "level": "ERROR", "class": "ProjectsViewModel", "method": "ViewModelActivated", "message": "IOException - Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.." }
    { "time": "2024-03-12 16:18:48.4136", "level": "ERROR", "class": "MainWindow", "method": "ResetLayout", "message": "Reset layout operation failed.", "exception": "System.IO.FileNotFoundException: The Layout file C:\\ProgramData\\Schneider Electric\\C-Bus Commission\\window-layout.xml does not exist.\r\n   at SpaceLogic.CBus.Commission.Services.SettingsService.ResetLayout(Boolean isAppstart)\r\n   at SpaceLogic.CBus.Commission.MainWindow.ResetLayout(Boolean isAppStart)" }
    { "time": "2024-03-12 16:18:48.4387", "level": "ERROR", "class": "ProjectsViewModel", "method": "ViewModelActivated", "message": "ConnectionException - Not connected to server" }
    { "time": "2024-03-12 16:18:49.0557", "level": "ERROR", "class": "ProjectsViewModel", "method": "ViewModelActivated", "message": "ConnectionException - Not connected to server" }
    { "time": "2024-03-12 16:18:58.1433", "level": "FATAL", "class": "App", "method": "TaskScheduler_UnobservedTaskException", "message": "A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Unable to read data from the transport connection: An established connection was aborted by the software in your host machine..)Unable to read data from the transport connection: An established connection was aborted by the software in your host machine..   at System.Net.Sockets.NetworkStream.Read(Span`1 buffer)\r\n   at System.Net.Security.SslStream.FillHandshakeBufferAsync[TIOAdapter](TIOAdapter adapter, Int32 minSize)\r\n   at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)\r\n   at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)\r\n   at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)\r\n   at System.Net.Security.SslStream.AuthenticateAsClient(String targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation)\r\n   at System.Net.Security.SslStream.AuthenticateAsClient(String targetHost)\r\n   at SpaceLogic.CBus.CGate.CommandApi.StatusChangeConnection.ConnectAsync(CGateServer server)\r\n   at SpaceLogic.CBus.CGate.CommandApi.StatusChangeConnection.ConnectAsync()\r\n   at SpaceLogic.CBus.Commission.Services.CGateService.ConnectStatusChangePortAsync()An established connection was aborted by the software in your host machine.   at System.Net.Sockets.NetworkStream.Read(Span`1 buffer)" }
    { "time": "2024-03-12 16:20:55.0716", "level": "ERROR", "class": "ProjectsViewModel", "method": "ViewModelActivated", "message": "ConnectionException - Not connected to server" }
    { "time": "2024-03-12 16:31:39.7749", "level": "ERROR", "class": "SupportInformationViewModel", "method": "LoadCGateInformationAsync", "message": "System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine..", "exception": "System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine..\r\n ---> System.Net.Sockets.SocketException (10053): An established connection was aborted by the software in your host machine.\r\n   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow)\r\n   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.SendAsyncForNetworkStream(Socket socket, CancellationToken cancellationToken)\r\n   at System.Net.Sockets.Socket.SendAsyncForNetworkStream(ReadOnlyMemory`1 buffer, SocketFlags socketFlags, CancellationToken cancellationToken)\r\n   at System.Net.Sockets.NetworkStream.WriteAsync(ReadOnlyMemory`1 buffer, CancellationToken cancellationToken)\r\n   at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](TIOAdapter writeAdapter, ReadOnlyMemory`1 buffer)\r\n   at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](TIOAdapter writeAdapter, ReadOnlyMemory`1 buffer)\r\n   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\r\n   at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](TIOAdapter writeAdapter, ReadOnlyMemory`1 buffer)\r\n   at System.Net.Security.SslStream.WriteAsync(ReadOnlyMemory`1 buffer, CancellationToken cancellationToken)\r\n   at System.IO.StreamWriter.<FlushAsyncInternal>g__Core|76_0(Boolean flushStream, Boolean flushEncoder, CancellationToken cancellationToken)\r\n   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\r\n   at System.IO.StreamWriter.<FlushAsyncInternal>g__Core|76_0(Boolean flushStream, Boolean flushEncoder, CancellationToken cancellationToken)\r\n   at System.IO.StreamWriter.FlushAsyncInternal(Boolean flushStream, Boolean flushEncoder, CancellationToken cancellationToken)\r\n   at System.IO.StreamWriter.FlushAsync()\r\n   at SpaceLogic.CBus.CGate.CommandApi.CommandConnection.SendCommandAsync(CGateCommand command)\r\n   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\r\n   at SpaceLogic.CBus.CGate.CommandApi.CommandConnection.SendCommandAsync(CGateCommand command)\r\n   at SpaceLogic.CBus.Commission.Services.CGateService.SendCommandAsync(CGateCommand command)\r\n   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\r\n   at SpaceLogic.CBus.Commission.Services.CGateService.SendCommandAsync(CGateCommand command)\r\n   at SpaceLogic.CBus.Commission.Services.CGateService.SendGetCommandAsync(String objectidentifier, String parameteraddress, CommandPriority priority)\r\n   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\r\n   at SpaceLogic.CBus.Commission.Services.CGateService.SendGetCommandAsync(String objectidentifier, String parameteraddress, CommandPriority priority)\r\n   at SpaceLogic.CBus.Commission.ViewModels.SupportInformationViewModel.LoadCGateInformationAsync()\r\n   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\r\n   at SpaceLogic.CBus.Commission.ViewModels.SupportInformationViewModel.LoadCGateInformationAsync()\r\n   at SpaceLogic.CBus.Commission.ViewModels.SupportInformationViewModel.ViewModelActivated(Action`1 disposable)\r\n   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\r\n   at SpaceLogic.CBus.Commission.ViewModels.SupportInformationViewModel.ViewModelActivated(Action`1 disposable)\r\n   at SpaceLogic.CBus.Commission.ViewModels.SupportInformationViewModel.<.ctor>b__2_0(Action`1 d)\r\n   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\r\n   at SpaceLogic.CBus.Commission.ViewModels.SupportInformationViewModel.<.ctor>b__2_0(Action`1 d)\r\n   at ReactiveUI.ViewForMixins.<>c__DisplayClass3_0.<WhenActivated>b__0() in /_/src/ReactiveUI/Activation/ViewForMixins.cs:line 76\r\n   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()\r\n   at System.Reactive.Disposables.CompositeDisposable.ToList(IEnumerable`1 disposables)\r\n   at System.Reactive.Disposables.CompositeDisposable..ctor(IEnumerable`1 disposables)\r\n   at ReactiveUI.ViewModelActivator.Activate() in /_/src/ReactiveUI/Activation/ViewModelActivator.cs:line 81\r\n   at ReactiveUI.ViewForMixins.<>c__DisplayClass11_0.<HandleViewModelActivation>b__3(IActivatableViewModel x) in /_/src/ReactiveUI/Activation/ViewForMixins.cs:line 273\r\n   at System.Reactive.AnonymousSafeObserver`1.OnNext(T value)\r\n   at System.Reactive.Linq.ObservableImpl.Switch`1._.InnerObserver.OnNext(TSource value)\r\n   at System.Reactive.Linq.ObservableImpl.ToObservableRecursive`1._.LoopRec(IScheduler scheduler)\r\n   at System.Reactive.Linq.ObservableImpl.ToObservableRecursive`1._.Run(IEnumerable`1 source, IScheduler scheduler)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.TailRecursiveSink`1.Drain()\r\n   at System.Reactive.TailRecursiveSink`1.Run(IEnumerable`1 sources)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.Sink`2.Run(IObservable`1 source)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.Linq.ObservableImpl.Switch`1._.OnNext(IObservable`1 value)\r\n   at System.Reactive.Linq.ObservableImpl.ReturnImmediate`1.Run(IObserver`1 observer)\r\n   at System.Reactive.BasicProducer`1.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.Sink`2.Run(IObservable`1 source)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.Sink`2.Run(IObservable`1 source)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.Sink`2.Run(IObservable`1 source)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.Sink`2.Run(IObservable`1 source)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.Sink`2.Run(IObservable`1 source)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.Sink`2.Run(IObservable`1 source)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.Sink`2.Run(IObservable`1 source)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at ReactiveUI.ViewForMixins.<>c__DisplayClass11_0.<HandleViewModelActivation>b__0(Boolean activated) in /_/src/ReactiveUI/Activation/ViewForMixins.cs:line 264\r\n   at System.Reactive.AnonymousSafeObserver`1.OnNext(T value)\r\n   at System.Reactive.Linq.ObservableImpl.Merge`1.Observables._.InnerObserver.OnNext(TSource value)\r\n   at System.Reactive.Linq.ObservableImpl.Merge`1.Observables._.InnerObserver.OnNext(TSource value)\r\n   at System.Reactive.Linq.ObservableImpl.Merge`1.Observables._.InnerObserver.OnNext(TSource value)\r\n   at System.Reactive.Subjects.Subject`1.OnNext(T value)\r\n   at ReactiveUI.ActivationForViewFetcher.<>c__DisplayClass1_1.<GetActivationForView>g__Handler|9(Object sender, RoutedEventArgs e) in /_/src/ReactiveUI.Wpf/ActivationForViewFetcher.cs:line 35\r\n   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)\r\n   at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)\r\n   at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)\r\n   at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()\r\n   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()\r\n   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)\r\n   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)\r\n   at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)\r\n   at System.Windows.Interop.HwndTarget.OnResize()\r\n   at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)\r\n   at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)\r\n   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)\r\n   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n   at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n   at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n   at MS.Win32.HwndSubclass.DefWndProcWrapper(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n   at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n   at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n   at Standard.NativeMethods._SetWindowRgn(IntPtr hWnd, IntPtr hRgn, Boolean bRedraw)\r\n   at Standard.NativeMethods._SetWindowRgn(IntPtr hWnd, IntPtr hRgn, Boolean bRedraw)\r\n   at Standard.NativeMethods.SetWindowRgn(IntPtr hWnd, IntPtr hRgn, Boolean bRedraw)\r\n   at System.Windows.Shell.WindowChromeWorker._UpdateFrameState(Boolean force)\r\n   at System.Windows.Shell.WindowChromeWorker._ApplyNewCustomChrome()\r\n   at System.Windows.Shell.WindowChromeWorker._WindowSourceInitialized(Object sender, EventArgs e)\r\n   at System.Windows.Window.OnSourceInitialized(EventArgs e)\r\n   at System.Windows.Window.CreateSourceWindow(Boolean duringShow)\r\n   at System.Windows.Window.CreateSourceWindowDuringShow()\r\n   at System.Windows.Window.SafeCreateWindowDuringShow()\r\n   at System.Windows.Window.ShowHelper(Object booleanBox)\r\n   at System.Windows.Window.Show()\r\n   at System.Windows.Window.ShowDialog()\r\n   at SpaceLogic.CBus.Commission.Views.AboutControl.HandleDisplaySecondaryWindow(InteractionContext`2 interaction)\r\n   at SpaceLogic.CBus.Commission.Views.AboutControl.<.ctor>b__0_1(InteractionContext`2 interaction)\r\n   at ReactiveUI.Interaction`2.<>c__DisplayClass4_0.<RegisterHandler>b__0(InteractionContext`2 interaction) in /_/src/ReactiveUI/Interactions/Interaction.cs:line 95\r\n   at ReactiveUI.Interaction`2.<>c__DisplayClass6_0`1.<RegisterHandler>g__ContentHandler|0(InteractionContext`2 context) in /_/src/ReactiveUI/Interactions/Interaction.cs:line 148\r\n   at ReactiveUI.Interaction`2.<>c__DisplayClass7_1.<Handle>b__4() in /_/src/ReactiveUI/Interactions/Interaction.cs:line 179\r\n   at System.Reactive.Linq.ObservableImpl.Defer`1._.Run()\r\n   at System.Reactive.Linq.ObservableImpl.Defer`1.Run(_ sink)\r\n   at System.Reactive.Producer`2.<>c.<SubscribeRaw>b__1_0(ValueTuple`2 tuple)\r\n   at System.Reactive.Concurrency.Scheduler.<>c__75`1.<ScheduleAction>b__75_0(IScheduler _, ValueTuple`2 tuple)\r\n   at System.Reactive.Concurrency.CurrentThreadScheduler.Schedule[TState](TState state, TimeSpan dueTime, Func`3 action)\r\n   at System.Reactive.Concurrency.Scheduler.ScheduleAction[TState](IScheduler scheduler, TState state, Action`1 action)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.Linq.ObservableImpl.ConcatMany`1.ConcatManyOuterObserver.Drain()\r\n   at System.Reactive.Linq.ObservableImpl.ConcatMany`1.ConcatManyOuterObserver.OnNext(IObservable`1 value)\r\n   at System.Reactive.ObserveOnObserverNew`1.DrainStep(ConcurrentQueue`1 q)\r\n   at System.Reactive.ObserveOnObserverNew`1.DrainShortRunning(IScheduler recursiveScheduler)\r\n   at System.Reactive.ObserveOnObserverNew`1.<>c.<.cctor>b__17_0(IScheduler scheduler, ObserveOnObserverNew`1 self)\r\n   at System.Reactive.Concurrency.DispatcherScheduler.<>c__DisplayClass12_0`1.<Schedule>b__0() in /_/src/ReactiveUI.Wpf/Rx/Concurrency/DispatcherScheduler.cs:line 98\r\n   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n   at System.Windows.Threading.DispatcherOperation.InvokeImpl()\r\n   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)\r\n   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)\r\n   at System.Windows.Threading.DispatcherOperation.Invoke()\r\n   at System.Windows.Threading.Dispatcher.ProcessQueue()\r\n   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)\r\n   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)\r\n   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)\r\n   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)\r\n   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)\r\n   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)\r\n   at System.Windows.Threading.Dispatcher.Run()\r\n   at System.Windows.Application.RunDispatcher(Object ignore)\r\n   at System.Windows.Application.RunInternal(Window window)\r\n   at System.Windows.Application.Run()\r\n   at SpaceLogic.CBus.Commission.AppStartup.Main(String[] args)\r\n--- End of stack trace from previous location ---\r\n\r\n   --- End of inner exception stack trace ---\r\n   at System.Net.Security.SslStream.<WriteSingleChunk>g__CompleteWriteAsync|182_1[TIOAdapter](ValueTask writeTask, Byte[] bufferToReturn)\r\n   at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](TIOAdapter writeAdapter, ReadOnlyMemory`1 buffer)\r\n   at System.IO.StreamWriter.<FlushAsyncInternal>g__Core|76_0(Boolean flushStream, Boolean flushEncoder, CancellationToken cancellationToken)\r\n   at SpaceLogic.CBus.CGate.CommandApi.CommandConnection.SendCommandAsync(CGateCommand command)\r\n   at SpaceLogic.CBus.Commission.Services.CGateService.SendCommandAsync(CGateCommand command)\r\n   at SpaceLogic.CBus.Commission.Services.CGateService.SendGetCommandAsync(String objectidentifier, String parameteraddress, CommandPriority priority)\r\n   at SpaceLogic.CBus.Commission.ViewModels.SupportInformationViewModel.LoadCGateInformationAsync()" }
    { "time": "2024-03-12 16:31:39.7908", "level": "ERROR", "class": "SupportInformationViewModel", "method": "LoadApiVersionsAsync", "message": "Error in LoadApiVersionsAsync", "exception": "System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine..\r\n ---> System.Net.Sockets.SocketException (10053): An established connection was aborted by the software in your host machine.\r\n   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow)\r\n   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.SendAsyncForNetworkStream(Socket socket, CancellationToken cancellationToken)\r\n   at System.Net.Sockets.Socket.SendAsyncForNetworkStream(ReadOnlyMemory`1 buffer, SocketFlags socketFlags, CancellationToken cancellationToken)\r\n   at System.Net.Sockets.NetworkStream.WriteAsync(ReadOnlyMemory`1 buffer, CancellationToken cancellationToken)\r\n   at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](TIOAdapter writeAdapter, ReadOnlyMemory`1 buffer)\r\n   at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](TIOAdapter writeAdapter, ReadOnlyMemory`1 buffer)\r\n   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\r\n   at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](TIOAdapter writeAdapter, ReadOnlyMemory`1 buffer)\r\n   at System.Net.Security.SslStream.WriteAsync(ReadOnlyMemory`1 buffer, CancellationToken cancellationToken)\r\n   at System.IO.StreamWriter.<FlushAsyncInternal>g__Core|76_0(Boolean flushStream, Boolean flushEncoder, CancellationToken cancellationToken)\r\n   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\r\n   at System.IO.StreamWriter.<FlushAsyncInternal>g__Core|76_0(Boolean flushStream, Boolean flushEncoder, CancellationToken cancellationToken)\r\n   at System.IO.StreamWriter.FlushAsyncInternal(Boolean flushStream, Boolean flushEncoder, CancellationToken cancellationToken)\r\n   at System.IO.StreamWriter.FlushAsync()\r\n   at SpaceLogic.CBus.CGate.CommandApi.CommandConnection.SendCommandAsync(CGateCommand command)\r\n   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\r\n   at SpaceLogic.CBus.CGate.CommandApi.CommandConnection.SendCommandAsync(CGateCommand command)\r\n   at SpaceLogic.CBus.Commission.Services.CGateService.SendCommandAsync(CGateCommand command)\r\n   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\r\n   at SpaceLogic.CBus.Commission.Services.CGateService.SendCommandAsync(CGateCommand command)\r\n   at SpaceLogic.CBus.Commission.Services.CGateService.SendApiVerCommandAsync()\r\n   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\r\n   at SpaceLogic.CBus.Commission.Services.CGateService.SendApiVerCommandAsync()\r\n   at SpaceLogic.CBus.Commission.ViewModels.SupportInformationViewModel.LoadApiVersionsAsync()\r\n   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\r\n   at SpaceLogic.CBus.Commission.ViewModels.SupportInformationViewModel.LoadApiVersionsAsync()\r\n   at SpaceLogic.CBus.Commission.ViewModels.SupportInformationViewModel.ViewModelActivated(Action`1 disposable)\r\n   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\r\n   at SpaceLogic.CBus.Commission.ViewModels.SupportInformationViewModel.ViewModelActivated(Action`1 disposable)\r\n   at SpaceLogic.CBus.Commission.ViewModels.SupportInformationViewModel.<.ctor>b__2_0(Action`1 d)\r\n   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\r\n   at SpaceLogic.CBus.Commission.ViewModels.SupportInformationViewModel.<.ctor>b__2_0(Action`1 d)\r\n   at ReactiveUI.ViewForMixins.<>c__DisplayClass3_0.<WhenActivated>b__0() in /_/src/ReactiveUI/Activation/ViewForMixins.cs:line 76\r\n   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()\r\n   at System.Reactive.Disposables.CompositeDisposable.ToList(IEnumerable`1 disposables)\r\n   at System.Reactive.Disposables.CompositeDisposable..ctor(IEnumerable`1 disposables)\r\n   at ReactiveUI.ViewModelActivator.Activate() in /_/src/ReactiveUI/Activation/ViewModelActivator.cs:line 81\r\n   at ReactiveUI.ViewForMixins.<>c__DisplayClass11_0.<HandleViewModelActivation>b__3(IActivatableViewModel x) in /_/src/ReactiveUI/Activation/ViewForMixins.cs:line 273\r\n   at System.Reactive.AnonymousSafeObserver`1.OnNext(T value)\r\n   at System.Reactive.Linq.ObservableImpl.Switch`1._.InnerObserver.OnNext(TSource value)\r\n   at System.Reactive.Linq.ObservableImpl.ToObservableRecursive`1._.LoopRec(IScheduler scheduler)\r\n   at System.Reactive.Linq.ObservableImpl.ToObservableRecursive`1._.Run(IEnumerable`1 source, IScheduler scheduler)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.TailRecursiveSink`1.Drain()\r\n   at System.Reactive.TailRecursiveSink`1.Run(IEnumerable`1 sources)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.Sink`2.Run(IObservable`1 source)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.Linq.ObservableImpl.Switch`1._.OnNext(IObservable`1 value)\r\n   at System.Reactive.Linq.ObservableImpl.ReturnImmediate`1.Run(IObserver`1 observer)\r\n   at System.Reactive.BasicProducer`1.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.Sink`2.Run(IObservable`1 source)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.Sink`2.Run(IObservable`1 source)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.Sink`2.Run(IObservable`1 source)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.Sink`2.Run(IObservable`1 source)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.Sink`2.Run(IObservable`1 source)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.Sink`2.Run(IObservable`1 source)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.Sink`2.Run(IObservable`1 source)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at ReactiveUI.ViewForMixins.<>c__DisplayClass11_0.<HandleViewModelActivation>b__0(Boolean activated) in /_/src/ReactiveUI/Activation/ViewForMixins.cs:line 264\r\n   at System.Reactive.AnonymousSafeObserver`1.OnNext(T value)\r\n   at System.Reactive.Linq.ObservableImpl.Merge`1.Observables._.InnerObserver.OnNext(TSource value)\r\n   at System.Reactive.Linq.ObservableImpl.Merge`1.Observables._.InnerObserver.OnNext(TSource value)\r\n   at System.Reactive.Linq.ObservableImpl.Merge`1.Observables._.InnerObserver.OnNext(TSource value)\r\n   at System.Reactive.Subjects.Subject`1.OnNext(T value)\r\n   at ReactiveUI.ActivationForViewFetcher.<>c__DisplayClass1_1.<GetActivationForView>g__Handler|9(Object sender, RoutedEventArgs e) in /_/src/ReactiveUI.Wpf/ActivationForViewFetcher.cs:line 35\r\n   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)\r\n   at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)\r\n   at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)\r\n   at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()\r\n   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()\r\n   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)\r\n   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)\r\n   at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)\r\n   at System.Windows.Interop.HwndTarget.OnResize()\r\n   at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)\r\n   at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)\r\n   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)\r\n   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n   at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n   at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n   at MS.Win32.HwndSubclass.DefWndProcWrapper(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n   at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n   at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n   at Standard.NativeMethods._SetWindowRgn(IntPtr hWnd, IntPtr hRgn, Boolean bRedraw)\r\n   at Standard.NativeMethods._SetWindowRgn(IntPtr hWnd, IntPtr hRgn, Boolean bRedraw)\r\n   at Standard.NativeMethods.SetWindowRgn(IntPtr hWnd, IntPtr hRgn, Boolean bRedraw)\r\n   at System.Windows.Shell.WindowChromeWorker._UpdateFrameState(Boolean force)\r\n   at System.Windows.Shell.WindowChromeWorker._ApplyNewCustomChrome()\r\n   at System.Windows.Shell.WindowChromeWorker._WindowSourceInitialized(Object sender, EventArgs e)\r\n   at System.Windows.Window.OnSourceInitialized(EventArgs e)\r\n   at System.Windows.Window.CreateSourceWindow(Boolean duringShow)\r\n   at System.Windows.Window.CreateSourceWindowDuringShow()\r\n   at System.Windows.Window.SafeCreateWindowDuringShow()\r\n   at System.Windows.Window.ShowHelper(Object booleanBox)\r\n   at System.Windows.Window.Show()\r\n   at System.Windows.Window.ShowDialog()\r\n   at SpaceLogic.CBus.Commission.Views.AboutControl.HandleDisplaySecondaryWindow(InteractionContext`2 interaction)\r\n   at SpaceLogic.CBus.Commission.Views.AboutControl.<.ctor>b__0_1(InteractionContext`2 interaction)\r\n   at ReactiveUI.Interaction`2.<>c__DisplayClass4_0.<RegisterHandler>b__0(InteractionContext`2 interaction) in /_/src/ReactiveUI/Interactions/Interaction.cs:line 95\r\n   at ReactiveUI.Interaction`2.<>c__DisplayClass6_0`1.<RegisterHandler>g__ContentHandler|0(InteractionContext`2 context) in /_/src/ReactiveUI/Interactions/Interaction.cs:line 148\r\n   at ReactiveUI.Interaction`2.<>c__DisplayClass7_1.<Handle>b__4() in /_/src/ReactiveUI/Interactions/Interaction.cs:line 179\r\n   at System.Reactive.Linq.ObservableImpl.Defer`1._.Run()\r\n   at System.Reactive.Linq.ObservableImpl.Defer`1.Run(_ sink)\r\n   at System.Reactive.Producer`2.<>c.<SubscribeRaw>b__1_0(ValueTuple`2 tuple)\r\n   at System.Reactive.Concurrency.Scheduler.<>c__75`1.<ScheduleAction>b__75_0(IScheduler _, ValueTuple`2 tuple)\r\n   at System.Reactive.Concurrency.CurrentThreadScheduler.Schedule[TState](TState state, TimeSpan dueTime, Func`3 action)\r\n   at System.Reactive.Concurrency.Scheduler.ScheduleAction[TState](IScheduler scheduler, TState state, Action`1 action)\r\n   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)\r\n   at System.Reactive.Linq.ObservableImpl.ConcatMany`1.ConcatManyOuterObserver.Drain()\r\n   at System.Reactive.Linq.ObservableImpl.ConcatMany`1.ConcatManyOuterObserver.OnNext(IObservable`1 value)\r\n   at System.Reactive.ObserveOnObserverNew`1.DrainStep(ConcurrentQueue`1 q)\r\n   at System.Reactive.ObserveOnObserverNew`1.DrainShortRunning(IScheduler recursiveScheduler)\r\n   at System.Reactive.ObserveOnObserverNew`1.<>c.<.cctor>b__17_0(IScheduler scheduler, ObserveOnObserverNew`1 self)\r\n   at System.Reactive.Concurrency.DispatcherScheduler.<>c__DisplayClass12_0`1.<Schedule>b__0() in /_/src/ReactiveUI.Wpf/Rx/Concurrency/DispatcherScheduler.cs:line 98\r\n   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n   at System.Windows.Threading.DispatcherOperation.InvokeImpl()\r\n   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)\r\n   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)\r\n   at System.Windows.Threading.DispatcherOperation.Invoke()\r\n   at System.Windows.Threading.Dispatcher.ProcessQueue()\r\n   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)\r\n   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)\r\n   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)\r\n   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)\r\n   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)\r\n   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)\r\n   at System.Windows.Threading.Dispatcher.Run()\r\n   at System.Windows.Application.RunDispatcher(Object ignore)\r\n   at System.Windows.Application.RunInternal(Window window)\r\n   at System.Windows.Application.Run()\r\n   at SpaceLogic.CBus.Commission.AppStartup.Main(String[] args)\r\n--- End of stack trace from previous location ---\r\n\r\n   --- End of inner exception stack trace ---\r\n   at System.Net.Security.SslStream.<WriteSingleChunk>g__CompleteWriteAsync|182_1[TIOAdapter](ValueTask writeTask, Byte[] bufferToReturn)\r\n   at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](TIOAdapter writeAdapter, ReadOnlyMemory`1 buffer)\r\n   at System.IO.StreamWriter.<FlushAsyncInternal>g__Core|76_0(Boolean flushStream, Boolean flushEncoder, CancellationToken cancellationToken)\r\n   at SpaceLogic.CBus.CGate.CommandApi.CommandConnection.SendCommandAsync(CGateCommand command)\r\n   at SpaceLogic.CBus.Commission.Services.CGateService.SendCommandAsync(CGateCommand command)\r\n   at SpaceLogic.CBus.Commission.Services.CGateService.SendApiVerCommandAsync()\r\n   at SpaceLogic.CBus.Commission.ViewModels.SupportInformationViewModel.LoadApiVersionsAsync()" }
    
    
    would assume it is firewall or IPv6 vs IPv4 related...
     
    Last edited: Mar 12, 2024
    MHeaton, Mar 12, 2024
    #1
  2. MHeaton

    MHeaton

    Joined:
    Apr 22, 2008
    Messages:
    106
    Likes Received:
    2
    Location:
    London
    ok sorted myself out - needed to enable a line in access.txt that enabled program access on the IPv6 link local address.
     
    MHeaton, Mar 12, 2024
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.