Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
04-10-2020 05:55 AM
After migrating a graph from neo4j 3.5 to neo4j 4.0.1, what are the migration steps in a GRANDstack project that ran with 3.5?
What are the version requirements for neo4j-driver and neo4j-graqhql-js?
With a current "grandstack starter" running against a neo4j 4 backend, I get this error:
"message": "Client network socket disconnected before secure TLS connection was established",
Any ideas?
best regards,
Christoph
Solved! Go to Solution.
04-13-2020 08:54 PM
I think the issue has to do with mismatched encryption defaults in Neo4j and the Neo4j JavaScript driver. In Neo4j 3.5 encryption is enabled by default, but in neo4j 4.0 encryption is not enabled by default.
And in the drivers, v1.7x encryption is enabled by default, but in v4.0 encryption is disabled by default.
So if you haven't enabled encryption in Neo4j then I would try setting ENCRYPTION_OFF
in the driver instance:
const driver = neo4j.driver(
"bolt://localhost:7687",
neo4j.auth.basic(
"neo4j", "letmein"),
{ encrypted: "ENCRYPTION_OFF"}
);
04-13-2020 08:54 PM
I think the issue has to do with mismatched encryption defaults in Neo4j and the Neo4j JavaScript driver. In Neo4j 3.5 encryption is enabled by default, but in neo4j 4.0 encryption is not enabled by default.
And in the drivers, v1.7x encryption is enabled by default, but in v4.0 encryption is disabled by default.
So if you haven't enabled encryption in Neo4j then I would try setting ENCRYPTION_OFF
in the driver instance:
const driver = neo4j.driver(
"bolt://localhost:7687",
neo4j.auth.basic(
"neo4j", "letmein"),
{ encrypted: "ENCRYPTION_OFF"}
);
04-14-2020 03:10 AM
Thanks, I'll give it a try!
04-16-2020 05:29 AM
This works, thank you.
All the sessions of the conference are now available online