Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
KrishnaPravin opened this issue Jun 7, 2020 · 2 comments

Comments

@KrishnaPravin
Copy link

Steps to reproduce:

  1. load all csv files
  2. npm install in /api
  3. node api.js
Neo4jError: Client network socket disconnected before secure TLS connection was established

    at captureStacktrace (/Users/krs/Documents/Krishna/TryCode/neo4j-movies-template/api/node_modules/neo4j-driver/lib/v1/result.js:199:15)
    at new Result (/Users/krs/Documents/Krishna/TryCode/neo4j-movies-template/api/node_modules/neo4j-driver/lib/v1/result.js:65:19)
    at Session._run (/Users/krs/Documents/Krishna/TryCode/neo4j-movies-template/api/node_modules/neo4j-driver/lib/v1/session.js:152:14)
    at Session.run (/Users/krs/Documents/Krishna/TryCode/neo4j-movies-template/api/node_modules/neo4j-driver/lib/v1/session.js:130:19)
    at Object.getAll (/Users/krs/Documents/Krishna/TryCode/neo4j-movies-template/api/models/genres.js:5:18)
    at exports.list (/Users/krs/Documents/Krishna/TryCode/neo4j-movies-template/api/routes/genres.js:36:10)
    at Layer.handle [as handle_request] (/Users/krs/Documents/Krishna/TryCode/neo4j-movies-template/api/node_modules/express/lib/router/layer.js:95:5)
    at next (/Users/krs/Documents/Krishna/TryCode/neo4j-movies-template/api/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/Users/krs/Documents/Krishna/TryCode/neo4j-movies-template/api/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/Users/krs/Documents/Krishna/TryCode/neo4j-movies-template/api/node_modules/express/lib/router/layer.js:95:5)
@jasperblues
Copy link

One reason for this is using an old Neo4j driver on a new Neo4j database, and can be fixed by updating the driver dependency.

(Btw, please check out drivine.org - it is a great way to work with Neo4j on Node.js).

@KrishnaPravin
Copy link
Author

@jasperblues I've updated the driver and now it's working. Thank You.

"neo4j-driver": "^4.0.2"

whatSocks added a commit that referenced this issue Sep 21, 2020
Using sandbox

* updatng genre endpoint

* simplifying get movie

* updates to use sandbox as it is

* updating to use sandbox with tmdbId

* making auth unrequired

* updating to work with new sandbox

* small change

* removed mention of keywords from readme

* make heroku deployable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants