I want to use python with Neo4j.
Neo4j is being hosted on an AWS server in my organization.
These are the steps I followed:
from graphdatascience import GraphDataScience
Replace with the actual URI, username, and password
AURA_CONNECTION_URI = "neo4j+s://xxxxxxxx.databases.neo4j.io:5601"
AURA_USERNAME = "neo4j"
AURA_PASSWORD = "..."
Client instantiation
gds = GraphDataScience(
AURA_CONNECTION_URI,
auth=(AURA_USERNAME, AURA_PASSWORD),
aura_ds=True
)
I got the connection details using
:server status
And gave the username and password.
It gave me this “Unable to retrieve routing information” error.
I browsed online and saw that it could be due to certificate error.
So I changed “neo4j+s://“ to “neo4j+ssc://“ but it still gives me the same error