We are using the .net driver to connect Neo4j AURA DB hosted on the Neo4j cloud. After some time of connectivity, we are getting below exception from the driver.
Neo4j.Driver.ClientException: Failed to acquire a connection from connection pool for server with URI `'' as this server has already been removed from routing table. Please retry your query again and you should be routed with a different server from the new routing table. You should not see this error persistently.
Below is the code used to create the driver and the multiple driver instances are used in the application.
GraphDatabase.Driver(_serverUrl, AuthTokens.Basic(_username, _password), o =>
{
o.WithSocketKeepAliveEnabled(true)
.WithMaxConnectionLifetime(TimeSpan.MaxValue);
});