Nitesh Vijay

Results 22 comments of Nitesh Vijay

The issue is fixed in new release (2.14.20) Pull the latest image from `mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:latest`

Linux Emulator is supported in Mac with Intel Chips ([Documentation](https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-develop-emulator?tabs=docker-linux%2Ccsharp&pivots=api-nosql)) Work is in progress to support emulator natively on Mac with M1/2/3 chips.

Add `&tlsInsecure=true` in mongo connection string. Example - `mongodb://localhost:C2y6yDjf5%2FR%2Bob0N8A7Cgv30VRDJIWEHLM%2B4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw%2FJw%3D%3D@localhost:10255/admin?ssl=true&retrywrites=false&tlsInsecure=true`

> @sajeetharan, please re-open the issue, since the original problem ("AZURE_COSMOS_EMULATOR_ENABLE_DATA_PERSISTENCE flag is not respected") has not been addressed. Tried using the steps to reproduce [from my above comment](https://github.com/Azure/azure-cosmos-db-emulator-docker/issues/96#issuecomment-2111840643), the...

We have released a new version of emulator with the fix. Pull the latest image from - `mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:latest`

> Still dies for us: > > > > [linux-emulator_logs.txt](https://github.com/user-attachments/files/17065224/linux-emulator_logs.txt) > > Please share the dump file that is generated at the end. You can find it at path /tmp/cosmos/appdata/log/

Yes, the fix for latest linux kernel and this error is related. We are looking into it and will soon provide an update.

> @niteshvijay1995 is there a chance that `container.CreateItemAsync(item, partitionKey);` method has been affected by the fix? It used to work like a charm before but after the problem with the...

> > For those who still encounter the initial error, just make sure you've pulled the most recent version of the image by explicitly calling `docker pull mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:latest`. It helped...

The support for Parallels Desktop on MacOS is restored in version 2.14.20. Use link (https://aka.ms/cosmosdb-emulator) to get latest version of emulator. Native support using docker containers on Mac with M1/2/3...