Grasshopper Hops doesn't work on RH8 SR17

Hi there!

I was using the Hops component in grasshopper with localy saved grasshopper scripts.

The plugin works nicely on RH8 SR13 from my experience. But it doesnt work on SR16 or SR17.
This is the error message on the hops component: “1. Path appears valid, but to something that is not Hops related”

The Hops version I am using is the latest 0.16.23.

This is the grasshopper file i tried to connect:
move.gh (3.8 KB)

Is it just me or does anyone have the same problem?

Can you post a screenshot of the Rhino.Compute console output to see if it’s telling you why you might be running into this issue?

Hi,

I revisited it. But it still doesnt work:


hops version: 0.16.23
Rhino 8 SR18
Windows 10 Home

Thank you.
Have a nice day.

Vratislav

Right. But can you take a screenshot of the actual Rhino.Compute console window? You may need to go to the Hops preferences section and unselect the option to hide the Rhino.Compute console window on startup. Please see this guide: Rhino - The Hops Component

Hi,
This is the screenshot:

RC [09:25:03 ERR] HTTP POST /io responded 500 in 34141.8268 ms
System.Exception: Unable to start a local compute server
at rhino.compute.ComputeChildren.LaunchCompute(Queue1 processQueue, Boolean waitUntilServing) in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ComputeChildren.cs:line 229 at rhino.compute.ComputeChildren.GetComputeServerBaseUrl() in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ComputeChildren.cs:line 98 at rhino.compute.ReverseProxyModule.<>c.<InitializeChildren>b__5_0() in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ReverseProxy.cs:line 43 at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at rhino.compute.ReverseProxyModule.AwaitInitTask() in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ReverseProxy.cs:line 119 at rhino.compute.ReverseProxyModule.ReverseProxyPost(HttpRequest req, HttpResponse res) in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ReverseProxy.cs:line 179 at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext) RC [09:25:03 ERR] Connection id "0HNBTG3A2CNA7", Request id "0HNBTG3A2CNA7:00000001": An unhandled exception was thrown by the application. System.Exception: Unable to start a local compute server at rhino.compute.ComputeChildren.LaunchCompute(Queue1 processQueue, Boolean waitUntilServing) in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ComputeChildren.cs:line 229
at rhino.compute.ComputeChildren.GetComputeServerBaseUrl() in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ComputeChildren.cs:line 98
at rhino.compute.ReverseProxyModule.<>c.b__5_0() in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ReverseProxy.cs:line 43
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
— End of stack trace from previous location —
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
— End of stack trace from previous location —
at rhino.compute.ReverseProxyModule.AwaitInitTask() in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ReverseProxy.cs:line 119
at rhino.compute.ReverseProxyModule.ReverseProxyPost(HttpRequest req, HttpResponse res) in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ReverseProxy.cs:line 179
at Microsoft.AspNetCore.Routing.EndpointMiddleware.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)

Best Regards,

st 16. 4. 2025 v 23:07 odesílatel Andy Payne via McNeel Forum <notifications@mcneel.discoursemail.com> napsal:

We’re getting closer. Would it be possible to copy the entire text output of the Rhino.Compute console window? Or take a screenshot of the stuff that happens prior to you sending a request from Hops? I’m wondering if there are any error messages that would explain why compute isn’t starting correctly. Usually this is because you either do not have the correct ASP.NET Core Runtimes installed on your machine… or you have a 3rd party plugin that is causing Rhino.Compute to fail during startup. Thanks.

Hi,
I followed this guide with installation initially. I am trying to run the most simple example script locally.

I think this time the error is different. This is the procedure:

1.Launch Rhino
2.Launch Grasshopper
3.Put hops component on canvas, assign a grasshopper definition to it from my disc.
4.rhino freezes for 30 seconds
5.
RC [13:19:37 INF] Rhino compute started at 4/17/2025 1:19:37 PM
RC [13:19:37 INF] Now listening on: http://localhost:6500
RC [13:19:37 INF] Application started. Press Ctrl+C to shut down.
RC [13:19:37 INF] Hosting environment: Production
RC [13:19:37 INF] Content root path: C:\Users\vraru\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\Hops\0.16.23\rhino.compute
RC [13:19:41 INF] Starting compute.geometry instance on port 6001
The specified framework ‘Microsoft.NETCore.App’, version ‘7.0.0’, apply_patches=1, version_compatibility_range=patch cannot roll-forward to the previously referenced version ‘8.0.10’.
RC [13:20:37 INF] Max concurrent requests = 0
RC [13:20:43 INF] Unable to start a local compute server
RC [13:20:43 ERR] HTTP POST /io responded 500 in 18298.0593 ms
System.Exception: Unable to start a local compute server
at rhino.compute.ComputeChildren.LaunchCompute(Queue1 processQueue, Boolean waitUntilServing) in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ComputeChildren.cs:line 229 at rhino.compute.ComputeChildren.GetComputeServerBaseUrl() in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ComputeChildren.cs:line 98 at rhino.compute.ReverseProxyModule.<>c.<InitializeChildren>b__5_0() in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ReverseProxy.cs:line 43 at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at rhino.compute.ReverseProxyModule.AwaitInitTask() in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ReverseProxy.cs:line 119 at rhino.compute.ReverseProxyModule.ReverseProxyPost(HttpRequest req, HttpResponse res) in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ReverseProxy.cs:line 179 at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext) RC [13:20:43 ERR] Connection id "0HNBTK6UPK1SV", Request id "0HNBTK6UPK1SV:00000001": An unhandled exception was thrown by the application. System.Exception: Unable to start a local compute server at rhino.compute.ComputeChildren.LaunchCompute(Queue1 processQueue, Boolean waitUntilServing) in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ComputeChildren.cs:line 229
at rhino.compute.ComputeChildren.GetComputeServerBaseUrl() in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ComputeChildren.cs:line 98
at rhino.compute.ReverseProxyModule.<>c.b__5_0() in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ReverseProxy.cs:line 43
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
— End of stack trace from previous location —
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
— End of stack trace from previous location —
at rhino.compute.ReverseProxyModule.AwaitInitTask() in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ReverseProxy.cs:line 119
at rhino.compute.ReverseProxyModule.ReverseProxyPost(HttpRequest req, HttpResponse res) in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ReverseProxy.cs:line 179
at Microsoft.AspNetCore.Routing.EndpointMiddleware.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)
RC [13:21:37 INF] Max concurrent requests = 0
RC [13:22:37 INF] Max concurrent requests = 0
RC [13:23:37 INF] Max concurrent requests = 0
RC [13:24:37 INF] Max concurrent requests = 0
RC [13:25:37 INF] Max concurrent requests = 0
RC [13:26:37 INF] Max concurrent requests = 0

st 16. 4. 2025 v 23:07 odesílatel Andy Payne via McNeel Forum <notifications@mcneel.discoursemail.com> napsal:

I tried this command in windows

čt 17. 4. 2025 v 13:15 odesílatel Andy Payne via McNeel Forum <notifications@mcneel.discoursemail.com> napsal:

Ok. You’re missing the ASP.NET Runtime for 7.0.20. Try downloading this from here and restarting everything. Download ASP.NET Core 7.0 Runtime (v7.0.20) - Windows x64 Installer

I tried it on my notebook.
I installed the .NET 7.0.20, restarted my computer two times, but still no luck.

čt 17. 4. 2025 v 16:11 odesílatel Andy Payne via McNeel Forum <notifications@mcneel.discoursemail.com> napsal:

Hmm. Ok. Weird. The next thing to try is to > modify %AppData%\McNeel\Rhinoceros\packages\8.0\Hops\0.16.18\compute.geometry\computeg.geometry.runtimeconfig.json file so that it matches the ASP.NET 8.x version that you have installed. Just open that file and replace all of the locations that point to 7.0 to use the 8.x version you have installed.