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); });