com.datastax.driver.core.exceptions.AuthenticationException: Authentication error on host /127.0.0.1:9042: Host /127.0.0.1:9042 requires authentication, but no authenticator found in Cluster configuration

Stack Overflow | khateeb | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    How to connect to a Cassandra cluster with authentication in Java?

    Stack Overflow | 7 months ago | khateeb
    com.datastax.driver.core.exceptions.AuthenticationException: Authentication error on host /127.0.0.1:9042: Host /127.0.0.1:9042 requires authentication, but no authenticator found in Cluster configuration

    Root Cause Analysis

    1. com.datastax.driver.core.exceptions.AuthenticationException

      Authentication error on host /127.0.0.1:9042: Host /127.0.0.1:9042 requires authentication, but no authenticator found in Cluster configuration

      at com.datastax.driver.core.AuthProvider$1.newAuthenticator()
    2. DataStax Java Driver for Apache Cassandra - Core
      AuthProvider$1.newAuthenticator
      1. com.datastax.driver.core.AuthProvider$1.newAuthenticator(AuthProvider.java:40)
      1 frame