Comments (1)
You're facing this issue for 2 reasons
- You haven't started a local Faas (or if you did, it didn't work very well). You can do it like this:
das-cli faas start
You'll see this:
Did you see that the function is running on port 8080 and version (1.12.11) ?
So, when you try to connect the function and receive an error about version mismatch
you can fix this with this command:
das-cli faas update-version
For more details run: das-cli faas update-version --help
- You are using the Api in the wrong way. You should do this:
das = DistributedAtomSpace(query_engine='remote', host=host, port=port)
with query_engine='remote'
not query_engine='local'
The way you instantiated a DAS, you made a local Das with backend in RAM.
It's the same this:
das = DistributedAtomSpace()
The correct concept is this
Local DAS is a DAS that has a backend in RAM
or RedisMongo
# Ram
das = DistributedAtomSpace()
# RedisMongo
das = DistributedAtomSpace(
atomdb='redis_mongo',
mongo_hostname='...',
mongo_port=...,
mongo_username=...,
mongo_password=...,
redis_hostname=...,
redis_port=...
)
And Remote Das is a Das that connects to a server via OpenFaas (this is your case)
das = DistributedAtomSpace(query_engine='remote', host=host, port=port)
from das.
Related Issues (20)
- Improve development automated CI/CD pipelines
- Enhance AtomDB primitives related to MongoDB
- Make a presentation with description of our CI/CD process
- Review release process HOT 1
- Separate Tests and Lint into Individual jobs on pipeline
- failed unit test HOT 4
- Sort lists and sections of release notes in order to show more important topics first
- Error message is wrong when user try to use a python version below 3.10 HOT 1
- integration test failure HOT 2
- Connecting to server error HOT 18
- Create POC for new service
- Update the developer guidelines
- DAS API page is broken HOT 2
- Add a section with links for DAS-related presentation and other public articles/documents
- Add CI/CD pipelines to versioning and setup of AttentionBroker server
- Integration of CacheController and AttentionBroker with query engines
- Add a Homeostatic Controller to the architecture
- Make sure all repos are using the same lint config
- Apply linter configuration and poetry to das/python/commons
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 das.