Azure / azure-cosmos-table-dotnet

.NET SDK for Azure Cosmos Table API
14 stars 6 forks source link

System.Net.Sockets.SocketException while using DocumentClient #60

Closed nafisabarlaskar closed 4 years ago

nafisabarlaskar commented 4 years ago

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

nafisabarlaskar commented 4 years ago

Closing it as it got created in the wrong place