Comments (3)
Dear @herman72,
This error refers to storage-client cannot reach storaged
via '127.0.0.1', 9779
.
The storage client gets to know the stroaged
interface via meta-client instance, and it's assumed(configured out-of-box in like nebula-docker-compose)not exposed outside of the nebula graph cluster(not like the graphd and metad).
If the python application only needs to do nGQL/openCypher queries(not the vertices scanning), we only need the graph-client
.
If you indeed need the storage-client, corresponding network configuration should be done to ensure the storaged is accessible from where your python client is running on.
If you would like to first-time quickly try and play with everything(including storage-client) with a docker-compose deployed nebula cluster(not willing to change anything in the compose yaml file), you can try running your client from a container with the same network of the docker-compose like:
assumed the network name is
nebula-docker-compose_nebula-net
$ docker run -dit --name ng-python --network nebula-docker-compose_nebula-net ubuntu:latest bash
$ docker exec -it ng-python bash
$ apt update
$ apt install python3 python3-pip
$ pip3 install nebula2-python==2.0.0
python
Thanks!
from nebula-python.
Dear @herman72,
This error refers to storage-client cannot reach
storaged
via'127.0.0.1', 9779
.The storage client gets to know the
stroaged
interface via meta-client instance, and it's assumed(configured out-of-box in like nebula-docker-compose)not exposed outside of the nebula graph cluster(not like the graphd and metad).If the python application only needs to do nGQL/openCypher queries(not the vertices scanning), we only need the
graph-client
.If you indeed need the storage-client, corresponding network configuration should be done to ensure the storaged is accessible from where your python client is running on.
If you would like to first-time quickly try and play with everything(including storage-client) with a docker-compose deployed nebula cluster(not willing to change anything in the compose yaml file), you can try running your client from a container with the same network of the docker-compose like:
assumed the network name is
nebula-docker-compose_nebula-net
$ docker run -dit --name ng-python --network nebula-docker-compose_nebula-net ubuntu:latest bash $ docker exec -it ng-python bash $ apt update $ apt install python3 python3-pip $ pip3 install nebula2-python==2.0.0 python
Thanks!
Thanks!
from nebula-python.
thank you, closing it, if you consider it's not yet resolved, please feel free to reopen it, thanks.
from nebula-python.
Related Issues (20)
- session pool to reconnect/usable when graphd restarted HOT 1
- renew Session for session expired & reconnect connection of session for IOError HOT 3
- logging is not defined HOT 3
- ModuleNotFoundError: No module named 'nebula3.fbthrift.py3' in nebula3/fbthrift/util/converter.py HOT 1
- Storage Error: RPC failure, probably timeout. HOT 1
- ModuleNotFoundError: No module named 'FormatResp' HOT 1
- socket.timeout: timed out
- Examples in Jupyter notebook and being rendered in sphinx
- Publish docs to readthedocs.io HOT 2
- serialisation/unserlization with nebula-cpp HOT 1
- support to config the version white list for client
- Enhance the implementation of `properties(tag)` in `Node` HOT 3
- modernize nebula-py with PDM HOT 3
- test built package publishing to testpypi repo and verify it's installable for py36 HOT 2
- api: introduce interface/function to better prepare data for graph vis HOT 1
- Consider migrating to Rust based Python package? HOT 5
- Python client supports HTTP2
- topic: Dev User Experience Revisit HOT 1
- Why retrying on execution failure HOT 4
- feat: add a cython build option/release HOT 1
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 nebula-python.