GithubHelp home page GithubHelp logo

Unable to skip SSL authentication when connecting to Emulator running in Linux Docker Container about azure-cosmos-db-emulator-docker HOT 4 CLOSED

azure avatar azure commented on June 15, 2024 2
Unable to skip SSL authentication when connecting to Emulator running in Linux Docker Container

from azure-cosmos-db-emulator-docker.

Comments (4)

sogustavo avatar sogustavo commented on June 15, 2024

Same problem here

from azure-cosmos-db-emulator-docker.

AdamBremholm avatar AdamBremholm commented on June 15, 2024

same problem here. Did you find some workaround?

from azure-cosmos-db-emulator-docker.

alexanderbikk avatar alexanderbikk commented on June 15, 2024

@davidguidali I'm getting exactly the same problem here. I'm running ComsosDb emulator in Linux Docker Container on Docker for Windows. And try to connect from .net 6 application.
If I don't use workaround for ssl certification I'm getting excepted connection issue. When I try to use recommended workaround The program hangs in first call to CosmosDb.

Didn't you find a solution?

UPD: I found your issue in sdk v3 repo. I think it should be linked. Looks like there is no answer on this question right now. And we should wait until emulator will be released probably.

from azure-cosmos-db-emulator-docker.

milismsft avatar milismsft commented on June 15, 2024

@davidguidali @sogustavo @AdamBremholm please refer to https://docs.microsoft.com/en-us/azure/cosmos-db/linux-emulator?tabs=ssl-netstd21, in particular step 1 and 3 (see "-e AZURE_COSMOS_EMULATOR_IP_ADDRESS_OVERRIDE=$ipaddr"). In your .NET or Java client app you must configure the Cosmos DB endpoint to use that IP address setting and not "localhost". For .NET applications please also follow https://docs.microsoft.com/en-us/azure/cosmos-db/local-emulator?tabs=ssl-netstd21#linux-environment to ensure the emulator's self signed certificate is properly added to your host configuration (the .PEM file downloaded per first link can be used as the .CRT file in the second link).

from azure-cosmos-db-emulator-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.