Note - If you do not fill in every section below, your post won’t be answered - you must provide the steps you have followed so far and the actions you’ve already taken. Make sure to remove this notice from your post too.
OS Name/Version: Windows Server 2019 Standard
Product Name/Version: 18.104.22.168
I enabled the UPNP sync. Upgraded the instances and restarted them. Checked my router and it did not forward the ports via UPNP. Other applications have port forwarding working within the network.
Actions taken to resolve so far:
Ran the command and looks like it ran smooth bot no UPNP sadly
[Info] AMP Instance Manager v22.214.171.124 built 28/03/2022 15:22
e[0m[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
e[0m[Info] Using Windows Advanced Firewall firewall.
e[0m[Info] Adding 3 new firewall rules
e[0m[Info] Firewall rule to add: TCP/2232 (AMP:TESTUPNP:FileManagerPlugin.SFTP.SFTPPortNumber)
e[0m[Info] Firewall rule to add: UDP/34197 (AMP:TESTUPNP:FactorioModule.Startup.Port)
e[0m[Info] Firewall rule to add: TCP/7779 (AMP:TESTUPNP:FactorioModule.Startup.RCONPort)
e[0m[Info] No existing firewall rules to remove
Uninstalled the Instance Manager
Downloaded latest from the website, did custom installation and made sure UPNP was enabled
Created a new instance
Ran the updatefirewall
Still no UPNP Syncing I did confirm the setting was still enabled.
[Info] AMP Instance Manager v2.3.4 built 16/06/2022 16:35
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
[Info] Using Windows Advanced Firewall firewall.
[Info] Adding 3 new firewall rules
[Info] Firewall rule to add: TCP/2232 (AMP:TestUPNP:FileManagerPlugin.SFTP.SFTPPortNumber)
[Info] Firewall rule to add: UDP/34197 (AMP:TestUPNP:FactorioModule.Startup.Port)
[Info] Firewall rule to add: TCP/7779 (AMP:TestUPNP:FactorioModule.Startup.RCONPort)
[Info] No existing firewall rules to remove
so I went back to this and I noticed a space in the registry name. Correcting that registry name I get the following error now
[Error] IM was unable to execute the requested command.
[Error]  (TargetInvocationException) : Exception has been thrown by the target of an invocation.
[Error] at InstanceManagerCLI.Core.ExecuteCommand(List`1 Params, Dictionary`2 Args)
[Error]  (InvalidCastException) : Specified cast is not valid.
[Error] at InstanceManagerPlugin.LocalInstanceManager.get_Platform_GetUPnPSyncEnabled()
at InstanceManagerCLI.Core.UpdateFirewall(String SourceUser, Boolean DryRun, Boolean forceUPnPSync)