Skip to content

Commit c94267e

Browse files
committed
region
1 parent 16ef156 commit c94267e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

articles/cosmos-db/troubleshoot-dot-net-sdk.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,14 @@ RequestStartTime: 2020-03-09T22:44:49.5373624Z, RequestEndTime: 2020-03-09T22:44
6363
ResponseTime: 2020-03-09T22:44:49.9279906Z, StoreResult: StorePhysicalAddress: rntbd://..., ...
6464
```
6565

66-
It might indicate a bottleneck on the Network interfaces because of the load. If the application is running on Azure Virtual Machines, there are possible workarounds:
67-
* Consider using a [Virtual Machine with Accelerated Networking enabled](../virtual-network/create-vm-accelerated-networking-powershell.md).
68-
* Enable [Accelerated Networking on an existing Virtual Machine](../virtual-network/create-vm-accelerated-networking-powershell.md#enable-accelerated-networking-on-existing-vms).
69-
* Consider using a [higher end Virtual Machine](../virtual-machines/windows/sizes.md).
66+
This latency can have multiple causes:
67+
68+
* Your application is not running in the same region as your Azure Cosmos DB account.
69+
* Your [PreferredLocations](https://docs.microsoft.com/dotnet/api/microsoft.azure.documents.client.connectionpolicy.preferredlocations) or [ApplicationRegion](https://docs.microsoft.com/dotnet/api/microsoft.azure.cosmos.cosmosclientoptions.applicationregion) configuration is incorrect and is trying to connect to a different region to where your application is currently running on.
70+
* There might be a bottleneck on the Network interface because of high traffic. If the application is running on Azure Virtual Machines, there are possible workarounds:
71+
* Consider using a [Virtual Machine with Accelerated Networking enabled](../virtual-network/create-vm-accelerated-networking-powershell.md).
72+
* Enable [Accelerated Networking on an existing Virtual Machine](../virtual-network/create-vm-accelerated-networking-powershell.md#enable-accelerated-networking-on-existing-vms).
73+
* Consider using a [higher end Virtual Machine](../virtual-machines/windows/sizes.md).
7074

7175
### <a name="snat"></a>Azure SNAT (PAT) port exhaustion
7276

0 commit comments

Comments
 (0)