The builder should fail fast when no credentials are provided for Astra clusters

Description

Currently the error message is not obvious at all for users who forget to call Builder.WithCredentials after or before Builder.WithSecureConnectionBundle.

Unhandled exception. Cassandra.NoHostAvailableException: All hosts tried for query failed (tried REDACTED: AuthenticationException 'Authentication error on host REDACTED: Host REDACTED requires authentication, but no authenticator found in Cluster configuration')

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Fix versions

Sprint

Priority

Created March 5, 2020 at 4:08 PM
Updated March 24, 2020 at 7:23 PM
Resolved March 24, 2020 at 7:23 PM

Flag notifications