OS Name/Version: Windows 10/Build 19045
Product Name/Version: 2.5.1.6
Problem Description: Prior to attempting an update, I was running a stable build on version 2.5.0.4. I followed the prompt to update on the web interface, and it never reconnected. Post-update, the service seemed to start and then promptly fail to initialize, presumably due to a Cryptographic error with ‘Newtonsoft.Json’ and/or some kind of assembly error related to it.
Here are what I’ve identified as relevant logs:
My most recent first-
[00:41:11] [AMPService Info/6] : Starting AMPService version 2.5.1.6 (Callisto), built 15/08/2024 03:39
[00:41:11] [AMPService Info/6] : Stream: Development / Development - built by CUBECODERS/buildbot on CCL-DEV
[00:41:12] [GSMyAdmin Warning/6] : Current time zone is set to Central America Standard Time - It is recommended you switch to UTC+0 to avoid time-zone related issues
[00:41:12] [AMPService Info/6] : OS: Windows / x86_64
[00:41:12] [AMPService Info/6] : CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (4C/8T)
[00:41:12] [AMPService Info/6] : RAM: 16268MB
[00:41:12] [AMPService Info/6] : AMP Instance ID: 7d66feb4-6738-4402-b639-cfaca924e4b4
[00:41:13] [GSMyAdmin Warning/6] : Assembly Newtonsoft.Json was loaded for Core via fallback handler, check plugin dependencies.
[00:41:13] [GSMyAdmin Warning/6] : Certificate contained unknown thumbprint: "667E87438D93824A8042D1E7C934BDD7F519C44E"
[00:41:13] [GSMyAdmin Error/6] : Unable to load module ADSModule: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. Failure during Cryptographic operation. (Exception from HRESULT: 0x80131430)
[00:41:13] [Core Error/6] : FileLoadException
[00:41:13] [Core Error/6] : [0] (FileLoadException) : Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. Failure during Cryptographic operation. (Exception from HRESULT: 0x80131430)
[00:41:13] [Core Error/6] : at SQLiteNetExtensions.Extensions.TextBlob.Serializers.JsonBlobSerializer.Deserialize(String text, Type type)
at SQLiteNetExtensions.Extensions.TextBlob.TextBlobOperations.GetTextBlobChild(Object element, PropertyInfo relationshipProperty)
at SQLiteNetExtensions.Extensions.ReadOperations.GetChildRecursive(SQLiteConnection conn, Object element, PropertyInfo relationshipProperty, Boolean recursive, Dictionary`2 objectCache)
at SQLiteNetExtensions.Extensions.ReadOperations.GetChildrenRecursive(SQLiteConnection conn, Object element, Boolean onlyCascadeChildren, Boolean recursive, Dictionary`2 objectCache)
at SQLiteNetExtensions.Extensions.ReadOperations.GetAllWithChildren[T](SQLiteConnection conn, Expression`1 filter, Boolean recursive)
at ADSModule.InstanceDatastoreManager.GetDatastoreSummaries(Boolean includeDisabled)
at ADSModule.WebMethods..ctor(IRunningTasksManager tasks, IPlatformInfo platform, ILogger log, ModuleMain module, RemoteADSController remotes, ITokenRequester tokens, IAMPInstanceInfo InstanceInfo, IAuthenticationProvider auth, InstanceDatastoreManager datastoreManager)
at ADSModule.ModuleMain.Init(IApplicationWrapper& Application, WebMethodsBase& APIMethods)
at GSMyAdmin.ModuleLoader.LoadApplicationModule(String ModuleName)
[00:41:13] [Core Error/6] : CryptographicException
[00:41:13] [Core Error/6] : [1] (CryptographicException) : A developer licence is required to load unsigned plugins.
[00:41:13] [Core Error/6] : at GSMyAdmin.ModuleLoader.CurrentDomain_AssemblyResolve(Object sender, ResolveEventArgs args)
at AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)
[00:41:13] [GSMyAdmin Fatal/6] : Failed to initialize application module.
And the rollover log including the initial update request.
[00:00:00] [GSMyAdmin Info] : Rollover from previous log file: AMP_Logs\AMPLOG 2024-08-14 06-14-09.log
[00:18:00] [GSMyAdmin Info] : Checking for AMP updates...
[00:18:00] [GSMyAdmin Info] : A new update is available!
[06:18:00] [GSMyAdmin Info] : Checking for AMP updates...
[06:18:00] [GSMyAdmin Info] : A new update is available!
[12:18:00] [GSMyAdmin Info] : Checking for AMP updates...
[12:18:00] [GSMyAdmin Info] : A new update is available!
[18:18:00] [GSMyAdmin Info] : Checking for AMP updates...
[18:18:01] [GSMyAdmin Info] : A new update is available!
[21:30:17] [GSMyAdmin:Jinx Warning] : Slow method invocation: GetSupportedAppSummaries took 5497ms to complete.
[21:30:17] [GSMyAdmin:Jinx Warning] : Slow response: ADSModule.GetSupportedAppSummaries took 5501ms to complete.
[21:31:36] [GSMyAdmin:Jinx Info] : Stop requested: AMP update requested via API
[21:31:36] [GSMyAdmin Notice] : AMP shutdown requested.
[21:31:36] [GSMyAdmin Notice] : Stopping Application...
[21:31:41] [GSMyAdmin Notice] : Stopping Web Server...
[21:31:41] [GSMyAdmin Info] : Web server shutdown.
[21:31:41] [GSMyAdmin Notice] : Goodbye!
I miss you Casper. <3
Steps to reproduce:
- Step 1 Access ADS via web interface
- Step 2 Update ADS via the ‘Update Available’ Prompt
- Step 3 Allow any running instances to stop for the update
Actions taken to resolve so far:
I apologize if this section isn’t very conclusive, i have been struggling with this for 4 hours and I do not remember everything I’ve tried.
Attempted multiple repair installations
Countless reboots (primarily addressing cache issues related to Windows 10)
I’ve dug through logs to no avail and tried a number of other solutions to problems related to mine.
I do have yet to try altering the release stream in hopes that this issue is version-specific, but I feel like it’s a reach. Thank you for reading.