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

raise RuntimeError( RuntimeError: The services status exception: [services: ('127.0.0.1', 9669), status: BAD] #205

Closed
SaqlainHussainShah opened this issue Apr 6, 2022 · 2 comments

Comments

@SaqlainHussainShah
Copy link

Nebula services are running
[INFO] nebula-metad: Running as 49784, Listening on 9559 [INFO] nebula-graphd: Running as 49847, Listening on 9669 [INFO] nebula-storaged: Running as 49873, Listening on 9779
However the following code to connect to nebula graph as mentioned on github page
`from nebula3.gclient.net import ConnectionPool
from nebula3.Config import Config

define a config

config = Config()
config.max_connection_pool_size = 10

init connection pool

connection_pool = ConnectionPool()

if the given servers are ok, return true, else return false

ok = connection_pool.init([('127.0.0.1', 9669)], config)`

gives

raise RuntimeError(
RuntimeError: The services status exception: [services: ('127.0.0.1', 9669), status: BAD]

@SaqlainHussainShah
Copy link
Author

SaqlainHussainShah commented Apr 7, 2022

Further

getting

[
[2022-04-07 10:10:28,330] WARNING  [ConnectionPool.py:203]:Connect 127.0.0.1:9669 failed: Method name verifyClientVersion not found
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/[email protected]/.local/lib/python3.8/site-packages/nebula2/gclient/net/ConnectionPool.py", line 77, in init
    raise RuntimeError('The services status exception: {}'.format(
RuntimeError: The services status exception: [services: ('127.0.0.1', 9669), status: BAD]
](url)

@Aiee
Copy link
Contributor

Aiee commented Apr 11, 2022

Hi, It seems you are connecting the Nebula service with an incompatible python client. Please make sure the versions match.

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

3 participants