Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
06-07-2020 09:24 PM
Please keep the following things in mind:
Hi admin,
I have installed neo4j 4.0.4 by helm chart
After the cluster is up, the replica cannot connect to the core.
root@c-neo4j-replica-cbb56c96f-f7lpv:/var/lib/neo4j/bin# ./cypher-shell
username: neo4j
password: ********
Failed to obtain connection towards WRITE server. Known routing table is: Ttl 1591175610069, currentTime 1591175310075, routers AddressSet=[10.42.0.1:7687], writers AddressSet=, readers AddressSet=[10.42.0.1:7687], database ''
Here is the cluster info
debug.log
Solved! Go to Solution.
06-08-2020 05:40 AM
use the bolt:// scheme to connect to an individual read replica. The replica does not have a full copy of the cluster's upstream routing table, and so it is true that when you use neo4j:// as a connection scheme, you cannot obtain a connection to a WRITE server.
More information:
https://neo4j.com/docs/driver-manual/current/client-applications/#driver-configuration-examples
06-08-2020 05:40 AM
use the bolt:// scheme to connect to an individual read replica. The replica does not have a full copy of the cluster's upstream routing table, and so it is true that when you use neo4j:// as a connection scheme, you cannot obtain a connection to a WRITE server.
More information:
https://neo4j.com/docs/driver-manual/current/client-applications/#driver-configuration-examples
06-08-2020 06:50 AM
Thanks. You are right, the replica can be connected through bolt.
All the sessions of the conference are now available online