Exit code 32 (NO_LICENCE) Error

OS Name/Version: Windows 10 x64

Product Name/Version: (Always use the full version number - not ‘Latest’) Triton v2.3.4.4

Problem Description: Whenever I try and start an instance I receive the error: exit code 32 (NO_LICENCE).

Steps to reproduce:

  • Step 1: Start an instance
  • Step 2
  • Step 3

Actions taken to resolve so far:
Googled.
Ran ampinstmgr reactivateall with a developer license.
Ended up reinstalling Windows and resetting up AMP.

Note: I am running AMP through a VPN, and my license key says 55/5 uses since I’m assuming every time I run the reactivate command it adds more.

Are there other ports that need to be forwarded?

Thanks for the help.

Log from the ADS instance:

[17:01:22] [AMPService Info]      : Starting AMPService version 2.3.4.4 (Triton), built 26/07/2022 20:08
[17:01:22] [AMPService Info]      : Stream: Mainline (Release) - built by CUBECODERS/buildbot on CCL-DEV
[17:01:22] [GSMyAdmin Warning]    : Current time zone is set to Pacific Standard Time - Servers should ideally be UTC to avoid time-zone related issues
[17:01:22] [AMPService Info]      : OS: Windows / x86_64
[17:01:22] [AMPService Info]      : CPU: AMD Ryzen 5 2600X Six-Core Processor (6C/12T)
[17:01:22] [AMPService Info]      : AMP Instance ID: 5c753916-0010-4b18-80fb-184e2cf46ce6
[17:01:23] [GSMyAdmin Info]       : Loaded ADSModule version 1.0.0.0 by CubeCoders Limited
[17:01:23] [GSMyAdmin Info]       : Loaded FileManagerPlugin version 1.0.0.0 by CubeCoders Limited
[17:01:23] [GSMyAdmin Info]       : Loaded EmailSenderPlugin version 1.0.0.0 by CubeCoders Limited
[17:01:23] [GSMyAdmin Info]       : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited
[17:01:23] [GSMyAdmin Info]       : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited
[17:01:23] [GSMyAdmin Info]       : Loaded CommonCorePlugin version 1.0.0.0 by CubeCoders Limited
[17:01:23] [GSMyAdmin Info]       : ADSModule requests dependency InstanceManagerPlugin...
[17:01:24] [GSMyAdmin Info]       : Loaded InstanceManagerPlugin version 1.0.0.0 by CubeCoders Limited
[17:01:24] [GSMyAdmin Info]       : ADSModule requests dependency SystemUserManagerPlugin...
[17:01:24] [GSMyAdmin Info]       : Loaded SystemUserManagerPlugin version 1.0.0.0 by CubeCoders Limited
[17:01:24] [GSMyAdmin Info]       : Loaded steamcmdplugin version 1.0.0.0 by CubeCoders Limited
[17:01:24] [ADS Info]             : Metrics server started OK on port 12820
[17:01:25] [System Info]          : Updating remote source CubeCoders/AMPTemplates
[17:01:25] [System Info]          : Updating existing remote source https://github.com/CubeCoders/AMPTemplates.git...
[17:01:25] [FileManager Error]    : Failure loading existing SSH keypair.
[17:01:25] [Core Error]           : CryptographicException
[17:01:25] [Core Error]           : [0] (CryptographicException) : Invalid key format - bad character.
[17:01:25] [Core Error]           :    at Rebex.Security.Cryptography.Pkcs.PrivateKeyInfo.lxpjx(Byte[] p0, Int32 p1, tzstt& p2, KeyAlgorithm& p3, String& p4)
   at Rebex.Security.Cryptography.Pkcs.PrivateKeyInfo.Load(Stream input, String password)
   at Rebex.Net.SshPrivateKey.cluhz(Stream p0, String p1)
   at FileManagerPlugin.PluginMain.GetKey()
[17:01:25] [FileManager Notice]   : No SSH keypair available for embedded server, generating new keypair...
[17:01:25] [FileManager Notice]   : Generated new keypair with fingerprint RVYOpDK1nwispA/LctwylYfXwAgDOL+Vbrwqb4sSG+g=
[17:01:25] [GSMyAdmin Notice]     : Using keypair with fingerprint RVYOpDK1nwispA/LctwylYfXwAgDOL+Vbrwqb4sSG+g=
[17:01:25] [GSMyAdmin Info]       : SFTP Server started on 0.0.0.0:2223
[17:01:25] [GSMyAdmin Info]       : Websockets are enabled.
[17:01:26] [GSMyAdmin Info]       : Webserver started on http://0.0.0.0:8080
[17:01:26] [WebServer Warning]    : RouterTimer@10Hz with 2 jobs started
[17:01:26] [System Info]          : Checking for AMP updates...
Already up to date.
[17:01:26] [System Info]          : AMP is up-to-date.
[17:01:30] [System Info]          : Waiting for AMP instance to start...
[17:01:31] [System Notice]        : AMP instance Bungee is now running.
[17:01:36] [System Info]          : Waiting for AMP instance to start...
[17:01:37] [System Notice]        : AMP instance Lobby is now running.
[17:01:37] [InstanceManager Activity] : Instance Bungee has stopped.
[17:01:37] [System Info]          : ADS logged stopped instance Bungee - exit code 32 (NO_LICENCE)
[17:01:37] [System Info]          : Reactivating instance Bungee...
[17:01:38] [System Info]          : Waiting for AMP instance to start...
[17:01:38] [System Notice]        : AMP instance Bungee is now running.
[17:01:44] [System Info]          : Waiting for AMP instance to start...
[17:01:44] [System Notice]        : AMP instance Factions is now running.
[17:01:45] [InstanceManager Activity] : Instance Lobby has stopped.
[17:01:45] [System Info]          : ADS logged stopped instance Lobby - exit code 32 (NO_LICENCE)
[17:01:45] [System Info]          : Reactivating instance Lobby...
[17:01:46] [System Info]          : Waiting for AMP instance to start...
[17:01:46] [System Notice]        : AMP instance Lobby is now running.
[17:02:00] [InstanceManager Activity] : Instance Factions has stopped.
[17:02:00] [System Info]          : ADS logged stopped instance Factions - exit code 32 (NO_LICENCE)
[17:02:00] [System Info]          : Reactivating instance Factions...
[17:02:01] [System Info]          : Waiting for AMP instance to start...
[17:02:01] [System Notice]        : AMP instance Factions is now running.
[17:02:02] [GSMyAdmin Error]      : Exception executing global interval tick. Collection was modified; enumeration operation may not execute.

Log from one of the minecraft instances:

[17:01:46] [Program Info]         : Starting AMP version 2.3.4.4 (Triton), built 26/07/2022 20:08
[17:01:46] [Program Info]         : Stream: Mainline (Release) - built by CUBECODERS/buildbot on CCL-DEV
[17:01:47] [Core Warning]         : Current time zone is set to Pacific Standard Time - Servers should ideally be UTC to avoid time-zone related issues
[17:01:47] [Program Info]         : OS: Windows / x86_64
[17:01:47] [Program Info]         : CPU: AMD Ryzen 5 2600X Six-Core Processor (6C/12T)
[17:01:47] [Program Info]         : AMP Instance ID: 812ca2d5-02eb-4721-8681-85d50dd4c0bb
[17:01:47] [Core Info]            : Loaded MinecraftModule version 1.0.0.3 by CubeCoders Limited
[17:01:47] [Core Info]            : Metrics publishing is enabled at udp://localhost:12820.
[17:01:47] [ModuleLoader Info]    : Loaded FileManagerPlugin version 1.0.0.0 by CubeCoders Limited
[17:01:47] [ModuleLoader Info]    : Loaded EmailSenderPlugin version 1.0.0.0 by CubeCoders Limited
[17:01:47] [ModuleLoader Info]    : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited
[17:01:47] [ModuleLoader Info]    : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited
[17:01:47] [ModuleLoader Info]    : Loaded CommonCorePlugin version 1.0.0.0 by CubeCoders Limited
[17:01:47] [ModuleLoader Notice]  : Using keypair with fingerprint gsninT0kSPSlffznEj8e6CvwiY4syoNJb99eQ7/yrwg=
[17:01:47] [ModuleLoader Info]    : SFTP Server started on 0.0.0.0:2231
[17:01:47] [Core Error]           : No valid AMP licence was found. Please run `ampinstmgr reactivate Lobby` to reactivate this instance.

Reactivating with a developer licence alone is not sufficient to start AMP, reactivate with a Pro/Network/Etc licence.

Reactivated with my professional key, was able to start an instance until I restarted the computer. Then received the same error.

Reactivate command:

[Info] AMP Instance Manager v2.3.4.4 built 26/07/2022 20:09
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
[Info] Checking licence key...
[Info] Licence Type:  AMP Professional
[Info] Current Usage: 64
[Info] Reactivating instance Bungee...
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error]    at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error]    at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error]    at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error]    at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error]    at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error]    at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Info] Done.
[Info] Checking licence key...
[Info] Licence Type:  AMP Professional
[Info] Current Usage: 65
[Info] Reactivating instance Lobby...
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error]    at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error]    at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error]    at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error]    at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error]    at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error]    at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Info] Done.
[Info] Checking licence key...
[Info] Licence Type:  AMP Professional
[Info] Current Usage: 66
[Info] Reactivating instance Factions...
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error]    at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error]    at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error]    at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error]    at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error]    at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error]    at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Info] Done.

ADS Log after restart:

[15:00:50] [AMPService Info]      : Starting AMPService version 2.3.4.4 (Triton), built 26/07/2022 20:08
[15:00:50] [AMPService Info]      : Stream: Mainline (Release) - built by CUBECODERS/buildbot on CCL-DEV
[15:00:51] [GSMyAdmin Warning]    : Current time zone is set to Pacific Standard Time - Servers should ideally be UTC to avoid time-zone related issues
[15:00:51] [AMPService Info]      : OS: Windows / x86_64
[15:00:51] [AMPService Info]      : CPU: AMD Ryzen 5 2600X Six-Core Processor (6C/12T)
[15:00:51] [AMPService Info]      : AMP Instance ID: 5c753916-0010-4b18-80fb-184e2cf46ce6
[15:00:51] [GSMyAdmin Info]       : Loaded ADSModule version 1.0.0.0 by CubeCoders Limited
[15:00:52] [GSMyAdmin Info]       : Loaded FileManagerPlugin version 1.0.0.0 by CubeCoders Limited
[15:00:52] [GSMyAdmin Info]       : Loaded EmailSenderPlugin version 1.0.0.0 by CubeCoders Limited
[15:00:52] [GSMyAdmin Info]       : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited
[15:00:52] [GSMyAdmin Info]       : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited
[15:00:52] [GSMyAdmin Info]       : Loaded CommonCorePlugin version 1.0.0.0 by CubeCoders Limited
[15:00:52] [GSMyAdmin Info]       : ADSModule requests dependency InstanceManagerPlugin...
[15:00:53] [GSMyAdmin Info]       : Loaded InstanceManagerPlugin version 1.0.0.0 by CubeCoders Limited
[15:00:53] [GSMyAdmin Info]       : ADSModule requests dependency SystemUserManagerPlugin...
[15:00:53] [GSMyAdmin Info]       : Loaded SystemUserManagerPlugin version 1.0.0.0 by CubeCoders Limited
[15:00:53] [GSMyAdmin Info]       : Loaded steamcmdplugin version 1.0.0.0 by CubeCoders Limited
[15:00:53] [ADS Info]             : Metrics server started OK on port 12820
[15:00:54] [System Info]          : Updating remote source CubeCoders/AMPTemplates
[15:00:54] [System Info]          : Updating existing remote source https://github.com/CubeCoders/AMPTemplates.git...
[15:00:54] [FileManager Error]    : Failure loading existing SSH keypair.
[15:00:54] [Core Error]           : CryptographicException
[15:00:54] [Core Error]           : [0] (CryptographicException) : Invalid key format - bad character.
[15:00:54] [Core Error]           :    at Rebex.Security.Cryptography.Pkcs.PrivateKeyInfo.lxpjx(Byte[] p0, Int32 p1, tzstt& p2, KeyAlgorithm& p3, String& p4)
   at Rebex.Security.Cryptography.Pkcs.PrivateKeyInfo.Load(Stream input, String password)
   at Rebex.Net.SshPrivateKey.cluhz(Stream p0, String p1)
   at FileManagerPlugin.PluginMain.GetKey()
[15:00:54] [FileManager Notice]   : No SSH keypair available for embedded server, generating new keypair...
[15:00:54] [FileManager Notice]   : Generated new keypair with fingerprint yOu+gilWG182peMD+ekGDI6EqEjNjWQVDVdebJx24Q4=
[15:00:55] [GSMyAdmin Notice]     : Using keypair with fingerprint yOu+gilWG182peMD+ekGDI6EqEjNjWQVDVdebJx24Q4=
[15:00:55] [GSMyAdmin Info]       : SFTP Server started on 0.0.0.0:2223
[15:00:55] [GSMyAdmin Info]       : Websockets are enabled.
[15:00:55] [GSMyAdmin Info]       : Webserver started on http://0.0.0.0:8080
[15:00:55] [WebServer Warning]    : RouterTimer@10Hz with 2 jobs started
[15:00:55] [System Info]          : Checking for AMP updates...
Already up to date.
[15:00:55] [System Info]          : AMP is up-to-date.
[15:00:59] [System Info]          : Waiting for AMP instance to start...
[15:01:00] [System Notice]        : AMP instance Bungee is now running.
[15:01:05] [System Info]          : Waiting for AMP instance to start...
[15:01:06] [System Notice]        : AMP instance Lobby is now running.
[15:01:06] [InstanceManager Activity] : Instance Bungee has stopped.
[15:01:07] [System Info]          : ADS logged stopped instance Bungee - exit code 32 (NO_LICENCE)
[15:01:07] [System Info]          : Reactivating instance Bungee...
[15:01:08] [System Info]          : Waiting for AMP instance to start...
[15:01:08] [System Notice]        : AMP instance Bungee is now running.
[15:01:13] [System Info]          : Waiting for AMP instance to start...
[15:01:14] [System Notice]        : AMP instance Factions is now running.
[15:01:14] [InstanceManager Activity] : Instance Lobby has stopped.
[15:01:14] [System Info]          : ADS logged stopped instance Lobby - exit code 32 (NO_LICENCE)
[15:01:14] [System Info]          : Reactivating instance Lobby...
[15:01:15] [System Info]          : Waiting for AMP instance to start...
[15:01:15] [System Notice]        : AMP instance Lobby is now running.
[15:01:30] [InstanceManager:idkhdd Activity] : Instance Factions has stopped.
[15:01:31] [System:idkhdd Info]   : ADS logged stopped instance Factions - exit code 32 (NO_LICENCE)

Try changing the windows service to delayed startup to avoid it losing its activation.

Tried that, same error.

AMP Service

Are you using wireless or hard wired networking? And do you have any VPN software installed?

I’m using hardwire and yes, I do have a VPN setup to pass through