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

[golang] Error: gocql: no response to connection startup within timeout #50

Open
udhos opened this issue Jun 25, 2024 · 0 comments
Open

Comments

@udhos
Copy link

udhos commented Jun 25, 2024

Hi, I attempted to run the example for golang but hit this erro:

Error Connecting to IP:3.234.248.229, Port:9142 Error: gocql: no response to connection startup within timeout
Cassandra Session Creation Error -  gocql: unable to create session: unable to discover protocol version: gocql: no response to connection startup within timeout

Please find full session logs below.

everton@jornada:~$ cd /tmp
everton@jornada:/tmp$ git clone https://github.com/aws-samples/amazon-keyspaces-examples
Cloning into 'amazon-keyspaces-examples'...
remote: Enumerating objects: 1194, done.
remote: Counting objects: 100% (251/251), done.
remote: Compressing objects: 100% (126/126), done.
remote: Total 1194 (delta 144), reused 162 (delta 116), pack-reused 943
Receiving objects: 100% (1194/1194), 36.62 MiB | 6.75 MiB/s, done.
Resolving deltas: 100% (467/467), done.
everton@jornada:/tmp$ cd amazon-keyspaces-examples/golang/gocql/connection-sigv4/
everton@jornada:/tmp/amazon-keyspaces-examples/golang/gocql/connection-sigv4$ export AWS_REGION=us-east-1
everton@jornada:/tmp/amazon-keyspaces-examples/golang/gocql/connection-sigv4$ go install
everton@jornada:/tmp/amazon-keyspaces-examples/golang/gocql/connection-sigv4$ connection-sigv4 
Using Contact Point  cassandra.us-east-1.amazonaws.com
Error Connecting to IP:3.234.248.229, Port:9142 Error: gocql: no response to connection startup within timeout
Cassandra Session Creation Error -  gocql: unable to create session: unable to discover protocol version: gocql: no response to connection startup within timeout
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