You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we are running the Neo4j server in a docker container, localhost should not be accessible. But due to a check in Neo4jConnectionPool::getNextServer(), where we get the list of addresses, deduplicate it and return null if the count is one, we use the default URI to connect which shouldn't be the case. Below is a snippet of the code in question:
When inspecting the routing table in
Neo4jConnectionPool::routingTable()
, we get the following result on the call to$bolt->route()
:Since we are running the Neo4j server in a docker container,
localhost
should not be accessible. But due to a check inNeo4jConnectionPool::getNextServer()
, where we get the list of addresses, deduplicate it and returnnull
if the count is one, we use the default URI to connect which shouldn't be the case. Below is a snippet of the code in question:This is unexpected behavior and should be resolved once we have the local containers advertise the correct addresses
The text was updated successfully, but these errors were encountered: