cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Lambda Node.js driver cypher queries hang

I use Neo4j all the time in Node.js applications, but my queries just hang and never get a response when I invoke them from a lambda function. My lambda function is able to make other HTTP requests just fine. Am I missing some parameter I need to include when using the Node.js driver on Lambda?

var neo4j = require('neo4j-driver').v1;
var driver = neo4j.driver('url', auth)

var session = driver.session();
session.run(MATCH (n) RETURN n LIMIT 1)
.then((result) => { session.close(); })
.catch((error) => { console.log(error); });

1 REPLY 1

What happens if you actually retrieve the records and output them?

Do you have the right bolt-url?