Git Product home page Git Product logo

Comments (3)

wey-gu avatar wey-gu commented on August 19, 2024 1

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.

herman72 avatar herman72 commented on August 19, 2024

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.

wey-gu avatar wey-gu commented on August 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.