from neo4j import GraphDatabase
uri = "neo4j+s://<instance_id>databases.neo4j.io"
user = "neo4j"
password = "<password>"
driver = GraphDatabase.driver(uri, auth=(user, password))
try:
with driver.session() as session:
result = session.run("RETURN 'Connection successful' AS message")
print(result.single()["message"])
except Exception as e:
print(f"Connection failed: {e}")
finally:
driver.close()
when i run the above code im getting error as shown below
Unable to retrieve routing information
Connection failed: Unable to retrieve routing information