Comments (2)
This kind of set up doesn't work unless the appserver (running on your machine) is also accessible from compute. When the appserver makes a request to compute to solve a grasshopper definition it includes a link to the definition, rather than send the whole file. Compute then downloads the file using the link and will cache the file so that it doesn't need to do this every time. If you're running locally then this link will be something like http://localhost:3000/definition/<id>
, which isn't accessible from compute.
To get around this you could use something like ngrok (free version is fine). Run ngrok http 3000
and leave it running at the same time as the appserver is running. Use the unique ngrok.io url that's given to you to access your appserver. This set up should be fine for testing.
p.s. use RHINO_COMPUTE_URL
and RHINO_COMPUTE_KEY
. You shouldn't need to set RHINO_API_TOKEN
.
from compute.rhino3d.appserver.
Perfect thanks! ngrok worked for me.
from compute.rhino3d.appserver.
Related Issues (14)
- Support GET request for solving HOT 1
- Use memcached on Heroku HOT 3
- Implement cache warming scripts
- Update readme to include workshop video
- investigate etag header values
- Handle cases when caching is not desired
- Catch server errors
- add job queue
- Run npm i (or npm ci?) as part of vscode launch configuration
- srf_kman clustering. Different output from what I see in Rhino HOT 1
- Hosting FEA tool on Compute HOT 6
- A question about exporting step file
- Link to "Developing with Rhino Compute" in documentation doesn't work anymore
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compute.rhino3d.appserver.