Quantcast
Channel: DataStax Support Forums » Recent Topics
Viewing all articles
Browse latest Browse all 387

Daniel Szabo on "Binary protocol with internal authentication does not work in 3.1.1-1"

$
0
0

Hello, we have a fresh installation of dse-full 3.1.1-1. We've enabled
- authenticator: org.apache.cassandra.auth.PasswordAuthenticator
- authorizer: org.apache.cassandra.auth.CassandraAuthorizer

We've commented out auth_replication_strategy and auth_replication_options, replication_factor config settings because the comments in the config file around these parames told us to do so.

However, we've changed the system_auth keyspace replication options to look like this:
strategy_class: org.apache.cassandra.locator.NetworkTopologyStrategy
strategy_options: {"DC1":"2", "DC2":"2"}

Then we ran nodetool repair on all of the nodes.

With this setup, we are able to use cqlsh -3 ip 9160 -u cassandra -p cassandra, it works well. However, when we want to use the native transport with port 9042 (start_native_transport is true in the config, we haven't touched that) from a client computer using a c# lib located here: https://github.com/pchalamet/cassandra-sharp/tree/master/cqlplus, it just does not work.

If we disable authentication to use AllowAll for both authorizer and authenticator, it is working again.

This was working with an earlier version using native debian packages, not the dse (ie, deb http://www.apache.org/dist/cassandra/debian 12x main).


Viewing all articles
Browse latest Browse all 387

Trending Articles