I am trying to run a python script which uses grasshopper scripts to create some Rhino Geometry via compute. The problem is, when I run locally it works however, my company has set up an AWS server that I want to run compute off of but when I use that url and apikey it doesnt work.
This is how I’m setting the URL and Api key, assume I have set the apikey correct (left it blank for now)
Are you sure you are using the correct port? In a production environment this can be 80 or 443, depending on whether you use ssl. But also the default port of rhino.compute can be 8080, or whatever you want if you use custom settings.
Are you sure that your iis allows incoming connections?
The rhino.compute logs from your server would tell us much more about your problem.
You should look in the logs of your ec2 instance for the backend. That’ll give you more info on where the problem is happening, and potentially point you to why.
If you haven’t sorted this out, I happened to have a similar situation. My Rhino.Compute runs perfectly on my local server but refused to work once it’s on the EC2 instance. The problem I found later was that my MongoDB IP wasn’t whitelisted to access the EC2 instance. I thought it might be something similar to yours, perhaps your laptop IP is not whitelisted to access the AWS server or something like that? Might be worth checking the security group.
Thanks for the message, since this post we had got it to work, I’m assuming it was something to with our company firewall. We just created a new EC2 instance allowing for unrestricted network access to, and from which seemed to do the trick. It’s been working well so far but I wonder if you encountered this problem. After I run a compute ‘post’ and I try to run something again sometimes it doesn’t work or takes an extremely long time, have you had this issue?