Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempted access to Cosmos Emulator from android emulator: Request hangs #1

Closed
InquisitorJax opened this issue Aug 6, 2020 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@InquisitorJax
Copy link
Owner

trying to create a new document to the local emulator just hangs on CosmosRepository.SaveModeAsync ...
await _container.UpsertItemAsync(docToSave, _partitionKey);

@InquisitorJax InquisitorJax added the help wanted Extra attention is needed label Aug 6, 2020
@InquisitorJax InquisitorJax changed the title Attempted access to Cosmos Emulator hangs Attempted access to Cosmos Emulator from android emulator: Request hangs Aug 7, 2020
@InquisitorJax
Copy link
Owner Author

Cosmos accepts https calls by default.
So for UWP: Make sure the base url is https
For emulators, make sure that you have disabled ssl on the CosmosClientOptions, as illustrated here:
Azure/azure-cosmos-dotnet-v3#1551
and setup network access, as shown here: https://docs.microsoft.com/en-us/azure/cosmos-db/local-emulator#running-on-a-local-network

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant