Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nebula SERVICE CONNECTION BAD #366

Open
nagateja1929 opened this issue Oct 15, 2024 · 1 comment
Open

Nebula SERVICE CONNECTION BAD #366

nagateja1929 opened this issue Oct 15, 2024 · 1 comment

Comments

@nagateja1929
Copy link

I have started nebula services using nebula-console and got this below.
**Notice: Defaulting to localhost (127.0.0.1) with port 9669 using credentials (username: root, password: nebula).

Welcome!**

After I have created a space in the console itself and try to run this code in colab.

**%pip install nebula3-python ipython-ngql

import os

os.environ['NEBULA_USER'] = 'root'
os.environ['NEBULA_PASSWORD'] = 'nebula'
os.environ['NEBULA_ADDRESS'] = '172.18.0.12:9669'

space_name="guardians"
edge_types,rel_prop_names=['relationship'],["relationship"]
tags = ["entity"]

graph_store = NebulaGraphStore(
space_name=space_name,
edge_types=edge_types,
rel_prop_names=rel_prop_names,
tags=tags,
)

storage_context = StorageContext.from_defaults(graph_store=graph_store)**. Ans after I am getting an error at NebulaGraphStore that is

The services status exception: [services: ('172.18.0.12', 9669), status: BAD]

Why? Please help me.

@wey-gu
Copy link
Contributor

wey-gu commented Oct 22, 2024

@nagateja1929 welcome to the NebulaGraph community, is the nebula-console with the same network env of your jupyter/ipython? if yes, please use 127.0.0.1:9669 as your Nebula Address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants