Knowledge Base

Articles tagged as drivers

Consideration about routing tables on multi-data center deployments

Using the official Neo4j drivers means that you can take advantage of the full cluster routing capabilities of the drivers. This means your requests will be routed automatically to the…

Read more

Enabling Transaction Timeout Within Application

There is a dbms.transaction.timeout global setting on Neo4j that can be set in neo4j.conf file so if any query from any user exceeds the timeout threshold specified, that query is…

Read more

Explanation of error on session connection using uniform drivers

As described by http://neo4j.com/docs/developer-manual/current/drivers/#_trust, when establishing an encrypted connection, it needs to be verified that the remote peer is who we expected to connect to. The default connection is to…

Read more

Explanation of "Failed to update routing table with server" error

If you encounter a Failed to update routing table with server error in their $NEO4J_HOME/logs/debug.log similar to: This can be addressed by checking your DNS entries. A routing driver is…

Read more

How Neo4j Browser uses bolt+routing

There are two kinds of Bolt drivers specified by URI scheme: the bolt:// scheme is used to create a direct driver and the bolt+routing:// scheme is used to create a…

Read more

Why did I get the “Kernel API returned non-existent relationship type: -1” exception?

In rare situations, the Neo4j Bolt driver throws an IllegalStateException. The top part of the stack appears as: Under the covers, this is what happens. The getRelationshipTypeById(int type) method is…

Read more

Pass Temporal Objects as Parameters

With the support of datetime types in Neo4j, users might wonder how or if it works to transport those types along with other data types via the drivers. It is…

Read more

How to resolve Python Bolt Driver when executed gives an error "("Failed to establish connection to {!r}".format(address))"

Take the example of Python with the latest Bolt driver 1.2. Here is the sample code and when run it gives the following error: There are two options to resolve…

Read more

java.lang.OutOfMemoryError: unable to create new native thread

When a client application establishes a session with a Neo4j server via the bolt or bolt+routing protocols, the server allocates a thread to serve as the server-side bolt worker to…

Read more

Using Python 1.7.x Driver with Neo4j 4.0

At the time of writing this article the Bolt Driver for Python has not been released for Neo4j 4.0. The v4 Python driver will not be available until the end…

Read more