Zariel on master
conn: send heartbeats to detect… (compare)
tls.Configand not a pointer to one? Passing it like this will copy the mutex in the
tls.Config's sync.Once by value.
Hi, I am new to golang and gocql. I have question and can't find way to resolve the connection issue.
Currently I am using cassandra 2.1.5.
cluster := gocql.NewCluster(".....")
cluster.Keyspace = "production"
session, _ := cluster.CreateSession()
then I got error message like ;
panic: no valid connect address for host: [HostInfo connectAddress="<nil>" peer="<nil>" rpc_address="<nil>" broadcast_address="<nil>" preferred_ip="<nil>" connect_addr="0.0.0.0" connect_addr_source="invalid" port=9042 data_centre="datacenter1" rack="rack1" host_id="*" version="v2.1.5" state=UP num_tokens=1]. Is your cluster configured correctly?
When I test this code with cassandra 3.1 , it works but 2.1.5 it doesn't
system.local's schema is different between two versions and I think it cause the problem.
Is there any way to resolve this ?