Neo4j 4.0.x drivers have replaced the 'bolt+routing://' protocol with 'neo4j://' protocol. Additionally, Neo4j Aura has stricter encryption requirements. You must explicitly tell the driver that encryption is on. For example, using the Javascript driver, your neo4j.driver() call should look something like this:
const driver = neo4j.driver(DBID, neo4j.auth.basic(username, password), {
encrypted: 'ENCRYPTION_ON'
})
If you do not tell the driver that encryption is on, you may see the "ServiceUnavailable" error, along with an error telling you "No routing servers available" in your browsers console log, similar to:
Neo4jError: Could not perform discovery. No routing servers available. Known routing table: RoutingTable[database=default database, expirationTime=0, currentTime=1576853357420, routers=[], readers=[], writers=[]]
Comments
0 comments
Please sign in to leave a comment.