We are getting the following error while using DocumentClient:
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Here are details with which the Cosmos connection was made:
Cosmos Nuget: Microsoft.Azure.DocumentDB.Core v2.9.2
Platform: .NET Core 3.1
MaxConnectionLimit: 200
RequestTimeoutInSeconds: Default
ConnectionMode: Gateway
ConnectionProtocol: Https
Can you help with the above issue? Is there any other option which we need to add while connecting to Cosmos Db in order to avoid the recurrence of this issue?
We followed the guidelines inhttps://docs.microsoft.com/en-us/azure/cosmos-db/performance-tips but still we are getting the issue. Please find attached the exception log for further reference.
Hi Team,
We are getting the following error while using DocumentClient:
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Here are details with which the Cosmos connection was made: Cosmos Nuget: Microsoft.Azure.DocumentDB.Core v2.9.2 Platform: .NET Core 3.1 MaxConnectionLimit: 200 RequestTimeoutInSeconds: Default ConnectionMode: Gateway ConnectionProtocol: Https
Can you help with the above issue? Is there any other option which we need to add while connecting to Cosmos Db in order to avoid the recurrence of this issue?
We followed the guidelines inhttps://docs.microsoft.com/en-us/azure/cosmos-db/performance-tips but still we are getting the issue. Please find attached the exception log for further reference.
Thanks Nafisa
SocketExceptionDocumentClient.txt