Hello
I’m configuring this machine to use hops for an upcoming project. the server seems ready with the Hostname and the Port is set properly in the Grasshopper Preferences,
I’m testing it on a simple function:
The compute service seems to communicate properly with Gh, without much luck Later:
[11:21:13 INF] Rhino compute started at 11/6/2023 11:21:13 AM
[11:21:13 INF] Initiliazing reverse proxy at 11/6/2023 11:21:13 AM
[11:21:13 INF] Spawn children at startup is set to False
[11:21:14 INF] Now listening on: http://localhost:5000
[11:21:14 INF] Application started. Press Ctrl+C to shut down.
[11:21:14 INF] Hosting environment: Production
[11:21:14 INF] Content root path: C:\Users\tayO\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\Hops\0.16.2\rhino.computeCG [11:21:28 INF] Child process started at 11/6/2023 11:21:28 AM
CG [11:21:28 INF] Configuration Result:
[Success] Name compute.geometry
[Success] DisplayName rhino.compute
[Success] Description rhino.compute
[Success] ServiceName compute.geometry
CG [11:21:28 INF] Topshelf v4.1.0.172, .NET Framework v4.0.30319.42000
CG [11:21:28 INF] Compute 1.0.0.0, Rhino 7.34.23267.11001
CG [11:21:28 INF] Launching RhinoCore library as tay.0
CG 6001 [11:21:32 INF] (1/2) Loading grasshopper
CG 6001 [11:21:37 INF] The compute.geometry service is now running, press Control+C to exit.
[11:22:13 INF] Max concurrent requests = 1
[11:22:28 INF] Unable to start a local compute server
[11:22:28 ERR] HTTP POST /io responded 500 in 65430.6665 ms
System.Exception: Unable to start a local compute server
at rhino.compute.ComputeChildren.LaunchCompute(Queue`1 processQueue, Boolean waitUntilServing) in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ComputeChildren.cs:line 224
at rhino.compute.ComputeChildren.GetComputeServerBaseUrl() in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ComputeChildren.cs:line 96
at rhino.compute.ReverseProxyModule.ReverseProxyPost(HttpRequest req, HttpResponse res) in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ReverseProxy.cs:line 177
at Carter.CarterExtensions.<>c__DisplayClass1_0.<<CreateRouteHandler>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext)
[11:22:29 ERR] Connection id "0HMUUVM86GM3A", Request id "0HMUUVM86GM3A:00000002": An unhandled exception was thrown by the application.
System.Exception: Unable to start a local compute server
at rhino.compute.ComputeChildren.LaunchCompute(Queue`1 processQueue, Boolean waitUntilServing) in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ComputeChildren.cs:line 224
at rhino.compute.ComputeChildren.GetComputeServerBaseUrl() in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ComputeChildren.cs:line 96
at rhino.compute.ReverseProxyModule.ReverseProxyPost(HttpRequest req, HttpResponse res) in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ReverseProxy.cs:line 177
at Carter.CarterExtensions.<>c__DisplayClass1_0.<<CreateRouteHandler>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
[11:23:13 INF] Max concurrent requests = 1
[11:24:13 INF] Max concurrent requests = 0
[11:25:13 INF] Max concurrent requests = 0
[11:26:13 INF] Max concurrent requests = 0
Update: Works fine when running under V8, though only operates properly when using. NetCore
It doesn’t work properly when Rhino set to use .NetFramework!