@fabiosst Thank you, but still no luck in that. I checked my .net options and wanted to post here the actual values in configs for that:
_clusterOptions = new ClusterOptions();
config.GetCouchbaseClientDefinition().Bind(_clusterOptions);
_clusterOptions.HttpCertificateCallbackValidation += new RemoteCertificateValidationCallback((object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors) =>{return true;});
_clusterOptions.KvCertificateCallbackValidation += new RemoteCertificateValidationCallback((object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors) =>{return true;});
_clusterOptions.NetworkResolution = "external";
_clusterOptions.EnableDnsSrvResolution = false;
_clusterOptions.WithSerializer(new CouchbaseSerializer());
_clusterOptions.AddLinq();
_clusterOptions.KvTimeout = TimeSpan.FromSeconds(10);
And then tried to match these configs on my Python code using:
auth = PasswordAuthenticator(username, password)
timeout_opts = ClusterTimeoutOptions(connect_timeout=timedelta(seconds=10),
kv_timeout=timedelta(seconds=10))
options = ClusterOptions(auth,
timeout_options=timeout_opts,
disable_mozilla_ca_certificates=True,
enable_dns_srv=False,
tls_verify=None)
But couldn’t find what is the equivalent for NetworkResolution in Python::ClusterOptions?