neode-example icon indicating copy to clipboard operation
neode-example copied to clipboard

Neo4jError: Client network socket disconnected before secure TLS connection was established

Open sebastian-curland opened this issue 4 years ago • 2 comments

Hi, I'm getting this error after I run node server.js and open http://localhost:3000 I'm using the docker image of Neo4J and verified the DB is working by connecting to its admin ui (http://localhost:7474/browser).

After digging into it I found that, NEO4J_ENCRYPTED should be off when running the server locally so if you run the server with NEO4J_ENCRYPTED=ENCRYPTION_OFF node server.js then it works.

Maybe this should be added to the README.

BTW - I get the same error when using the sandboxed Neo4j

sebastian-curland avatar Sep 30 '20 06:09 sebastian-curland

The version of neode may be out of date in this repo - try running npm i [email protected] and use the neo4j:// scheme when connecting to localhost

adam-cowley avatar Oct 01 '20 09:10 adam-cowley

Thanks, that worked.

sebastian-curland avatar Oct 01 '20 12:10 sebastian-curland