Need clarification on:
-
Available methods to connect to Neo4j Causal Cluster from a Node.js application.
-
The connection string that we need to use to connect to the Neo4j Causal Cluster consists of 3 Core Servers for Write/Read operation from a Node.js application.
Got the below error from the Node.js application when using bolt+routing://<MULTIVALUE_DNS_RECORD> connection string.
2022-01-06 07:43:15/usr/src/app/node_modules/neo4j-driver/lib/index.js:287
2022-01-06 07:43:15throw new Error("Unknown scheme: ".concat(parsedUrl.scheme));
2022-01-06 07:43:15^
2022-01-06 07:43:15Error: Unknown scheme: bolt+routing
2022-01-06 07:43:15at Object.driver (/usr/src/app/node_modules/neo4j-driver/lib/index.js:287:13)
2022-01-06 07:43:15at Object.<anonymous> (/usr/src/app/db/neo4j.js:4:27)
2022-01-06 07:43:15at Module._compile (internal/modules/cjs/loader.js:1085:14)
2022-01-06 07:43:15at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
2022-01-06 07:43:15at Module.load (internal/modules/cjs/loader.js:950:32)
2022-01-06 07:43:15at Function.Module._load (internal/modules/cjs/loader.js:790:12)
2022-01-06 07:43:15at Module.require (internal/modules/cjs/loader.js:974:19)
2022-01-06 07:43:15at require (internal/modules/cjs/helpers.js:93:18)
2022-01-06 07:43:15at Object.<anonymous> (/usr/src/app/routes/v1-common.js:3:23)
2022-01-06 07:43:15at Module._compile (internal/modules/cjs/loader.js:1085:14)
Version details
-
Neo4j Enterprise Version: 4.3.6
-
Node JS : 14.3
-
neo4j-driver : 4.4.1
It would be a great help if any one can give a solution on this.