Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
2.2.8
-
None
-
None
Description
While running through integration tests for 2.3.0, found a failing test that can be traced back to https://issues.couchbase.com/browse/NCBC-1098
Github: https://github.com/couchbase/couchbase-net-client/commit/64d48e9dc9ed8ac6a1637413d6a949cfa992bba4
The failing test: https://github.com/couchbase/couchbase-net-client/blob/master/Src/Couchbase.Tests/ClusterTests.cs#L45
The net effect here is that the client will try to auth the bucket using CCCP, when it fails it will then try to auth using HttpStreamingProvider in which case it will succeed even though the password is invalid for the bucket.
Note that if a K/V operation is attempted, it will fail because the SASL authentication will fail on the socket:
at Couchbase.IO.Services.MultiplexingIOService.Authenticate(IConnection connection) in C:\Users\jmorris\repos\couchbase-net-client\Src\Couchbase\IO\Services\MultiplexingIOService.cs:line 332
at Couchbase.IO.Services.MultiplexingIOService.Execute[T](IOperation`1 operation) in C:\Users\jmorris\repos\couchbase-net-client\Src\Couchbase\IO\Services\MultiplexingIOService.cs:line 98
Attachments
Issue Links
- is triggered by
-
NCBC-1098 Refactor WebRequest/WebResponse to System.Net.Http namespace classes
- Resolved