OleksiienkoMykyta commented on issue #1604: URL: https://github.com/apache/cassandra-gocql-driver/issues/1604#issuecomment-2739797895
> Python works with DSE v2, but for Grafana plugin backend I need to use go. I'm setting: _cluster.ProtoVersion = 4 _cluster.CQLVersion = "3.4.5" _cluster.SslOpts.MinVersion = tls.VersionTLS12 _cluster.ConnectTimeout = time.Second * 10 > > and also (although some are apparently redundant): > > [connection] hostname = xxxxxxxxxxxxxrg.databases.appdomain.cloud port = 30933 ssl = true > > [protocol] version=4 dse_version = 0x42 > > Not specifying cluster.ProtoVersion I get the error just once: gocql: unable to create session: unable to discover protocol version: gocql: unsupported protocol response version: 72 If I specify it, I get the error for each host in the cluster. It's a little bit strange to me, you provide config from Python driver, but logs from gocql, seem inconsistent to me. Anyway, gocql support gocql supports proto v5 now(63b6d7830710a0c6c5411c08bf16d38cb88d2a8a), you can try it, but not sure that it will help. However, the gocql driver does not natively support DataStax Enterprise (DSE) protocol version 2, see the [readme](https://github.com/apache/cassandra-gocql-driver?tab=readme-ov-file#readme). @joao-r-reis, should we support it, or it's something to be closed as not planed? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org