Rhino Compute not starting on Azure VM

Hi All, I’ve followed this tutorial and everything seemed to be installed and running correctly,
However, I was not able to reach the VM from my local machine (using hops like the tutorial).

When I run the compute.geometry.exe instance manually in the VM I get the following log:

upon investigation im also getting this warning when opening rhino in the VM:

seat-based licensing is not supported for your device

Microsoft Windows [Version 10.0.17763.2928]
(c) 2018 Microsoft Corporation. All rights reserved.

CG  [13:35:58 INF] Child process started at 5/12/2022 1:35:58 PM
CG  [13:35:58 INF] Configuration Result:
[Success] Name compute.geometry
[Success] DisplayName rhino.compute
[Success] Description rhino.compute
[Success] ServiceName compute.geometry
CG  [13:35:58 INF] Topshelf v4.1.0.172, .NET Framework v4.0.30319.42000
CG  [13:35:58 INF] Compute, Rhino 7.18.22124.3001
CG  [13:35:58 INF] Launching RhinoCore library as researchInnovation
CG  [13:36:01 ERR] An exception occurred
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at Rhino.Runtime.InProcess.RhinoCore.InternalStartup(Int32 argc, String[] argv, StartupInfo& info, IntPtr hostWnd)
   at Rhino.Runtime.InProcess.RhinoCore..ctor(String[] args, WindowStyle windowStyle, IntPtr hostWnd)
   at compute.geometry.OwinSelfHost.Start(HostControl hctrl) in /home/runner/work/compute.rhino3d/compute.rhino3d/src/compute.geometry/Program.cs:line 115
   at Topshelf.Builders.ControlServiceBuilder`1.ControlServiceHandle.Start(HostControl hostControl)
   at Topshelf.Hosts.ConsoleRunHost.Run()


I believe Rhino only allows per-hour billing on server OS.

Might actually be a licensing issue, when try to activate the core-hour billing I get the following message.

I though getting the AuthToken got me through this step :upside_down_face:

As I am part of a license Team, is it possible to use this in the VM? or activate the perhour billing?

Hi @David43 - that’s correct - you need to create a new team that has no licenses in it in order to enable core-hour billing. The two licensing methods are not compatible with each other.

1 Like

Hi there, I believe I’m running into a similar issue.
I get the same error as @David43 when running rhino.compute.exe, and when trying to run Rhino 7 on the VM I get an error message saying:

Rhino requires a license to run.
Rhino will now exit

I have set up core hour billing as instructed here, and it is the only license in the team. I have checked the token, API-key, and the email address are all correct and yet I still get this issue.

Any help would be much appreciated!