I’m testing an upgrade of a 3 node cluster from community 4.5 to 5.1.1. After upgrading the second node the application started throwing errors about authentication:
2018-09-19 20:12:27.8747 ERROR Couchbase.IO.SharedConnectionPool
1[[Couchbase.IO.MultiplexingConnection, Couchbase.NetClient, Version=184.108.40.206, Culture=neutral, PublicKeyToken=05e9c6b]] Initialize failed for 4cdcf20f System.Security.Authentication.AuthenticationException: Authentication failed for user 'bucket' at Couchbase.IO.ConnectionPoolBase1.EnableEnhancedAuthentication(IConnection connection) at Couchbase.IO.SharedConnectionPool
1.CreateAndAuthConnection() at Couchbase.IO.SharedConnectionPool1.Initialize()
Is this related to the 5.0 RBAC change? My understanding is that it should not enable role based auth until all nodes are upgraded and out of compatibility mode. Is there a way around this? The 4.5 buckets do not use any authentication.