Hi there, we are running into an issue when deploying to Azure IIS following the guide Rhino - Deployment to Production Servers - the VM is up and running, and attached are screenshots showing that when making the request with RhinoComputeKey and our API key alone we get a 401 error with the message āAPI Key Not Providedā but when we make the request using insomnia to add our API Key directly to the header, we get a 200 response with ācompute.rhino3dā as the output - even trying to use a Hops element in Grasshopper says āCannot communicate with the serverā - is there any way to force the grasshopper worker to add our API key to the headers of the request?
Currently, the GrasshopperWorker does not include sending an API Key, as it expects the RhinoCompute instance to run on a Local Machine (not something that is accessible to the internet and requires authentication, like this IIS implementation).
Apologies for the late reply, and thank you for the help! We have a VM running on Azure with Rhino Compute installed and working (mostly) correctly, but we are now running into a slightly weirder problem;
When running a Grasshopper Definition Evaluation, if there is an external hop in the definition we run into a 401 error. I have added the Compute URL and API key as environment variables when starting the Viktor App, and running a regular grasshopper evaluation without a hop works perfectly fine, but its as if the hop within the script cannot make use of the API token, any chance you guys have seen something like this before?