I'm inside a high performance Ubuntu node and trying to authenticate to my neo4j database. While the same method works flawlessly on Google Colab. I encounter error
Unable to retrieve routing information
I am inside a jupyter notebook which is being forwarded to my local port 8899 from the ubuntu server.
from llama_index.graph_stores.neo4j import Neo4jPGStore
username="neo4j"
password="3WUQX"
url="neo4j+s:/"
graph_store = Neo4jPGStore(
username=username,
password=password,
url=url,
refresh_schema=False
)
@grant_lodge btw I enountered this documentation: Self-Signed Certificate Generation - Neo4j Ops manager
i tried ssc and default s. Both resulted in error on my server. is there any method available?
If you are not in a cluster, can you try the 'bolt' schema instead of 'neo4j'?
I have to use the cluster since my local computer will take a long time to process and run the code. (Because I am using for a RAG index) Also I don't know how to use bolt
schema.
do you have any documentation indicating it? (I'm using Neo4j Aura) @glilienfield
If using neo4j+ssc://.
doesn't connect, it is very likely a broader networking issue; if using neo4j+s://
works in Google Collab but not on your other notebook. Your "high-performance ubuntu" node's networking would be the first place to look.
@grant_lodge for both solutions don't work on my ubuntu node. I have a few more nodes. But, I was interested in knowing What can be the likely issue and what possible fixes I can do?
I saw Neo4j and a few stackoverflow qnas and they mentioned I could bypass it by having a self-signed certificate. But, I'm not sure how can I download one for neo4j.
Also, I have few other nodes which are a bit dormant and accessed only by me. I can use them to fix the networking issues. Can you tell me, what should I run to debug this issue?
Because the standard error message is very high-level and does not explain anything.
There could be innumerable reasons why your server cannot connect to Aura.
If using neo4j+ssc
didn't work, it is unlikely that the issue is a certificate issue.
One thing you could start by doing is pinging the aura instance from your node.
You can use ping from Jupyter with
! ping <your db id here>.databases.neo4j.io