When I'm dealing with large amount of data (< 20.000 nodes) I always get this error message:
WebSocket connection failure. Due to security constraints in your web browser, the reason for the failure is not available to this Neo4j Driver. Please use your browsers development console to determine the root cause of the failure. Common reasons include the database being unavailable, using the wrong connection URL or temporary network problems. If you have enabled encryption, ensure your browser is configured to trust the certificate Neo4j is configured to use. WebSocket `readyState` is: 3
There was a a similar thread here in the forum, but it ends with no result.
Failed to obtain connection towards write server. Known routing table is: RoutingTable[database=neo4j, expirationTime=1619104599763, currentTime=1619104589797, routers=[neo4j-core-bbb241c6-24.production-orch-0001.neo4j.io:7687,neo4j-core-bbb241c6-22.production-orch-0001.neo4j.io:7687], readers=[neo4j-core-bbb241c6-24.production-orch-0001.neo4j.io:7687,neo4j-core-bbb241c6-22.production-orch-0001.neo4j.io:7687], writers=[]]
AND
No write operations are allowed directly on this database. Writes must pass through the leader. The role of this server is: FOLLOWER