Skip to content

Using Protocol 4 #33

Description

@perrohunter

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions