couchbase.exceptions.UnAmbiguousTimeoutException

The .net equivalent code that is working without any issue:

_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 = config.GetCouchbaseNetworkResolution();
_clusterOptions.EnableDnsSrvResolution = config.GetCouchbaseEnableDnsSrvResolution();

_clusterOptions.WithSerializer(new CouchbaseSerializer());
_clusterOptions.AddLinq();
_clusterOptions.KvTimeout = TimeSpan.FromSeconds(10);

config.GetCouchbaseBucketMapping().Bind(_bucketNamesMapping);
_cluster = Cluster.ConnectAsync(_clusterOptions).Result;