cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Replica cannot connect to core

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

1 ACCEPTED SOLUTION

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

View solution in original post

2 REPLIES 2

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

Thanks. You are right, the replica can be connected through bolt.