Dear community,
I have 2 cloud connected Dataminer instances. I can connect to both of them from DIS but the connection falls down spontaneously after ca 4 minutes. Any ideas what could be wrong?
I updated the DIS to 3.1.3 and Visual Studio to 17.11.2.
Here is the DIS - DMAComm output from Visual Studio. First the successful connection to the DMA followed by the exception and connection drop:
2024/09/09 14:22:54.578|Trying to connect to DMA with hostname 'dmsdemo-operator.on.dataminer.services' and username 'username'!
2024/09/09 14:22:54.579|Starting new SLDisDmaComm service process
2024/09/09 14:22:54.635|> Process started: PID 7060
2024/09/09 14:22:54.716|> Guid: 0491aebe-4a60-4a44-95ea-900923036f5c
2024/09/09 14:22:54.717|> Host: dmsdemo-operator.on.dataminer.services
2024/09/09 14:22:54.721|> Starting service
2024/09/09 14:22:54.746|> net.pipe://127.0.0.1/0491aebe-4a60-4a44-95ea-900923036f5c/SLDisDmaComm
2024/09/09 14:22:54.763|> Service is started!
2024/09/09 14:22:54.763|SLDisDmaComm service PID: 7060
2024/09/09 14:22:54.763|Connecting to SLDisDmaComm service process
2024/09/09 14:22:54.766|Connected to SLDisDmaComm service process!
2024/09/09 14:22:54.770|> Executing RegisterCallback
2024/09/09 14:22:54.778|> Executing Connect (hostname: dmsdemo-operator.on.dataminer.services, username: username)
2024/09/09 14:22:54.778|> Parent process: devenv (17468)
2024/09/09 14:22:54.792|> Resolving assembly: Grpc.Net.Client.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d754f35622e28bad
2024/09/09 14:22:54.793|> Trying to load assembly from package: Grpc.Net.Client.Web
2024/09/09 14:22:54.793|> Could not find file in DIS package.
2024/09/09 14:22:54.794|> Trying to load assembly via service: Grpc.Net.Client.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d754f35622e28bad
2024/09/09 14:22:54.794|> Getting path via service...
2024/09/09 14:22:54.806|> Path:
2024/09/09 14:22:54.807|> Could not load assembly 'Grpc.Net.Client.Web'.
2024/09/09 14:22:55.482|> Resolving assembly: Grpc.Core.Api, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d754f35622e28bad
2024/09/09 14:22:55.482|> Trying to load assembly from package: Grpc.Core.Api
2024/09/09 14:22:55.482|> Could not find file in DIS package.
2024/09/09 14:22:55.482|> Trying to load assembly via service: Grpc.Core.Api, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d754f35622e28bad
2024/09/09 14:22:55.482|> Getting path via service...
2024/09/09 14:22:55.482|> Path:
2024/09/09 14:22:55.482|> Could not load assembly 'Grpc.Core.Api'.
2024/09/09 14:22:55.493|> Resolving assembly: Grpc.Net.Client, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d754f35622e28bad
2024/09/09 14:22:55.494|> Trying to load assembly from package: Grpc.Net.Client
2024/09/09 14:22:55.494|> Could not find file in DIS package.
2024/09/09 14:22:55.494|> Trying to load assembly via service: Grpc.Net.Client, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d754f35622e28bad
2024/09/09 14:22:55.494|> Getting path via service...
2024/09/09 14:22:55.494|> Path:
2024/09/09 14:22:55.494|> Could not load assembly 'Grpc.Net.Client'.
2024/09/09 14:22:55.516|> Resolving assembly: Microsoft.Extensions.Logging.Abstractions, Version=3.0.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
2024/09/09 14:22:55.517|> Trying to load assembly from package: Microsoft.Extensions.Logging.Abstractions
2024/09/09 14:22:55.517|> Try to load Microsoft.Extensions.Logging.Abstractions from path 'c:\users\milos\appdata\local\microsoft\visualstudio\17.0_cc8b9777\extensions\ppfjdxcj.5j1\Microsoft.Extensions.Logging.Abstractions.dll'.
2024/09/09 14:22:55.528|> Successfully loaded Microsoft.Extensions.Logging.Abstractions!
2024/09/09 14:22:55.529|> Resolving assembly: Grpc.Net.Common, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d754f35622e28bad
2024/09/09 14:22:55.529|> Trying to load assembly from package: Grpc.Net.Common
2024/09/09 14:22:55.530|> Could not find file in DIS package.
2024/09/09 14:22:55.530|> Trying to load assembly via service: Grpc.Net.Common, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d754f35622e28bad
2024/09/09 14:22:55.530|> Getting path via service...
2024/09/09 14:22:55.530|> Path:
2024/09/09 14:22:55.530|> Could not load assembly 'Grpc.Net.Common'.
2024/09/09 14:22:55.562|> Resolving assembly: System.Diagnostics.DiagnosticSource, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
2024/09/09 14:22:55.562|> Trying to load assembly from package: System.Diagnostics.DiagnosticSource
2024/09/09 14:22:55.563|> Try to load System.Diagnostics.DiagnosticSource from path 'c:\users\milos\appdata\local\microsoft\visualstudio\17.0_cc8b9777\extensions\ppfjdxcj.5j1\System.Diagnostics.DiagnosticSource.dll'.
2024/09/09 14:22:55.565|> Successfully loaded System.Diagnostics.DiagnosticSource!
2024/09/09 14:22:55.590|> Resolving assembly: System.Diagnostics.DiagnosticSource, Version=4.0.3.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
2024/09/09 14:22:55.590|> Trying to load assembly from package: System.Diagnostics.DiagnosticSource
2024/09/09 14:22:55.591|> Try to load System.Diagnostics.DiagnosticSource from path 'c:\users\milos\appdata\local\microsoft\visualstudio\17.0_cc8b9777\extensions\ppfjdxcj.5j1\System.Diagnostics.DiagnosticSource.dll'.
2024/09/09 14:22:55.591|> Successfully loaded System.Diagnostics.DiagnosticSource!
2024/09/09 14:22:57.722|> Resolving assembly: SLProtoBufLibrary.XmlSerializers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9789b1eac4cb1b12
2024/09/09 14:22:57.722|> Trying to load assembly from package: SLProtoBufLibrary.XmlSerializers
2024/09/09 14:22:57.722|> Could not find file in DIS package.
2024/09/09 14:22:57.722|> Trying to load assembly via service: SLProtoBufLibrary.XmlSerializers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9789b1eac4cb1b12
2024/09/09 14:22:57.722|> Getting path via service...
2024/09/09 14:22:57.722|> Path:
2024/09/09 14:22:57.722|> Could not load assembly 'SLProtoBufLibrary.XmlSerializers'.
2024/09/09 14:22:57.891|> Resolving assembly: Skyline.DataMiner.Spi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9789b1eac4cb1b12
2024/09/09 14:22:57.891|> Trying to load assembly from package: Skyline.DataMiner.Spi
2024/09/09 14:22:57.891|> Could not find file in DIS package.
2024/09/09 14:22:57.892|> Trying to load assembly via service: Skyline.DataMiner.Spi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9789b1eac4cb1b12
2024/09/09 14:22:57.892|> Getting path via service...
2024/09/09 14:22:57.892|> Path:
2024/09/09 14:22:57.892|> Could not load assembly 'Skyline.DataMiner.Spi'.
2024/09/09 14:22:59.111|> Resolving assembly: SLAPITypes, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9789b1eac4cb1b12
2024/09/09 14:22:59.111|> Trying to load assembly from package: SLAPITypes
2024/09/09 14:22:59.111|> Could not find file in DIS package.
2024/09/09 14:22:59.113|> Trying to load assembly via service: SLAPITypes, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9789b1eac4cb1b12
2024/09/09 14:22:59.113|> Getting path via service...
2024/09/09 14:22:59.113|> Path:
2024/09/09 14:22:59.113|> Could not load assembly 'SLAPITypes'.
2024/09/09 14:22:59.121|> Resolving assembly: SLAPITypes, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9789b1eac4cb1b12
2024/09/09 14:22:59.121|> Trying to load assembly from package: SLAPITypes
2024/09/09 14:22:59.122|> Could not find file in DIS package.
2024/09/09 14:22:59.122|> Trying to load assembly via service: SLAPITypes, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9789b1eac4cb1b12
2024/09/09 14:22:59.122|> Getting path via service...
2024/09/09 14:22:59.122|> Path:
2024/09/09 14:22:59.122|> Could not load assembly 'SLAPITypes'.
2024/09/09 14:22:59.313|> Resolving assembly: SLMediationSnippets, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9789b1eac4cb1b12
2024/09/09 14:22:59.315|> Trying to load assembly from package: SLMediationSnippets
2024/09/09 14:22:59.316|> Could not find file in DIS package.
2024/09/09 14:22:59.316|> Trying to load assembly via service: SLMediationSnippets, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9789b1eac4cb1b12
2024/09/09 14:22:59.317|> Getting path via service...
2024/09/09 14:22:59.317|> Path:
2024/09/09 14:22:59.317|> Could not load assembly 'SLMediationSnippets'.
2024/09/09 14:22:59.317|> Resolving assembly: SLMediationSnippets, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9789b1eac4cb1b12
2024/09/09 14:22:59.318|> Trying to load assembly from package: SLMediationSnippets
2024/09/09 14:22:59.318|> Could not find file in DIS package.
2024/09/09 14:22:59.318|> Trying to load assembly via service: SLMediationSnippets, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9789b1eac4cb1b12
2024/09/09 14:22:59.318|> Getting path via service...
2024/09/09 14:22:59.318|> Path:
2024/09/09 14:22:59.319|> Could not load assembly 'SLMediationSnippets'.
2024/09/09 14:22:59.326|> Resolving assembly: SLEndpointTool, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9789b1eac4cb1b12
2024/09/09 14:22:59.327|> Trying to load assembly from package: SLEndpointTool
2024/09/09 14:22:59.327|> Could not find file in DIS package.
2024/09/09 14:22:59.327|> Trying to load assembly via service: SLEndpointTool, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9789b1eac4cb1b12
2024/09/09 14:22:59.327|> Getting path via service...
2024/09/09 14:22:59.327|> Path:
2024/09/09 14:22:59.328|> Could not load assembly 'SLEndpointTool'.
2024/09/09 14:22:59.329|> Resolving assembly: SLEndpointTool, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9789b1eac4cb1b12
2024/09/09 14:22:59.329|> Trying to load assembly from package: SLEndpointTool
2024/09/09 14:22:59.329|> Could not find file in DIS package.
2024/09/09 14:22:59.329|> Trying to load assembly via service: SLEndpointTool, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9789b1eac4cb1b12
2024/09/09 14:22:59.329|> Getting path via service...
2024/09/09 14:22:59.329|> Path:
2024/09/09 14:22:59.330|> Could not load assembly 'SLEndpointTool'.
2024/09/09 14:23:00.102|> Resolving assembly: SLNet.Security, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9789b1eac4cb1b12
2024/09/09 14:23:00.102|> Trying to load assembly from package: SLNet.Security
2024/09/09 14:23:00.102|> Could not find file in DIS package.
2024/09/09 14:23:00.103|> Trying to load assembly via service: SLNet.Security, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9789b1eac4cb1b12
2024/09/09 14:23:00.103|> Getting path via service...
2024/09/09 14:23:00.103|> Path:
2024/09/09 14:23:00.103|> Could not load assembly 'SLNet.Security'.
2024/09/09 14:23:01.713|> Finished executing Connect (hostname: dmsdemo-operator.on.dataminer.services, username: username)
2024/09/09 14:23:01.714|> Connection Type: GRPCConnection
2024/09/09 14:23:01.715|> Executing GetDmaInfo
2024/09/09 14:23:02.887|> Finished executing GetDmaInfo
2024/09/09 14:23:02.897|> Executing GetAutomationScripts
2024/09/09 14:23:03.124|> Finished executing GetAutomationScripts
2024/09/09 14:23:03.129|> Executing SubscribeForChanges
2024/09/09 14:23:03.268|> Finished executing SubscribeForChanges
2024/09/09 14:23:03.268|Connected to DMA!
2024/09/09 14:27:20.266|> Unexpected exception: System.AggregateException: 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. ---> Grpc.Core.RpcException: Status(StatusCode="Cancelled", Detail="Call canceled by the client.")
2024/09/09 14:27:20.267|> --- End of inner exception stack trace ---
2024/09/09 14:27:20.267|> ---> (Inner Exception #0) Grpc.Core.RpcException: Status(StatusCode="Cancelled", Detail="Call canceled by the client.")<---
2024/09/09 14:27:20.267|>
2024/09/09 14:27:20.268|> Service callback channel is closed or faulted!
2024/09/09 14:27:20.275|> Unexpected exception: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Unexpected exception in SLDisDmaComm:
2024/09/09 14:27:20.275|> System.AggregateException: 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. ---> Grpc.Core.RpcException: Status(StatusCode="Cancelled", Detail="Call canceled by the client.")
2024/09/09 14:27:20.275|> --- End of inner exception stack trace ---
2024/09/09 14:27:20.275|> ---> (Inner Exception #0) Grpc.Core.RpcException: Status(StatusCode="Cancelled", Detail="Call canceled by the client.")<---
2024/09/09 14:27:20.276|> (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
2024/09/09 14:27:20.276|> System.Exception: Unexpected exception in SLDisDmaComm:
2024/09/09 14:27:20.276|> System.AggregateException: 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. ---> Grpc.Core.RpcException: Status(StatusCode="Cancelled", Detail="Call canceled by the client.")
2024/09/09 14:27:20.276|> --- End of inner exception stack trace ---
2024/09/09 14:27:20.276|> ---> (Inner Exception #0) Grpc.Core.RpcException: Status(StatusCode="Cancelled", Detail="Call canceled by the client.")<---
2024/09/09 14:27:20.276|>
2024/09/09 14:27:20.276|> at SLDisDMACommClient.CallbackHandler.OnUnexpectedException(String exception) in D:\a\DIS\DIS\ProtocolEditor\SLDisDMACommClient\CallbackHandler.cs:line 23
2024/09/09 14:27:20.276|> at SyncInvokeOnUnexpectedException(Object , Object[] , Object[] )
2024/09/09 14:27:20.277|> at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
2024/09/09 14:27:20.277|> at System.ServiceModel.Dispatcher.Dispatch...).
2024/09/09 14:27:21.422|>
2024/09/09 14:27:21.442|SLDisDmaComm service process is stopped!
2024/09/09 14:27:21.442|Cleaning up SLDisDmaComm resources
Hi Milos,
Data acquisition will schedule a ticket to further investigate and understand what is going wrong as initial investigation did not reveal the issue. When we have more information, we will reach out to you.