libneo4j-client icon indicating copy to clipboard operation
libneo4j-client copied to clipboard

Error when retrieving fields of type DateTime

Open patrobinson opened this issue 6 years ago • 4 comments

When I try and query a Node that has a DateTime property I get the following error:

<interactive>:0:0: error: DateTime is not supported as a return type in Bolt protocol version 1. Please make sure driver supports at least protocol version 2. Driver upgrade is most likely required.

I'm running the latest version

11:35 $ neo4j-client --version
neo4j-client: 2.2.0
libneo4j-client: 2.2.0
libcypher-parser: 0.6.0

patrobinson avatar Mar 26 '19 00:03 patrobinson

Right - the latest Neo4j version has made a un-documented or standardized protocol upgrade. There is some work in the https://github.com/cleishm/libneo4j-client/tree/neo4j-proto-2 branch to reverse engineer the additions and add support for them.

cleishm avatar Mar 26 '19 01:03 cleishm

Is libneo4j-client effectively dead with Bolt now having moved to a further and also undocumented v3 of the wire protocol?

lispwright avatar Sep 28 '19 14:09 lispwright

Not necessarily. V1 bolt works ok, and it should not be too hard to reverse engineer the protocol given the server implementation is open source. It just needs someone to do so.

cleishm avatar Sep 28 '19 16:09 cleishm

@seajaysec ran into the same issue. Is anyone interested in contributing to this? @agatlin?

cleishm avatar Oct 14 '19 21:10 cleishm