Closed SaqlainHussainShah closed 1 year ago
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/saqlain.hussain@ebryx.com/.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)
Hi, It seems you are connecting the Nebula service with an incompatible python client. Please make sure the versions match.
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 Configdefine 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