Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugs: Network and WindowsUpdates sensors, UI exception #68

Closed
JvdMaat opened this issue May 25, 2022 · 5 comments
Closed

Bugs: Network and WindowsUpdates sensors, UI exception #68

JvdMaat opened this issue May 25, 2022 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@JvdMaat
Copy link

JvdMaat commented May 25, 2022

Not sure which is the buggy sensor, but I added the following to Satellite:
CpuLoad, LastBoot, LastSystemStateChange, MemoryUsage, Network, WindowUpdates
The first time it replaced the WindowsUpdate with a second instance of Network. Then it left the above list in, but added a second instance of Network at the end. Removing all three (Network, WU, Network), then sending and activating, closing window, and re-opening left all three in there. At some point (trying to remove all three) it did remove the WindowsUpdate sensor, but left the duplicate Network sensors. At this point (trying to add/remove and fix it), I now have four Network sensors.
So there's some issues going on there that are beyond my comprehension

It also gives me a JIT debug occasionally when adding/removing:

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
   at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
   at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
   at System.Windows.Forms.Control.Invoke(Delegate method)
   at HASS.Agent.Controls.Service.ServiceSensors.ShowStored()
   at HASS.Agent.Controls.Service.ServiceSensors.BtnStore_Click(Object sender, EventArgs e)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)


************** Loaded Assemblies **************
System.Private.CoreLib
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Private.CoreLib.dll
----------------------------------------
HASS.Agent
    Assembly Version: 2022.11.4.0
    Win32 Version: 2022.11.4
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/HASS.Agent.dll
----------------------------------------
System.Runtime
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.dll
----------------------------------------
Syncfusion.Licensing
    Assembly Version: 19.4500.0.56
    Win32 Version: 19.4500.0.56
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Syncfusion.Licensing.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 6.0.2.0
    Win32 Version: 6.0.322.12307
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.3/System.Windows.Forms.dll
----------------------------------------
System.Windows.Forms.Primitives
    Assembly Version: 6.0.2.0
    Win32 Version: 6.0.322.12307
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.3/System.Windows.Forms.Primitives.dll
----------------------------------------
System.Drawing.Common
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.3/System.Drawing.Common.dll
----------------------------------------
Syncfusion.Shared.Base
    Assembly Version: 19.4500.0.56
    Win32 Version: 19.4500.0.56
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Syncfusion.Shared.Base.dll
----------------------------------------
System.ComponentModel.Primitives
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.ComponentModel.Primitives.dll
----------------------------------------
System.Runtime.InteropServices
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.InteropServices.dll
----------------------------------------
System.Drawing.Primitives
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Drawing.Primitives.dll
----------------------------------------
System.Collections.Specialized
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Collections.Specialized.dll
----------------------------------------
Serilog
    Assembly Version: 2.0.0.0
    Win32 Version: 2.10.0.0
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Serilog.dll
----------------------------------------
netstandard
    Assembly Version: 2.1.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/netstandard.dll
----------------------------------------
System.Collections
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Collections.dll
----------------------------------------
System.Linq
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Linq.dll
----------------------------------------
Serilog.Sinks.Async
    Assembly Version: 1.5.0.0
    Win32 Version: 1.5.0.0
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Serilog.Sinks.Async.dll
----------------------------------------
Serilog.Sinks.File
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.0.0
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Serilog.Sinks.File.dll
----------------------------------------
System.Net.Http
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Net.Http.dll
----------------------------------------
HotkeyListener
    Assembly Version: 1.3.0.0
    Win32 Version: 1.3.0.0
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/HotkeyListener.dll
----------------------------------------
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/mscorlib.dll
----------------------------------------
HASS.Agent.Shared
    Assembly Version: 2022.11.6.0
    Win32 Version: 2022.11.6.0
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/HASS.Agent.Shared.dll
----------------------------------------
MQTTnet
    Assembly Version: 3.1.2.0
    Win32 Version: 3.1.2
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/MQTTnet.dll
----------------------------------------
Grapeseed
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.0.0
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Grapeseed.dll
----------------------------------------
System.Threading
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Threading.dll
----------------------------------------
System.Net.Primitives
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Net.Primitives.dll
----------------------------------------
System.Diagnostics.Tracing
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Diagnostics.Tracing.dll
----------------------------------------
System.Diagnostics.DiagnosticSource
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Diagnostics.DiagnosticSource.dll
----------------------------------------
System.Net.Security
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Net.Security.dll
----------------------------------------
System.Security.Cryptography.X509Certificates
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Security.Cryptography.X509Certificates.dll
----------------------------------------
System.Text.RegularExpressions
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Text.RegularExpressions.dll
----------------------------------------
System.IO.FileSystem
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.IO.FileSystem.dll
----------------------------------------
System.Memory
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Memory.dll
----------------------------------------
System.Reflection.Emit.ILGeneration
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Reflection.Emit.ILGeneration.dll
----------------------------------------
System.Reflection.Emit.Lightweight
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Reflection.Emit.Lightweight.dll
----------------------------------------
System.Reflection.Primitives
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Reflection.Primitives.dll
----------------------------------------
System.Collections.Concurrent
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Collections.Concurrent.dll
----------------------------------------
System.Private.Uri
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Private.Uri.dll
----------------------------------------
Microsoft.Win32.Registry
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/Microsoft.Win32.Registry.dll
----------------------------------------
System.Diagnostics.TraceSource
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Diagnostics.TraceSource.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: 13.0.0.0
    Win32 Version: 13.0.1.25517
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Newtonsoft.Json.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.dll
----------------------------------------
System.Runtime.Serialization.Formatters
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.Serialization.Formatters.dll
----------------------------------------
System.Linq.Expressions
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Linq.Expressions.dll
----------------------------------------
System.Text.Encoding.Extensions
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Text.Encoding.Extensions.dll
----------------------------------------
System.Runtime.Numerics
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.Numerics.dll
----------------------------------------
System.ComponentModel.TypeConverter
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.ComponentModel.TypeConverter.dll
----------------------------------------
System.ObjectModel
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.ObjectModel.dll
----------------------------------------
System.Runtime.Serialization.Primitives
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.Serialization.Primitives.dll
----------------------------------------
System.Data.Common
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Data.Common.dll
----------------------------------------
System.Xml.ReaderWriter
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Xml.ReaderWriter.dll
----------------------------------------
System.Private.Xml
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Private.Xml.dll
----------------------------------------
System.ComponentModel
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.ComponentModel.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Private.CoreLib.dll
----------------------------------------
CoreAudio
    Assembly Version: 2021.9.1.37
    Win32 Version: 2021.9.1.37
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/CoreAudio.dll
----------------------------------------
System.Threading.Thread
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Threading.Thread.dll
----------------------------------------
System.Collections.NonGeneric
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Collections.NonGeneric.dll
----------------------------------------
System.Numerics.Vectors
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Numerics.Vectors.dll
----------------------------------------
Microsoft.Win32.Primitives
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/Microsoft.Win32.Primitives.dll
----------------------------------------
System.ComponentModel.EventBasedAsync
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.ComponentModel.EventBasedAsync.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 6.0.322.12307
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.3/Accessibility.dll
----------------------------------------
Syncfusion.Tools.Windows
    Assembly Version: 19.4500.0.56
    Win32 Version: 19.4500.0.56
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Syncfusion.Tools.Windows.dll
----------------------------------------
Syncfusion.Core.WinForms
    Assembly Version: 19.4500.0.56
    Win32 Version: 19.4500.0.56
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Syncfusion.Core.WinForms.dll
----------------------------------------
Microsoft.Win32.SystemEvents
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.3/Microsoft.Win32.SystemEvents.dll
----------------------------------------
HASS.Agent.resources
    Assembly Version: 2022.11.4.0
    Win32 Version: 2022.11.4
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/en/HASS.Agent.resources.dll
----------------------------------------
System.Resources.Extensions
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.3/System.Resources.Extensions.dll
----------------------------------------
System.Drawing
    Assembly Version: 6.0.2.0
    Win32 Version: 6.0.322.12307
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.3/System.Drawing.dll
----------------------------------------
HASS.Agent.Shared.resources
    Assembly Version: 2022.11.6.0
    Win32 Version: 2022.11.6.0
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/en/HASS.Agent.Shared.resources.dll
----------------------------------------
System.Threading.ThreadPool
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Threading.ThreadPool.dll
----------------------------------------
Grapevine
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.0.0
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Grapevine.dll
----------------------------------------
System.Security.Cryptography.Primitives
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Security.Cryptography.Primitives.dll
----------------------------------------
HADotNet.Core
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/HADotNet.Core.dll
----------------------------------------
Microsoft.Extensions.Configuration.Abstractions
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.21.52210
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Microsoft.Extensions.Configuration.Abstractions.dll
----------------------------------------
Microsoft.Extensions.DependencyInjection.Abstractions
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.21.52210
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Microsoft.Extensions.DependencyInjection.Abstractions.dll
----------------------------------------
MQTTnet.Extensions.ManagedClient
    Assembly Version: 3.1.2.0
    Win32 Version: 3.1.2
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/MQTTnet.Extensions.ManagedClient.dll
----------------------------------------
Microsoft.Extensions.Configuration
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Microsoft.Extensions.Configuration.dll
----------------------------------------
Microsoft.Extensions.Configuration.FileExtensions
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.20.51904
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Microsoft.Extensions.Configuration.FileExtensions.dll
----------------------------------------
Microsoft.Extensions.Configuration.Json
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.20.51904
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Microsoft.Extensions.Configuration.Json.dll
----------------------------------------
Microsoft.Extensions.FileProviders.Physical
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.20.51904
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Microsoft.Extensions.FileProviders.Physical.dll
----------------------------------------
Microsoft.Extensions.FileProviders.Abstractions
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.20.51904
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Microsoft.Extensions.FileProviders.Abstractions.dll
----------------------------------------
Microsoft.Extensions.Primitives
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.21.52210
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Microsoft.Extensions.Primitives.dll
----------------------------------------
System.ServiceProcess.ServiceController
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.21.52210
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/System.ServiceProcess.ServiceController.dll
----------------------------------------
System.IO.FileSystem.Watcher
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.IO.FileSystem.Watcher.dll
----------------------------------------
Microsoft.Extensions.FileSystemGlobbing
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.20.51904
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Microsoft.Extensions.FileSystemGlobbing.dll
----------------------------------------
System.Threading.Overlapped
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Threading.Overlapped.dll
----------------------------------------
Microsoft.Extensions.DependencyInjection
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.21.52210
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Microsoft.Extensions.DependencyInjection.dll
----------------------------------------
Microsoft.Extensions.Logging.Abstractions
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.21.52210
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Microsoft.Extensions.Logging.Abstractions.dll
----------------------------------------
System.Runtime.InteropServices.RuntimeInformation
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.InteropServices.RuntimeInformation.dll
----------------------------------------
Microsoft.Extensions.Logging
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.21.52210
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Microsoft.Extensions.Logging.dll
----------------------------------------
Microsoft.Extensions.Options
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.21.52210
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Microsoft.Extensions.Options.dll
----------------------------------------
System.Net.Sockets
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Net.Sockets.dll
----------------------------------------
Serilog.Extensions.Logging
    Assembly Version: 2.0.0.0
    Win32 Version: 3.1.0.0
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Serilog.Extensions.Logging.dll
----------------------------------------
System.Net.NameResolution
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Net.NameResolution.dll
----------------------------------------
System.Security.Principal.Windows
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Security.Principal.Windows.dll
----------------------------------------
System.Security.Claims
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Security.Claims.dll
----------------------------------------
System.Net.HttpListener
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Net.HttpListener.dll
----------------------------------------
System.Security.Cryptography.Encoding
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Security.Cryptography.Encoding.dll
----------------------------------------
Google.Protobuf
    Assembly Version: 3.14.0.0
    Win32 Version: 3.14.0.0
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Google.Protobuf.dll
----------------------------------------
System.Text.Json
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Text.Json.dll
----------------------------------------
Grpc.Core.Api
    Assembly Version: 2.0.0.0
    Win32 Version: 2.33.1.0
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Grpc.Core.Api.dll
----------------------------------------
Octokit
    Assembly Version: 0.50.0.0
    Win32 Version: 0.50.0.0
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Octokit.dll
----------------------------------------
CliWrap
    Assembly Version: 3.4.2.0
    Win32 Version: 3.4.2.0
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/CliWrap.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Core.dll
----------------------------------------
System.Net.WebSockets
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Net.WebSockets.dll
----------------------------------------
System.Runtime.Extensions
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.Extensions.dll
----------------------------------------
System.Xml.XmlSerializer
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Xml.XmlSerializer.dll
----------------------------------------
System.IO.IsolatedStorage
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.IO.IsolatedStorage.dll
----------------------------------------
System.Windows.Forms.Design
    Assembly Version: 6.0.2.0
    Win32 Version: 6.0.322.12307
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.3/System.Windows.Forms.Design.dll
----------------------------------------
Syncfusion.SpellChecker.Base
    Assembly Version: 19.4500.0.56
    Win32 Version: 19.4500.0.56
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Syncfusion.SpellChecker.Base.dll
----------------------------------------
Syncfusion.Grid.Windows
    Assembly Version: 19.4500.0.56
    Win32 Version: 19.4500.0.56
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Syncfusion.Grid.Windows.dll
----------------------------------------
System.Text.Encodings.Web
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Text.Encodings.Web.dll
----------------------------------------
System.Runtime.Intrinsics
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.Intrinsics.dll
----------------------------------------
Microsoft.Windows.SDK.NET
    Assembly Version: 10.0.17763.24
    Win32 Version: 10.0.17763.24
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/Microsoft.Windows.SDK.NET.dll
----------------------------------------
WinRT.Runtime
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.1.38391
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/WinRT.Runtime.dll
----------------------------------------
System.Runtime.CompilerServices.Unsafe
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.CompilerServices.Unsafe.dll
----------------------------------------
System.Security.Cryptography.Algorithms
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Security.Cryptography.Algorithms.dll
----------------------------------------
System.Security.Cryptography.Csp
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Security.Cryptography.Csp.dll
----------------------------------------
System.Reflection.Emit
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Reflection.Emit.dll
----------------------------------------
Snippets
    Assembly Version: 0.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Linq.Expressions.dll
----------------------------------------
System.Security.Permissions
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.3/System.Security.Permissions.dll
----------------------------------------
System.Runtime.Loader
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.Loader.dll
----------------------------------------
GrpcDotNetNamedPipes
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/jeroe/AppData/Roaming/LAB02%20Research/HASS.Agent/GrpcDotNetNamedPipes.dll
----------------------------------------
System.IO.Pipes
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.IO.Pipes.dll
----------------------------------------
System.Security.AccessControl
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Security.AccessControl.dll
----------------------------------------
System.IO.Compression
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.IO.Compression.dll
----------------------------------------
System.Diagnostics.StackTrace
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Diagnostics.StackTrace.dll
----------------------------------------
System.Reflection.Metadata
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Reflection.Metadata.dll
----------------------------------------
System.Collections.Immutable
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.322.12309
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Collections.Immutable.dll
----------------------------------------

************** JIT Debugging **************

@LAB02-Admin
Copy link
Member

Can you please post both HASS.Agent and the service's logs? You can find the paths by going to Configuration and click the 'open logs folder' button in both the logging and satellite service tabs.

@JvdMaat
Copy link
Author

JvdMaat commented May 25, 2022

I'm not seeing how I can attach a file to this comment. How do you want them?

@JvdMaat
Copy link
Author

JvdMaat commented May 25, 2022

The log's big (22K at this point), but here's the pertinent part in the services log:

2022-05-25 08:21:17.193 -04:00 [INF] [SENSORSMANAGER] Processing 7 received sensor(s), deleting 0 sensor(s) ..
2022-05-25 08:21:17.213 -04:00 [INF] [SENSORS] Modified single-value sensor: jeroendell-satellite_cpuload
2022-05-25 08:21:17.295 -04:00 [INF] [SENSORS] Modified single-value sensor: jeroendell-satellite_gpuload
2022-05-25 08:21:17.370 -04:00 [INF] [SENSORS] Modified single-value sensor: jeroendell-satellite_gputemperature
2022-05-25 08:21:17.373 -04:00 [INF] [SENSORS] Modified single-value sensor: jeroendell-satellite_lastboot
2022-05-25 08:21:17.377 -04:00 [INF] [SENSORS] Modified single-value sensor: jeroendell-satellite_lastsystemstatechange
2022-05-25 08:21:17.391 -04:00 [INF] [SENSORS] Modified single-value sensor: jeroendell-satellite_memoryusage
2022-05-25 08:21:17.681 -04:00 [INF] [SENSORS] Added multi-value sensor: jeroendell-satellite_network
2022-05-25 08:21:17.683 -04:00 [INF] [SETTINGS_SENSORS] Stored 7 entities
2022-05-25 08:22:04.594 -04:00 [INF] [SENSORSMANAGER] Processing 8 received sensor(s), deleting 1 sensor(s) ..
2022-05-25 08:22:04.700 -04:00 [FTL] [SENSORSMANAGER] Error while storing: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
   at System.Collections.Generic.List`1.RemoveAt(Int32 index)
   at HASS.Agent.Satellite.Service.Sensors.SensorsManager.StoreAsync(List`1 sensors, List`1 toBeDeletedSensors)
2022-05-25 08:22:45.909 -04:00 [INF] [SENSORSMANAGER] Processing 9 received sensor(s), deleting 1 sensor(s) ..
2022-05-25 08:22:46.000 -04:00 [FTL] [SENSORSMANAGER] Error while storing: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
   at System.Collections.Generic.List`1.RemoveAt(Int32 index)
   at HASS.Agent.Satellite.Service.Sensors.SensorsManager.StoreAsync(List`1 sensors, List`1 toBeDeletedSensors)
2022-05-25 08:22:50.065 -04:00 [INF] [SENSORSMANAGER] Processing 9 received sensor(s), deleting 1 sensor(s) ..
2022-05-25 08:22:50.155 -04:00 [FTL] [SENSORSMANAGER] Error while storing: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
   at System.Collections.Generic.List`1.RemoveAt(Int32 index)
   at HASS.Agent.Satellite.Service.Sensors.SensorsManager.StoreAsync(List`1 sensors, List`1 toBeDeletedSensors)
2022-05-25 08:23:41.483 -04:00 [INF] [SENSORSMANAGER] Processing 5 received sensor(s), deleting 2 sensor(s) ..

I left the network monitor to All, but it does see the NICs:
image

And on the WindowsUpdates side (May be a separate bug from the above):

2022-05-25 09:14:30.298 -04:00 [FTL] [WUPDATE] Unable to query update status, Windows update seems to be corrupt: 0x80248014
System.Runtime.InteropServices.COMException (0x80248014): 0x80248014
   at WUApiLib.IUpdateSearcher.Search(String criteria)
   at HASS.Agent.Shared.Functions.WindowsUpdatesManager.GetUpdateList()
2022-05-25 09:14:30.298 -04:00 [INF] [SENSORS] Multi-value sensor changed name, re-registering as new entity: jeroendell-satellite_network to jeroendell-satellite_windowsupdates
2022-05-25 09:14:30.308 -04:00 [INF] [SENSORS] Modified multi-value sensor: jeroendell-satellite_windowsupdates
2022-05-25 09:14:30.309 -04:00 [INF] [SETTINGS_SENSORS] Stored 7 entities

@LAB02-Admin LAB02-Admin self-assigned this May 25, 2022
@LAB02-Admin LAB02-Admin added the bug Something isn't working label May 25, 2022
@LAB02-Admin
Copy link
Member

LAB02-Admin commented May 25, 2022

Looks like a few interesting bugs, I can work with this. Thanks for the extensive info!

If the wupdates sensor doesn't work from HASS.Agent either, it's possible there's something wrong/off with your wupdate service.

[hassagent-101]

@LAB02-Admin LAB02-Admin changed the title Network Satellite sensor bugs out Bugs: Network and WindowsUpdates sensors, UI exception May 25, 2022
@LAB02-Admin
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants