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.

Neo4jError: Connection acquisition timed out in 60000 ms

Hi,
I am frequently getting this error while making concurrent requests.
Neo4jError: Connection acquisition timed out in 60000 ms. Pool status: Active conn count = 0, Idle conn count = 0.

I am using "neo4j-driver": "^4.4.1" and Neo4j db 4.0.2
How to resolve this issue? Please help.

7 REPLIES 7

Hello @mad.shivam111 and welcome to the Neo4j community

The driver version should follow the Neo4j version so in your case the driver version should start with 4.0.x. The latest version number does not matter.

Regards,
Cobra

As suggested I changed the neo4j driver version.
I am still getting the same error :
Neo4jError: Connection acquisition timed out in 60000 ms. Pool status: Active conn count = 100, Idle conn count = 0.
I am closing the each session with await session.close()

Thank you @Cobra
So every time driver version should follow db version?
In future if I upgrade db version, driver should also be upgraded?

Yes, that's it, with Neo4j 4.1 you will have to use driver version 4.1.x.

Please see driver compatability matrix in Neo4j operations manual.Also carefully refer to guided upgrade path for Neo4j versions.
Thanks
Sameer S Gijare

Hi, thank you. I check the compatibility matrix, found that driver 4.4 is compatible with db 4.0
But just to avoid issue i changed the driver version to 4.0, I am still facing the issue.

Hello
Please increase connection timeout period in configuration file and try to execute a very simple query to check that it works.Afterword try complex queries that fetch data relevant to your project.Also get the data packs in manageable chunks so that your program can digest that information(data).
Many thanks
Mr G Sameer8