Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Protocol 4 #33

Open
perrohunter opened this issue Jul 5, 2016 · 0 comments
Open

Using Protocol 4 #33

perrohunter opened this issue Jul 5, 2016 · 0 comments

Comments

@perrohunter
Copy link

I'm trying to generate the code in command line however I get the following error:

2016/07/05 15:24:33 gocql: unable to dial control conn 127.0.0.1:9042: gocql: error on stream 0: Invalid or unsupported protocol version (2); the lowest supported version is 3 and the greatest is 4
2016/07/05 15:24:33 Connect error%!(EXTRA *errors.errorString=gocql: unable to create session: control: unable to connect to initial hosts: gocql: error on stream 0: Invalid or unsupported protocol version (2); the lowest supported version is 3 and the greatest is 4)

I'm using Cassandra 3.0.7 on Docker, gocql is able to connect just fine if I switch to Protocol 4, however I don't see any parameter for cqlc to change Protocol in command line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant