cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Neo4j disconnects constantly

I'm testing Neo4j (Aura on its free version).. I'm using Flask and using py2neo to connect...


The app runs alright but after some time (hours) I end up receiving this error :
py2neo.errors.ServiceUnavailable: Cannot connect to any known routers
I have to restart the Flask server each time, im running it on AWS so its pretty bad...


I connect using  neo4j+s:
and this is how I connect to the server:


graph_db=Graph(AURA_URI,auth=(AURA_USER,AURA_PASSWORD),port=AURA_PORT, secure=True)

what do you thin could be the problem? should I move to neo4j own driver? 
(I have written plenty queries like this so it would be painful)


is it because it is the free version? im planning to move to a paid aura DB anyway but I don't know if the problem would continue...


is it a configuration problem?


Thank you

2 REPLIES 2

rhobin,

Did you ever solve it? I've been dealing with the same problem for weeks.

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online