Category : azure-cosmosdb

I am running Linux cosmos emulator with below configurations (as per official Microsoft documention) on Ubuntu 20.04.3 ( I tried 18.04 as well) ipaddr="`ifconfig | grep "inet " | grep -Fv 127.0.0.1 | awk ‘{print $2}’ | head -n 1`" sudo docker pull mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator sudo docker run -d -p 8081:8081 -p 10251:10251 -p 10252:10252 -p ..

Read more

I am trying to run my azure-cosmosdb-emulator container inside docker which I was able to do it successfully. I have followed the steps mentioned in the link Here But, I want to start the emulator with the option EnableMongoDbEndpoint=3.6. The above help page does not say about "How to pass EnableMongoDbEndpoint=3.6" Source: Docker..

Read more

I am using cosmos DB emulator docker on linux. Java Application can access it when cosmos emulator and application is on same machine(localhost), but application can not access the cosmos emulator when it is on different machine(accessing via hostname or IP) because emulator issue a self signed certificate only for CN=localhost, java application fail to ..

Read more

A new Linux emulator for CosmosDb was recently announced. I’m using Docker for Windows. And there is a problem with the connection to CosmosDb Emulator in Linux Docker Container via ASP.NET Core. The Docker container with the emulator launched successfully and I can reach the explorer by: http://localhost:8081/_explorer/index.html Then I run the project in Visual ..

Read more

I’m attempting to connect to the cosmosDb emulator installed locally on my windows machine via a docker container running a .net core webapi project. Unfortunately I get the following error as soon as the container starts… Unhandled exception. System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. The reason why appears to be ..

Read more

I can successfully bring up a CosmosDb Emulator instance within docker-compose, but the data I am trying to seed has more than 25 static containers, which is more than the default emulator allows. Per https://docs.microsoft.com/en-us/azure/cosmos-db/emulator-command-line-parameters#set-partitioncount you can set this partition count higher with a parameter, but I am unable to find a proper entrypoint into ..

Read more

I have a Node.js based app, and am using the Azure/cosmos-sign package to generate the correct headers via the generateHeaders method to save a JSON object in the local Cosmos Emulator. Upon trying to post from the Node app to the URI provided in the Emulator Quickstart (https://localhost:8081), the error returned is… Error: connect ECONNREFUSED ..

Read more

I am trying to pull/download the azure cosmosdb emulator in my docker which is installed in windows 10 enterprise edition. Tried both 2 below commands to pull it : docker pull microsoft/azure-cosmosdb-emulator docker pull mcr.microsoft.com/cosmosdb/windows/azure-cosmos-emulator but getting below error message : failed to register layer: rename C:ProgramDataDockerimagewindowsfilterlayerdbtmpwrite-set-242224026 C:ProgramDataDockerimagewindowsfilterlayerdbsha256f358be10862ccbc3296497dd7cd28b0e8c7931b4a8d7f7cd6: Access is denied. Tried several things but ..

Read more