Skip to:
From the forums: https://forums.couchbase.com/t/the-connection-to-the-cluster-does-not-throw-exceptions-when-the-credentials-are-wrong/29929
This is confirmed running the code above with invalid credentials or host.
The AuthenticationFailureException that is thrown in ClusterContext.BootstrapGlobalAsync should be bubbled up and not suppressed and logged.
From the forums: https://forums.couchbase.com/t/the-connection-to-the-cluster-does-not-throw-exceptions-when-the-credentials-are-wrong/29929
This is confirmed running the code above with invalid credentials or host.