RhinoCompute - Token / License issue

Hi,
I’m having a bit too many issues with RhinoCompute.

Logs

{"Timestamp":"2023-06-20T12:46:25.3842875+00:00","Level":"Information","MessageTemplate":"Child process started at 6/20/2023 12:46:25 PM","RenderedMessage":"Child process started at 6/20/2023 12:46:25 PM"}
{"Timestamp":"2023-06-20T12:46:25.6967651+00:00","Level":"Information","MessageTemplate":"Configuration Result:\n{0}","RenderedMessage":"Configuration Result:\n\"[Success] Name compute.geometry\r\n[Success] DisplayName rhino.compute\r\n[Success] Description rhino.compute\r\n[Success] ServiceName compute.geometry\"","Properties":{"0":"[Success] Name compute.geometry\r\n[Success] DisplayName rhino.compute\r\n[Success] Description rhino.compute\r\n[Success] ServiceName compute.geometry","SourceContext":"Topshelf.HostFactory"}}
{"Timestamp":"2023-06-20T12:46:25.7123892+00:00","Level":"Information","MessageTemplate":"{0} v{1}, .NET Framework v{2}","RenderedMessage":"\"Topshelf\" v\"4.1.0.172\", .NET Framework v\"4.0.30319.42000\"","Properties":{"0":"Topshelf","1":"4.1.0.172","2":"4.0.30319.42000","SourceContext":"Topshelf.HostConfigurators.HostConfiguratorImpl"}}
{"Timestamp":"2023-06-20T12:46:25.8999442+00:00","Level":"Information","MessageTemplate":"Compute {ComputeVersion}, Rhino {RhinoVersion}","RenderedMessage":"Compute \"1.0.0.0\", Rhino \"7.30.23163.13001\"","Properties":{"ComputeVersion":"1.0.0.0","RhinoVersion":"7.30.23163.13001"}}
{"Timestamp":"2023-06-20T12:46:25.8999442+00:00","Level":"Information","MessageTemplate":"Launching RhinoCore library as {User}","RenderedMessage":"Launching RhinoCore library as \"EC2AMAZ-G8B4MRL$\"","Properties":{"User":"EC2AMAZ-G8B4MRL$"}}
{"Timestamp":"2023-06-20T12:46:30.1657852+00:00","Level":"Error","MessageTemplate":"An exception occurred","RenderedMessage":"An exception occurred","Exception":"System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.\r\n   at Rhino.Runtime.InProcess.RhinoCore.InternalStartup(Int32 argc, String[] argv, StartupInfo& info, IntPtr hostWnd)\r\n   at Rhino.Runtime.InProcess.RhinoCore..ctor(String[] args, WindowStyle windowStyle, IntPtr hostWnd)\r\n   at compute.geometry.OwinSelfHost.Start(HostControl hctrl) in /home/runner/work/compute.rhino3d/compute.rhino3d/src/compute.geometry/Program.cs:line 115\r\n   at Topshelf.Builders.ControlServiceBuilder`1.ControlServiceHandle.Start(HostControl hostControl)\r\n   at Topshelf.Hosts.ConsoleRunHost.Run()","Properties":{"SourceContext":"Topshelf.Hosts.ConsoleRunHost"}}
{"Timestamp":"2023-06-20T12:47:39.8376015+00:00","Level":"Information","MessageTemplate":"Child process started at 6/20/2023 12:47:39 PM","RenderedMessage":"Child process started at 6/20/2023 12:47:39 PM"}
{"Timestamp":"2023-06-20T12:47:40.1657321+00:00","Level":"Information","MessageTemplate":"Configuration Result:\n{0}","RenderedMessage":"Configuration Result:\n\"[Success] Name compute.geometry\r\n[Success] DisplayName rhino.compute\r\n[Success] Description rhino.compute\r\n[Success] ServiceName compute.geometry\"","Properties":{"0":"[Success] Name compute.geometry\r\n[Success] DisplayName rhino.compute\r\n[Success] Description rhino.compute\r\n[Success] ServiceName compute.geometry","SourceContext":"Topshelf.HostFactory"}}
{"Timestamp":"2023-06-20T12:47:40.1813547+00:00","Level":"Information","MessageTemplate":"{0} v{1}, .NET Framework v{2}","RenderedMessage":"\"Topshelf\" v\"4.1.0.172\", .NET Framework v\"4.0.30319.42000\"","Properties":{"0":"Topshelf","1":"4.1.0.172","2":"4.0.30319.42000","SourceContext":"Topshelf.HostConfigurators.HostConfiguratorImpl"}}
{"Timestamp":"2023-06-20T12:47:40.4003669+00:00","Level":"Information","MessageTemplate":"Compute {ComputeVersion}, Rhino {RhinoVersion}","RenderedMessage":"Compute \"1.0.0.0\", Rhino \"7.30.23163.13001\"","Properties":{"ComputeVersion":"1.0.0.0","RhinoVersion":"7.30.23163.13001"}}
{"Timestamp":"2023-06-20T12:47:40.4003669+00:00","Level":"Information","MessageTemplate":"Launching RhinoCore library as {User}","RenderedMessage":"Launching RhinoCore library as \"EC2AMAZ-G8B4MRL$\"","Properties":{"User":"EC2AMAZ-G8B4MRL$"}}
{"Timestamp":"2023-06-20T12:47:44.2441539+00:00","Level":"Error","MessageTemplate":"An exception occurred","RenderedMessage":"An exception occurred","Exception":"System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.\r\n   at Rhino.Runtime.InProcess.RhinoCore.InternalStartup(Int32 argc, String[] argv, StartupInfo& info, IntPtr hostWnd)\r\n   at Rhino.Runtime.InProcess.RhinoCore..ctor(String[] args, WindowStyle windowStyle, IntPtr hostWnd)\r\n   at compute.geometry.OwinSelfHost.Start(HostControl hctrl) in /home/runner/work/compute.rhino3d/compute.rhino3d/src/compute.geometry/Program.cs:line 115\r\n   at Topshelf.Builders.ControlServiceBuilder`1.ControlServiceHandle.Start(HostControl hostControl)\r\n   at Topshelf.Hosts.ConsoleRunHost.Run()","Properties":{"SourceContext":"Topshelf.Hosts.ConsoleRunHost"}}
{"Timestamp":"2023-06-20T12:48:53.3291471+00:00","Level":"Information","MessageTemplate":"Child process started at 6/20/2023 12:48:53 PM","RenderedMessage":"Child process started at 6/20/2023 12:48:53 PM"}
{"Timestamp":"2023-06-20T12:48:53.5194939+00:00","Level":"Information","MessageTemplate":"Configuration Result:\n{0}","RenderedMessage":"Configuration Result:\n\"[Success] Name compute.geometry\r\n[Success] DisplayName rhino.compute\r\n[Success] Description rhino.compute\r\n[Success] ServiceName compute.geometry\"","Properties":{"0":"[Success] Name compute.geometry\r\n[Success] DisplayName rhino.compute\r\n[Success] Description rhino.compute\r\n[Success] ServiceName compute.geometry","SourceContext":"Topshelf.HostFactory"}}
{"Timestamp":"2023-06-20T12:48:53.5255052+00:00","Level":"Information","MessageTemplate":"{0} v{1}, .NET Framework v{2}","RenderedMessage":"\"Topshelf\" v\"4.1.0.172\", .NET Framework v\"4.0.30319.42000\"","Properties":{"0":"Topshelf","1":"4.1.0.172","2":"4.0.30319.42000","SourceContext":"Topshelf.HostConfigurators.HostConfiguratorImpl"}}
{"Timestamp":"2023-06-20T12:48:53.5672351+00:00","Level":"Information","MessageTemplate":"Compute {ComputeVersion}, Rhino {RhinoVersion}","RenderedMessage":"Compute \"1.0.0.0\", Rhino \"7.30.23163.13001\"","Properties":{"ComputeVersion":"1.0.0.0","RhinoVersion":"7.30.23163.13001"}}
{"Timestamp":"2023-06-20T12:48:53.5672351+00:00","Level":"Information","MessageTemplate":"Launching RhinoCore library as {User}","RenderedMessage":"Launching RhinoCore library as \"EC2AMAZ-G8B4MRL$\"","Properties":{"User":"EC2AMAZ-G8B4MRL$"}}
{"Timestamp":"2023-06-20T12:48:54.2512117+00:00","Level":"Error","MessageTemplate":"An exception occurred","RenderedMessage":"An exception occurred","Exception":"System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.\r\n   at Rhino.Runtime.InProcess.RhinoCore.InternalStartup(Int32 argc, String[] argv, StartupInfo& info, IntPtr hostWnd)\r\n   at Rhino.Runtime.InProcess.RhinoCore..ctor(String[] args, WindowStyle windowStyle, IntPtr hostWnd)\r\n   at compute.geometry.OwinSelfHost.Start(HostControl hctrl) in /home/runner/work/compute.rhino3d/compute.rhino3d/src/compute.geometry/Program.cs:line 115\r\n   at Topshelf.Builders.ControlServiceBuilder`1.ControlServiceHandle.Start(HostControl hostControl)\r\n   at Topshelf.Hosts.ConsoleRunHost.Run()","Properties":{"SourceContext":"Topshelf.Hosts.ConsoleRunHost"}}
{"Timestamp":"2023-06-20T13:13:54.0816167+00:00","Level":"Information","MessageTemplate":"Child process started at 6/20/2023 1:13:54 PM","RenderedMessage":"Child process started at 6/20/2023 1:13:54 PM"}
{"Timestamp":"2023-06-20T13:13:54.3941112+00:00","Level":"Information","MessageTemplate":"Configuration Result:\n{0}","RenderedMessage":"Configuration Result:\n\"[Success] Name compute.geometry\r\n[Success] DisplayName rhino.compute\r\n[Success] Description rhino.compute\r\n[Success] ServiceName compute.geometry\"","Properties":{"0":"[Success] Name compute.geometry\r\n[Success] DisplayName rhino.compute\r\n[Success] Description rhino.compute\r\n[Success] ServiceName compute.geometry","SourceContext":"Topshelf.HostFactory"}}
{"Timestamp":"2023-06-20T13:13:54.4097167+00:00","Level":"Information","MessageTemplate":"{0} v{1}, .NET Framework v{2}","RenderedMessage":"\"Topshelf\" v\"4.1.0.172\", .NET Framework v\"4.0.30319.42000\"","Properties":{"0":"Topshelf","1":"4.1.0.172","2":"4.0.30319.42000","SourceContext":"Topshelf.HostConfigurators.HostConfiguratorImpl"}}
{"Timestamp":"2023-06-20T13:13:54.5972397+00:00","Level":"Information","MessageTemplate":"Compute {ComputeVersion}, Rhino {RhinoVersion}","RenderedMessage":"Compute \"1.0.0.0\", Rhino \"7.30.23163.13001\"","Properties":{"ComputeVersion":"1.0.0.0","RhinoVersion":"7.30.23163.13001"}}
{"Timestamp":"2023-06-20T13:13:54.5972397+00:00","Level":"Information","MessageTemplate":"Launching RhinoCore library as {User}","RenderedMessage":"Launching RhinoCore library as \"EC2AMAZ-G8B4MRL$\"","Properties":{"User":"EC2AMAZ-G8B4MRL$"}}
{"Timestamp":"2023-06-20T13:13:58.2378867+00:00","Level":"Error","MessageTemplate":"An exception occurred","RenderedMessage":"An exception occurred","Exception":"System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.\r\n   at Rhino.Runtime.InProcess.RhinoCore.InternalStartup(Int32 argc, String[] argv, StartupInfo& info, IntPtr hostWnd)\r\n   at Rhino.Runtime.InProcess.RhinoCore..ctor(String[] args, WindowStyle windowStyle, IntPtr hostWnd)\r\n   at compute.geometry.OwinSelfHost.Start(HostControl hctrl) in /home/runner/work/compute.rhino3d/compute.rhino3d/src/compute.geometry/Program.cs:line 115\r\n   at Topshelf.Builders.ControlServiceBuilder`1.ControlServiceHandle.Start(HostControl hostControl)\r\n   at Topshelf.Hosts.ConsoleRunHost.Run()","Properties":{"SourceContext":"Topshelf.Hosts.ConsoleRunHost"}}
{"Timestamp":"2023-06-20T13:18:45.7538980+00:00","Level":"Information","MessageTemplate":"Child process started at 6/20/2023 1:18:45 PM","RenderedMessage":"Child process started at 6/20/2023 1:18:45 PM"}
{"Timestamp":"2023-06-20T13:18:46.0194854+00:00","Level":"Information","MessageTemplate":"Configuration Result:\n{0}","RenderedMessage":"Configuration Result:\n\"[Success] Name compute.geometry\r\n[Success] DisplayName rhino.compute\r\n[Success] Description rhino.compute\r\n[Success] ServiceName compute.geometry\"","Properties":{"0":"[Success] Name compute.geometry\r\n[Success] DisplayName rhino.compute\r\n[Success] Description rhino.compute\r\n[Success] ServiceName compute.geometry","SourceContext":"Topshelf.HostFactory"}}
{"Timestamp":"2023-06-20T13:18:46.0507440+00:00","Level":"Information","MessageTemplate":"{0} v{1}, .NET Framework v{2}","RenderedMessage":"\"Topshelf\" v\"4.1.0.172\", .NET Framework v\"4.0.30319.42000\"","Properties":{"0":"Topshelf","1":"4.1.0.172","2":"4.0.30319.42000","SourceContext":"Topshelf.HostConfigurators.HostConfiguratorImpl"}}
{"Timestamp":"2023-06-20T13:18:46.1601078+00:00","Level":"Information","MessageTemplate":"Compute {ComputeVersion}, Rhino {RhinoVersion}","RenderedMessage":"Compute \"1.0.0.0\", Rhino \"7.30.23163.13001\"","Properties":{"ComputeVersion":"1.0.0.0","RhinoVersion":"7.30.23163.13001"}}
{"Timestamp":"2023-06-20T13:18:46.1601078+00:00","Level":"Information","MessageTemplate":"Launching RhinoCore library as {User}","RenderedMessage":"Launching RhinoCore library as \"EC2AMAZ-G8B4MRL$\"","Properties":{"User":"EC2AMAZ-G8B4MRL$"}}
{"Timestamp":"2023-06-20T13:18:47.2072507+00:00","Level":"Error","MessageTemplate":"An exception occurred","RenderedMessage":"An exception occurred","Exception":"System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.\r\n   at Rhino.Runtime.InProcess.RhinoCore.InternalStartup(Int32 argc, String[] argv, StartupInfo& info, IntPtr hostWnd)\r\n   at Rhino.Runtime.InProcess.RhinoCore..ctor(String[] args, WindowStyle windowStyle, IntPtr hostWnd)\r\n   at compute.geometry.OwinSelfHost.Start(HostControl hctrl) in /home/runner/work/compute.rhino3d/compute.rhino3d/src/compute.geometry/Program.cs:line 115\r\n   at Topshelf.Builders.ControlServiceBuilder`1.ControlServiceHandle.Start(HostControl hostControl)\r\n   at Topshelf.Hosts.ConsoleRunHost.Run()","Properties":{"SourceContext":"Topshelf.Hosts.ConsoleRunHost"}}
{"Timestamp":"2023-06-20T14:12:24.1626039+00:00","Level":"Information","MessageTemplate":"Child process started at 6/20/2023 2:12:24 PM","RenderedMessage":"Child process started at 6/20/2023 2:12:24 PM"}
{"Timestamp":"2023-06-20T14:12:24.5219563+00:00","Level":"Information","MessageTemplate":"Configuration Result:\n{0}","RenderedMessage":"Configuration Result:\n\"[Success] Name compute.geometry\r\n[Success] DisplayName rhino.compute\r\n[Success] Description rhino.compute\r\n[Success] ServiceName compute.geometry\"","Properties":{"0":"[Success] Name compute.geometry\r\n[Success] DisplayName rhino.compute\r\n[Success] Description rhino.compute\r\n[Success] ServiceName compute.geometry","SourceContext":"Topshelf.HostFactory"}}
{"Timestamp":"2023-06-20T14:12:24.5375824+00:00","Level":"Information","MessageTemplate":"{0} v{1}, .NET Framework v{2}","RenderedMessage":"\"Topshelf\" v\"4.1.0.172\", .NET Framework v\"4.0.30319.42000\"","Properties":{"0":"Topshelf","1":"4.1.0.172","2":"4.0.30319.42000","SourceContext":"Topshelf.HostConfigurators.HostConfiguratorImpl"}}
{"Timestamp":"2023-06-20T14:12:24.7876664+00:00","Level":"Information","MessageTemplate":"Compute {ComputeVersion}, Rhino {RhinoVersion}","RenderedMessage":"Compute \"1.0.0.0\", Rhino \"7.30.23163.13001\"","Properties":{"ComputeVersion":"1.0.0.0","RhinoVersion":"7.30.23163.13001"}}
{"Timestamp":"2023-06-20T14:12:24.7876664+00:00","Level":"Information","MessageTemplate":"Launching RhinoCore library as {User}","RenderedMessage":"Launching RhinoCore library as \"EC2AMAZ-G8B4MRL$\"","Properties":{"User":"EC2AMAZ-G8B4MRL$"}}
{"Timestamp":"2023-06-20T14:12:29.6939293+00:00","Level":"Error","MessageTemplate":"An exception occurred","RenderedMessage":"An exception occurred","Exception":"System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.\r\n   at Rhino.Runtime.InProcess.RhinoCore.InternalStartup(Int32 argc, String[] argv, StartupInfo& info, IntPtr hostWnd)\r\n   at Rhino.Runtime.InProcess.RhinoCore..ctor(String[] args, WindowStyle windowStyle, IntPtr hostWnd)\r\n   at compute.geometry.OwinSelfHost.Start(HostControl hctrl) in /home/runner/work/compute.rhino3d/compute.rhino3d/src/compute.geometry/Program.cs:line 115\r\n   at Topshelf.Builders.ControlServiceBuilder`1.ControlServiceHandle.Start(HostControl hostControl)\r\n   at Topshelf.Hosts.ConsoleRunHost.Run()","Properties":{"SourceContext":"Topshelf.Hosts.ConsoleRunHost"}}
{"Timestamp":"2023-06-20T14:26:35.6985557+00:00","Level":"Information","MessageTemplate":"Child process started at 6/20/2023 2:26:35 PM","RenderedMessage":"Child process started at 6/20/2023 2:26:35 PM"}
{"Timestamp":"2023-06-20T14:26:36.0578995+00:00","Level":"Information","MessageTemplate":"Configuration Result:\n{0}","RenderedMessage":"Configuration Result:\n\"[Success] Name compute.geometry\r\n[Success] DisplayName rhino.compute\r\n[Success] Description rhino.compute\r\n[Success] ServiceName compute.geometry\"","Properties":{"0":"[Success] Name compute.geometry\r\n[Success] DisplayName rhino.compute\r\n[Success] Description rhino.compute\r\n[Success] ServiceName compute.geometry","SourceContext":"Topshelf.HostFactory"}}
{"Timestamp":"2023-06-20T14:26:36.0735218+00:00","Level":"Information","MessageTemplate":"{0} v{1}, .NET Framework v{2}","RenderedMessage":"\"Topshelf\" v\"4.1.0.172\", .NET Framework v\"4.0.30319.42000\"","Properties":{"0":"Topshelf","1":"4.1.0.172","2":"4.0.30319.42000","SourceContext":"Topshelf.HostConfigurators.HostConfiguratorImpl"}}
{"Timestamp":"2023-06-20T14:26:36.3235468+00:00","Level":"Information","MessageTemplate":"Compute {ComputeVersion}, Rhino {RhinoVersion}","RenderedMessage":"Compute \"1.0.0.0\", Rhino \"7.30.23163.13001\"","Properties":{"ComputeVersion":"1.0.0.0","RhinoVersion":"7.30.23163.13001"}}
{"Timestamp":"2023-06-20T14:26:36.3235468+00:00","Level":"Information","MessageTemplate":"Launching RhinoCore library as {User}","RenderedMessage":"Launching RhinoCore library as \"EC2AMAZ-G8B4MRL$\"","Properties":{"User":"EC2AMAZ-G8B4MRL$"}}
{"Timestamp":"2023-06-20T14:26:41.0266643+00:00","Level":"Error","MessageTemplate":"An exception occurred","RenderedMessage":"An exception occurred","Exception":"System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.\r\n   at Rhino.Runtime.InProcess.RhinoCore.InternalStartup(Int32 argc, String[] argv, StartupInfo& info, IntPtr hostWnd)\r\n   at Rhino.Runtime.InProcess.RhinoCore..ctor(String[] args, WindowStyle windowStyle, IntPtr hostWnd)\r\n   at compute.geometry.OwinSelfHost.Start(HostControl hctrl) in /home/runner/work/compute.rhino3d/compute.rhino3d/src/compute.geometry/Program.cs:line 115\r\n   at Topshelf.Builders.ControlServiceBuilder`1.ControlServiceHandle.Start(HostControl hostControl)\r\n   at Topshelf.Hosts.ConsoleRunHost.Run()","Properties":{"SourceContext":"Topshelf.Hosts.ConsoleRunHost"}}
{"Timestamp":"2023-06-20T14:29:44.2241125+00:00","Level":"Information","MessageTemplate":"Child process started at 6/20/2023 2:29:44 PM","RenderedMessage":"Child process started at 6/20/2023 2:29:44 PM"}
{"Timestamp":"2023-06-20T14:29:44.4115323+00:00","Level":"Information","MessageTemplate":"Configuration Result:\n{0}","RenderedMessage":"Configuration Result:\n\"[Success] Name compute.geometry\r\n[Success] DisplayName rhino.compute\r\n[Success] Description rhino.compute\r\n[Success] ServiceName compute.geometry\"","Properties":{"0":"[Success] Name compute.geometry\r\n[Success] DisplayName rhino.compute\r\n[Success] Description rhino.compute\r\n[Success] ServiceName compute.geometry","SourceContext":"Topshelf.HostFactory"}}
{"Timestamp":"2023-06-20T14:29:44.4271491+00:00","Level":"Information","MessageTemplate":"{0} v{1}, .NET Framework v{2}","RenderedMessage":"\"Topshelf\" v\"4.1.0.172\", .NET Framework v\"4.0.30319.42000\"","Properties":{"0":"Topshelf","1":"4.1.0.172","2":"4.0.30319.42000","SourceContext":"Topshelf.HostConfigurators.HostConfiguratorImpl"}}
{"Timestamp":"2023-06-20T14:29:44.4900637+00:00","Level":"Information","MessageTemplate":"Compute {ComputeVersion}, Rhino {RhinoVersion}","RenderedMessage":"Compute \"1.0.0.0\", Rhino \"7.30.23163.13001\"","Properties":{"ComputeVersion":"1.0.0.0","RhinoVersion":"7.30.23163.13001"}}
{"Timestamp":"2023-06-20T14:29:44.4900637+00:00","Level":"Information","MessageTemplate":"Launching RhinoCore library as {User}","RenderedMessage":"Launching RhinoCore library as \"EC2AMAZ-G8B4MRL$\"","Properties":{"User":"EC2AMAZ-G8B4MRL$"}}
{"Timestamp":"2023-06-20T14:29:45.2459672+00:00","Level":"Error","MessageTemplate":"An exception occurred","RenderedMessage":"An exception occurred","Exception":"System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.\r\n   at Rhino.Runtime.InProcess.RhinoCore.InternalStartup(Int32 argc, String[] argv, StartupInfo& info, IntPtr hostWnd)\r\n   at Rhino.Runtime.InProcess.RhinoCore..ctor(String[] args, WindowStyle windowStyle, IntPtr hostWnd)\r\n   at compute.geometry.OwinSelfHost.Start(HostControl hctrl) in /home/runner/work/compute.rhino3d/compute.rhino3d/src/compute.geometry/Program.cs:line 115\r\n   at Topshelf.Builders.ControlServiceBuilder`1.ControlServiceHandle.Start(HostControl hostControl)\r\n   at Topshelf.Hosts.ConsoleRunHost.Run()","Properties":{"SourceContext":"Topshelf.Hosts.ConsoleRunHost"}}
{"Timestamp":"2023-06-20T14:37:03.5826516+00:00","Level":"Information","MessageTemplate":"Child process started at 6/20/2023 2:37:03 PM","RenderedMessage":"Child process started at 6/20/2023 2:37:03 PM"}
{"Timestamp":"2023-06-20T14:37:03.9107907+00:00","Level":"Information","MessageTemplate":"Configuration Result:\n{0}","RenderedMessage":"Configuration Result:\n\"[Success] Name compute.geometry\r\n[Success] DisplayName rhino.compute\r\n[Success] Description rhino.compute\r\n[Success] ServiceName compute.geometry\"","Properties":{"0":"[Success] Name compute.geometry\r\n[Success] DisplayName rhino.compute\r\n[Success] Description rhino.compute\r\n[Success] ServiceName compute.geometry","SourceContext":"Topshelf.HostFactory"}}
{"Timestamp":"2023-06-20T14:37:03.9264308+00:00","Level":"Information","MessageTemplate":"{0} v{1}, .NET Framework v{2}","RenderedMessage":"\"Topshelf\" v\"4.1.0.172\", .NET Framework v\"4.0.30319.42000\"","Properties":{"0":"Topshelf","1":"4.1.0.172","2":"4.0.30319.42000","SourceContext":"Topshelf.HostConfigurators.HostConfiguratorImpl"}}
{"Timestamp":"2023-06-20T14:37:04.1455317+00:00","Level":"Information","MessageTemplate":"Compute {ComputeVersion}, Rhino {RhinoVersion}","RenderedMessage":"Compute \"1.0.0.0\", Rhino \"7.30.23163.13001\"","Properties":{"ComputeVersion":"1.0.0.0","RhinoVersion":"7.30.23163.13001"}}
{"Timestamp":"2023-06-20T14:37:04.1455317+00:00","Level":"Information","MessageTemplate":"Launching RhinoCore library as {User}","RenderedMessage":"Launching RhinoCore library as \"EC2AMAZ-G8B4MRL$\"","Properties":{"User":"EC2AMAZ-G8B4MRL$"}}
{"Timestamp":"2023-06-20T14:37:08.1452769+00:00","Level":"Error","MessageTemplate":"An exception occurred","RenderedMessage":"An exception occurred","Exception":"System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.\r\n   at Rhino.Runtime.InProcess.RhinoCore.InternalStartup(Int32 argc, String[] argv, StartupInfo& info, IntPtr hostWnd)\r\n   at Rhino.Runtime.InProcess.RhinoCore..ctor(String[] args, WindowStyle windowStyle, IntPtr hostWnd)\r\n   at compute.geometry.OwinSelfHost.Start(HostControl hctrl) in /home/runner/work/compute.rhino3d/compute.rhino3d/src/compute.geometry/Program.cs:line 115\r\n   at Topshelf.Builders.ControlServiceBuilder`1.ControlServiceHandle.Start(HostControl hostControl)\r\n   at Topshelf.Hosts.ConsoleRunHost.Run()","Properties":{"SourceContext":"Topshelf.Hosts.ConsoleRunHost"}}

I understand that this is a problem with the license and token since by running Rhino7 shortcut created in the desktop It won’t run and ask for a license.

These are my env. variables

PUBLIC=C:\Users\Public
RHINO_COMPUTE_KEY=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 'replaced'
RHINO_COMPUTE_LOG_PATH=C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\rhino.compute\logs
RHINO_COMPUTE_URLS=http://+:80
RHINO_TOKEN=RH70-xxxx-xxxx-xxxx-xxxx-xxx 'replaced'

What procedure should I follow in order to add the license in a way that enables rhinocompute to work?

@stevebaer
@AndyPayne
@fraguada

Thank you very much in advance.

@pedrocortes

Hi @farouk.serragedine. I’m sorry to hear you’re having trouble. I think the issue here is that Rhino isn’t getting the license correctly… and I believe this could be because you may not have input the correct license auth token during the bootstrap script. I realize that you replaced the RHINO_TOKEN value in the snippet above (which is what you should do)… but the auth tokens for a core-hour billing license usually don’t start with RH70. They’re usually really long encoded strings and much longer than 24 characters.
I think you should probably first check that you’ve got your core-hour billing license set up properly. To do that, please review this page. At the bottom of the page, you’ll see some instructions on how to set your environment variable with this auth token. Since it’s too long for the Environment Variable editing dialog, you’ll need to set it via a powershell command. That command should look like this:

[System.Environment]::SetEnvironmentVariable('RHINO_TOKEN', 'your token here', 'Machine')

Once you’ve set the environment variable correctly, try restarting your VM and then logging back in and launching Rhino 7. If everything has worked correctly, then Rhino 7 will start and load correctly. From there, hopefully everything else with your IIS setup will function correctly, but let me know if you have any other questions.

1 Like

Thank you so much It was indeed a license problem, I had tied the Rhino License instead of the Core license :upside_down_face:
Thank you so much for your fast reply Andy !!!