Closed christopher-t-mooney closed 7 years ago
what version of the cassandra-driver are you using?
How would i find that out?
require 'cassandra/version'
p Cassandra::VERSION
how are you installing this project? what is the contents of your gemfile.lock
Ah, well, I am creating a docker container for it, so essentially, I use the official ruby image for docker and use the following command in the dockerfile to install it:
RUN gem install cassandra-web
Which builds the whole thing for me (looks like the cassandra driver might be 1.2.0?):
Successfully installed ione-1.2.4 Building native extensions. This could take a while... Successfully installed cassandra-driver-1.2.0 Successfully installed rack-1.6.5 Building native extensions. This could take a while... Successfully installed eventmachine-1.2.1 Successfully installed daemons-1.2.4 Building native extensions. This could take a while... Successfully installed thin-1.7.0 Successfully installed rack-cors-0.4.0 Successfully installed rack-parser-0.7.0 Successfully installed tilt-2.0.5 Successfully installed rack-protection-1.5.3 Successfully installed sinatra-1.4.7 Building native extensions. This could take a while... Successfully installed lz4-ruby-0.3.3 Successfully installed cassandra-web-0.3.0 13 gems installed
ok I've just pushed a bumped version of this gem that uses a newer driver
Dude! you rock! It works perfectly now!
Thank you! Especially for being so quick to respond.
no problem, enjoy!
Hi!
I'm trying to use cassandra-web with the servers in my cassandra cluster. But when I try to start it I get the following output (I removed the actual ip addresses):
cassandra-web --hosts 'x.x.x.x,y.y.y.y,z.z.z.z'
INFO -- : Establishing control connection INFO -- : Host x.x.x.x doesn't support protocol version 2, downgrading WARN -- : Host x.x.x.x refused all connections Cassandra::Errors::ProtocolError: Invalid or unsupported protocol version (1); the lowest supported version is 3 and the greatest is 4
If I run cqlsh, here is the information it gives: [cqlsh 5.0.1 | Cassandra 3.9 | CQL spec 3.4.2 | Native protocol v4]