Azure / Azure/azure-cosmosdb-java

CosmosDb Java client and private endpoints

Open
#346 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
59
Forks
68
PR merge metrics
No merged PRs in 30d

Description

Created a private endpoint for my CosmosDb storage account and try to connect to it. Getting a ConnectTimeOutException..

```
io.netty.channel.ConnectTimeoutException: connection timed out: cosmos-account-41895-eastus.documents.azure.com/10.3.168.11:21226
```

If I try to connect to the storage account using the `azure cli` from the same machine, it works fine.

```
az cosmosdb sql database create --account-name cosmos-account-41895 --name testdb --resource-group rg-name
```

For context, I'm using the java library: com.azure:azure-cosmos:4.0.1-beta.1. Does the Java client support private endpoints yet?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.