Skip to content
This repository has been archived by the owner on Jun 28, 2018. It is now read-only.

Unable to connect to Cassandra #107

Closed
subbu05 opened this issue Jul 1, 2016 · 3 comments
Closed

Unable to connect to Cassandra #107

subbu05 opened this issue Jul 1, 2016 · 3 comments

Comments

@subbu05
Copy link

subbu05 commented Jul 1, 2016

./migrate -url cassandra://127.0.0.1:9042/migs create migration_file_xyz
2016/07/01 11:38:44 gocql: unable to dial control conn 127.0.0.1:9042: gocql: no response received from cassandra within timeout period
gocql: unable to create session: control: unable to connect to initial endpoints

I have Cassandra running on locahost:9042
$ cqlsh
Connected to Test Cluster at 127.0.0.1:9042.
[cqlsh 5.0.1 | Cassandra 3.5 | CQL spec 3.4.0 | Native protocol v4]
Use HELP for help.
cqlsh> exit

@JensRantil
Copy link
Contributor

Given https://github.com/mattes/migrate/blob/master/driver/cassandra/README.md it looks like @dinedal, @balboah and @pateld982 has contributed Cassandra driver. Maybe they could have some input on this?

@kevinsandow
Copy link

kevinsandow commented Jul 11, 2016

Try cassandra://127.0.0.1:9042/migs?protocol=4 to force the correct protocol version... You may have to put it into quotes, in the case your shell tries to expand the question mark.

@mattes
Copy link
Owner

mattes commented Dec 22, 2016

seems fixed?

@mattes mattes closed this as completed Dec 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants