Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
02-23-2022 06:49 AM
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.
02-23-2022 06:52 AM
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
02-24-2022 03:36 AM
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()
02-23-2022 07:10 AM
Thank you @Cobra
So every time driver version should follow db version?
In future if I upgrade db version, driver should also be upgraded?
02-23-2022 07:15 AM
Yes, that's it, with Neo4j 4.1 you will have to use driver version 4.1.x.
02-23-2022 08:24 AM
Please see driver compatability matrix in Neo4j operations manual.Also carefully refer to guided upgrade path for Neo4j versions.
Thanks
Sameer S Gijare
02-24-2022 03:38 AM
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.
02-25-2022 09:18 AM
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
All the sessions of the conference are now available online