Skip to content

Commit 840d88f

Browse files
authored
Merge pull request #187999 from j82w/j82w-privateendpoint
Cosmos DB: Adding private endpoint failure to Java request timeout
2 parents f3a7eb4 + 16d1c89 commit 840d88f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

articles/cosmos-db/sql/troubleshoot-service-unavailable-java-sdk-v4-sql.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ The Java v4 SDK wasn't able to connect to Azure Cosmos DB.
1818
The following list contains known causes and solutions for service unavailable exceptions.
1919

2020
### The required ports are being blocked
21-
Verify that all the [required ports](sql-sdk-connection-modes.md#service-port-ranges) are enabled.
21+
Verify that all the [required ports](sql-sdk-connection-modes.md#service-port-ranges) are enabled. If the account is configured with private endpoint then additional ports are required to be opened.
22+
23+
```
24+
failed to establish connection to {account name}.documents.azure.com/<unresolved>:3044 due to io.netty.channel.ConnectTimeoutException:
25+
```
2226

2327
### Client initialization failure
2428
The following exception is hit if the SDK is not able to talk to the Cosmos DB instance. This normally points to some security protocol like a firewall rule is blocking the requests.
@@ -50,4 +54,4 @@ Check the [Azure status](https://status.azure.com/status) to see if there's an o
5054

5155
## Next steps
5256
* [Diagnose and troubleshoot](troubleshoot-java-sdk-v4-sql.md) issues when you use the Azure Cosmos DB Java v4 SDK.
53-
* Learn about performance guidelines for [Java v4 SDK](performance-tips-java-sdk-v4-sql.md).
57+
* Learn about performance guidelines for [Java v4 SDK](performance-tips-java-sdk-v4-sql.md).

0 commit comments

Comments
 (0)