PyMongo on Azure Cosmos and MongoDB
I created an Azure Cosmos (RU) Serverless database (sharded) with a MongoDB engine and would like to use Python and pymongo to run queries on it. I am not managing to connect to it in any way. I have tested…
I created an Azure Cosmos (RU) Serverless database (sharded) with a MongoDB engine and would like to use Python and pymongo to run queries on it. I am not managing to connect to it in any way. I have tested…
Any time I connect to our Azure-hosted CosmosDB Mongo database, we are given the following warning: UserWarning: You appear to be connected to a CosmosDB cluster. For more information regarding feature compatibility and support please visit https://www.mongodb.com/supportability/cosmosdb (mongo-python-driver GitHub source…
I'm trying to connect to a Cosmos DB for Mongo DB using a private endpoint. The private endpoint creation succeeeds and is approved. The subnet configuration is working to connect to other resources such as Key Vault, SQL Server and…
I'm encountering an issue with CosmosDB while performing a batch upsert operation. The error code 16500 indicates a "TooManyRequests" (429) status, which suggests that the request rate is too high for the provisioned throughput. The full error message is as…
I'm using CosmosDB with MongoDB API and I currently use a database instance to save IoT time series data from multiple machines in a dedicated collection per machine. Recently, our Azure Function (which processes and saves the machine data) fails…
I'm trying to create on Azure Cosmos DB with MongoDB driver, a new collection. I've reached the limit of 100 collection for account cause it's a serverless account. Now I've deleted some old databases and collection a couple of days…
I have a CosmosDB (using a MongoDB api) running at a avg load of 30% (of its RUs). Very sporadically (like twice a week) there's a huge spike that takes it to 100% for about 1-2 minutes, so I usually…
I'm trying to make a functional basic Azure Cosmos Database workflow. From my Azure account, I'm getting the endpoint address from the HOST param in the "Connection String" in "Settings", and the key from the "PRIMARY PASSWORD" param. string EndpointUri…
I'm trying to connect to my Mongo CosmosDB instance through Azure Bastion. Our IT department blocks all outbound traffic thats not on port 443 so in order for me to be able to access anything I have to tunnel it…
I'm trying to connect to a Java application for change feed. new CosmosClientBuilder().endpoint(ENDPOINT).key(KEY).buildAsyncClient(); The server version is 3.6 but when I try to give ENDPOINT as https://myproject.mongo.cosmos.azure.com:443 it is not working, getting error. But when I give it like https://myproject.documents.azure.com:443…