Skip to content

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

@udhos

Description

@udhos

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

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