Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
12-24-2019 02:37 AM
{ Neo4jError: Could not perform discovery. No routing servers available. Known routing table: RoutingTable[database=default database, expirationTime=0, currentTime=1577183669630, routers=, readers=, writers=]
at captureStacktrace (/home/ubuntu/environment/onear.to/node_modules/neo4j-driver/lib/result.js:263:15)
at new Result (/home/ubuntu/environment/onear.to/node_modules/neo4j-driver/lib/result.js:68:19)
at Session._run (/home/ubuntu/environment/onear.to/node_modules/neo4j-driver/lib/session.js:172:14)
at Session.run (/home/ubuntu/environment/onear.to/node_modules/neo4j-driver/lib/session.js:135:19)
at Object.<anonymous> (/home/ubuntu/environment/onear.to/test.js:9:9)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3) code: 'ServiceUnavailable', name: 'Neo4jError' }
I am facing this error after today I created a new aura instance. What I observed is if I use the previous version neo4j-driver of nodejs which is v 1.7.6, everything is working fine. But if I use the latest release which is v4.0.1 I am getting this error.
Is anyone else facing the same issue?
Can anyone help me resolve it in the latest driver release?
12-24-2019 06:30 AM
Hi! For Aura specific issues -- please follow up and submit a support ticket here, and someone will get back to you to help diagnose and work through.
12-27-2019 01:31 AM
To ensure we are updating all relevant channels, this connectivity scenario was resolved by explicitly setting encryption to on.
Aura as a hosted service is, by design, more rigid on security than a user might set up when self hosting.
As such users should look to explicitly enable encryption in their driver connection.
For example here, the issue was reolsved by altering the connection to the following :
For example :
const driver = neo4j.driver('neo4j://<your_aura_DBiD>.databases.neo4j.io:7687', neo4j.auth.basic('neo4j', password), { encrypted: 'ENCRYPTION_ON' })
For other driver types, please refer to section 2.4.1 of the driver docs as here : https://neo4j.com/docs/driver-manual/1.7/client-applications/#driver-service-unavailable and adopt the appropriate setting to set encryption to on, or True.
We'll be updating our documents and Aura UI to more explicitly state this setting requirement.
12-03-2020 01:17 AM
Refer this:
@Bean
override fun driver(): Driver {
val config: Config = Config.builder()
.withMaxTransactionRetryTime(15, TimeUnit.SECONDS)
.withLeakedSessionsLogging()
.withRoutingTablePurgeDelay(1, TimeUnit.SECONDS)
.build()
return GraphDatabase
.driver(neo4jDBUri, AuthTokens.basic(neo4jDbUserName, neo4jDbUserPassword), config)
}
09-12-2022 12:08 AM
Hi community, I have been working with Neovis JS (in React). I was able to render my AuraDB database beautifully on my react app and everything went fine for a couple weeks. Past 2 days, I am facing a error as attached, which says some routing issue with discovery of database.
While this is in Windows (my lap), the same code base works perfect as before in my colleague's system, which is Linux. I amnot sure if OS should be an issue, but is there anyone here who could help me out?
All the sessions of the conference are now available online