Forums Archived

This forum has been archived. No new posts can be made and no new users can sign up. It remains here for reference only.

Find the new forums here

Argument Thrown on login to new Space Engineers instance (Windows Server)

  • 864 Views
  • Last Post 17 December 2018
codylilley posted this 16 December 2018

The OS you're using and its version: Windows Server 2016 Datacenter

The name and version of the Cubecoders product you are using. Make sure to specify the actual version, and not just that it's the 'latest' version.

A description of the issue you are having. I have installed AMP onto my Windows Server VM up in Azure. I was able to create the instance via the wizard without incident.

Once I allowed my configured port through the Windows Firewall and through the NSG (basically, the virtual router/firewall, external to the machine), I was able to load up the instance's login page.

However, when I successfully authenticate, I get the following message:

Argument Cannot bind to the target method because its signature or security transparency is not compatible with that of the delegate type.

Thrown by the 'Core' plugin while performing the 'GetSettingsSpec' method.

Advanced Details    
at ModuleShared.Extensions.CreateDelegate[T](MethodInfo method, Object target)  
at ModuleShared.StringSelectionSource.GetSelectionItems(Object context, IApplicationWrapper app)
at GSMyAdmin.WebServer.WebMethods.RefreshSettingsSourceCache()    
at GSMyAdmin.WebServer.WebMethods.GetSettingsSpec(IWebSession session)    
at GSMyAdmin.WebServer.WebAttributes.InvokeMethod(String MethodName, JObject Data, IHttpRequest request, IWebSession Session, WebMethodsBase MethodsClass, String RawRequest)    
at GSMyAdmin.WebServer.APIService.InvokeAPI(IHttpRequest request, IWebSession Session, JObject Data, String RequestModule, String RequestMethod, String RawRequest)

I have verified that I am using the correct credentials. Also, if I supply incorrect ones, I am informed that those credentials are incorrect.

I've attached an image of both the error page as well as the initial configuration of the instance. Slightly censored webpage SE Instance Config

Steps to reproduce the issue (for bugs in particular)

  • Download AMP from site
  • install (as Administrator)
  • New Instance
  • Start Service/Instance
  • Allow port through Windows Firewall and NSG
  • Navigate to server in Chrome
  • Successfully authenticate

What you have tried so far to resolve the issue and what happened.

  • Restart Instance

  • Restart Server

A paste of any relevant output from the log file for a given AMP instance (where applicable).

[00:42:01] [GSMyAdmin Info]       : Rollover from previous log file: AMP_Logs\AMPLOG 2018-12-15 20-52-54.log

[00:50:27] [GSMyAdmin:Anonymous Activity] : Authentication attempt for user Admin from My Home Public IP

[00:50:27] [GSMyAdmin:Admin Activity] : Authentication success

[00:50:28] [GSMyAdmin:Admin Warning] : Returned exception from API call

[00:50:28] [Core:Admin Error]     : [0] (ArgumentException) : Cannot bind to the target method because its signature or security transparency is not compatible with that of the delegate type.

[00:50:28] [Core:Admin Error]     : at ModuleShared.Extensions.CreateDelegate[T](MethodInfo method, Object target) at ModuleShared.StringSelectionSource.GetSelectionItems(Object context, IApplicationWrapper app) at GSMyAdmin.WebServer.WebMethods.RefreshSettingsSourceCache() at GSMyAdmin.WebServer.WebMethods.GetSettingsSpec(IWebSession session) at GSMyAdmin.WebServer.WebAttributes.InvokeMethod(String MethodName, JObject Data, IHttpRequest request, IWebSession Session, WebMethodsBase MethodsClass, String RawRequest) at GSMyAdmin.WebServer.APIService.InvokeAPI(IHttpRequest request, IWebSession Session, JObject Data, String RequestModule, String RequestMethod, String RawRequest)

For AMP, which application module you're using. Space Engineers (Module Version 1.0.0.2)

Order By: Standard | Newest | Votes
Mike posted this 16 December 2018

Where is AMPs datastore located?

codylilley posted this 16 December 2018

Where is AMPs datastore located?

C:\CubeCoders\AMP\Instances\AMP1-SpaceEngineers

Mike posted this 16 December 2018

Use the Windows instance manager to create an ADS instance, then use the ADS instance to create your space engineers instance.

codylilley posted this 16 December 2018

The ADS instance has been trying to create for 20 min, is that expected behavior?

I juat have a

Creating AMP Instance

Please Wait...

with five dots going in an endless loop style progress bar across the bottom of the window.

Should I wait it out or reboot and try again?

Mike posted this 17 December 2018

If it hasn't done it in a couple of minutes then something has gone wrong so nuke it and try again.

Close