Hey there
I have a problem regarding the Rhino Compute Server.
I’m running Rhino 8 and installed Hops v.0.16.4.
Hops is running on Grasshopper Startup with the console Window open.
There is a Application startup exception as soon as it starts. If i direct in the browser to the localhost:6xxx there is " An error occurred while starting the application." written.
I’ve tried reinstalling Rhino and Hops but nothing worked. Can u help me?
Here is the complete Compute Log:
[21:45:48 INF] Rhino compute started at 12.02.2024 21:45:48
[21:45:48 INF] Initiliazing reverse proxy at 12.02.2024 21:45:48
[21:45:48 INF] Spawn children at startup is set to True
[21:45:48 INF] Now listening on: http://localhost:6500
[21:45:48 INF] Application started. Press Ctrl+C to shut down.
[21:45:48 INF] Hosting environment: Production
[21:45:48 INF] Content root path: C:\Users\username\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\Hops\0.16.3\rhino.compute
CG [21:45:52 INF] Child process started at 12.02.2024 21:45:52
CG [21:45:52 INF] Parsed port = 6001
CG [21:45:54 FTL] Application startup exception
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 Rhino.Runtime.InProcess.RhinoCore…ctor(String args, WindowStyle windowStyle)
at compute.geometry.Startup.RhinoCoreStartup() in D:\BuildAgent\work\4852f584398a78e4\src\compute.geometry\Startup.cs:line 45
at compute.geometry.Startup.Configure(IApplicationBuilder app) in D:\BuildAgent\work\4852f584398a78e4\src\compute.geometry\Startup.cs:line 30
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
CG [21:45:54 INF] Now listening on: http://localhost:6001
CG [21:45:54 INF] Application started. Press Ctrl+C to shut down.
CG [21:45:54 INF] Hosting environment: Production
CG [21:45:54 INF] Content root path: C:\Users\username\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\Hops\0.16.3\rhino.compute
CG [21:45:58 INF] Child process started at 12.02.2024 21:45:58
[21:45:58 ERR] HTTP GET /launch responded 500 in 10215.9978 ms
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.AspNetCore.Routing.EndpointMiddleware.Invoke(HttpContext httpContext)
— End of stack trace from previous location —
at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext)
[21:45:58 ERR] Connection id “0HN1C1EBU3FO5”, Request id “0HN1C1EBU3FO5:00000001”: An unhandled exception was thrown by the application.
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.AspNetCore.Routing.EndpointMiddleware.Invoke(HttpContext httpContext)
— End of stack trace from previous location —
at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
CG [21:45:58 INF] Parsed port = 6002