Rhino.Compute Samples

Hi,
I’ve tried sample files with Javascript, downloaded from GitHub. It works very well a few days ago and, today, it fails. I run rhino compute locally and it works. But now, I no longer see any requests on the server console.

Has anyone encountered this problem before?

The only difference is an update of Rhino to Rhino 8 SR18.

Many thanks,
Alex

I have this message when I run rhino.compute with visual studio :

  • Loading Check user object…
    Object: DiscoverCoveringComponent (level 1)
    {
    Exception has been thrown by the target of an invocation.
    TargetInvocationException
    }

Object: DiscoverCoveringComponent (level 2)
{
Object reference not set to an instance of an object.
NullReferenceException
}

Is this an error it could be explain the fail of my test?

Nothing has really changed in Rhino.Compute over the last several days so I’m not exactly sure what is going wrong. You said when you run it locally it works? As in you get the correct results? But you just aren’t seeing the request logs? Have you tried adding the RHINO_COMPUTE_DEBUG environment variable and setting the value to True? This should add additional logging information to the console output

Thank you so much Andy. This case is really strange.

I used this template available on GitHub : rhino-developer-samples/compute/js/SampleGHText at 8 · mcneel/rhino-developer-samples · GitHub

The result was as expected. But now, no more results displayed in the browser. Rhino.compute seems to be working fine. The html files and the javascript file are ok. In this example, the text is no longer displayed.

Finally, it works. I’ve changed Rhino compute URL several times and finally reusing the original address worked.

1 Like