Couchbase.Core.Exceptions.RequestCanceledException: The query was canceled - .net client

Getting the below error occasionally while fetching data from Couchbase. Hosted in Kubernetes having 4 server nodes.
Couchbase version: 6.6.0
Clouchbase .net client lib : 3.0.7

at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
Couchbase.Core.Exceptions.RequestCanceledException: The query was canceled.
at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Couchbase.Query.QueryClient.ExecuteQuery[T](QueryOptions options, ITypeSerializer serializer, IInternalSpan span)

Hi @Lal_John,

Can you provide more information about your setup such as where Client SDK’s are running in the same Kubernetes cluster or outside? size of worker nodes, pod specification, etc.

Can you create a JIRA issue under Loading... so we can investigate " RequestCanceledException"

Thanks!

  1. The client application is running in the same Kubernetes cluster.
  2. Client application has 5 nodes, having a batch size of 1000 for processing ( batch size of 20 working fine. anything greater than 20 fails).

_clusterOptions = new ClusterOptions()
{
UserName = *******,
Password = ********,
Serializer = new DefaultSerializer(jsonSettings, jsonSettings)
};
_clusterOptions.WithConnectionString(hostname);