microsoft / vscode-cosmosdb

Azure Databases extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-cosmosdb
MIT License
155 stars 67 forks source link

An error displays under attached SQL Emulator node #1208

Open v-xianya opened 5 years ago

v-xianya commented 5 years ago

OS: Windows Build Version: 20190928.1 Emulator Version: 2.5.6.0

Repro Steps:

  1. Install Cosmos DB Emulator and start it.
  2. Right click on 'Attached Database Accounts' -> Attach Emulator -> SQL (DocumentDB).
  3. Check the result.

Expect:

  1. Successfully attached.
  2. No error shows under SQL Emulator.

image

Actual: An error displays under one attached SQL Emulator. image

wkleon commented 5 years ago

I'm having this same issue.

wwlorey commented 4 years ago

@v-xianya, @wkleon can you make sure you're using the latest version of the emulator? I was not able to reproduce on v2.11.1.

If that doesn't resolve the issue, can you check if your 'cosmosDB.emulator.port' setting was modified?

v-mengwe commented 4 years ago

@wwlorey Verified on the latest build 20200626.4 with the version 2.11.1 of the emulator, this issue does not reproduce. Is it possible to add a reminder for users to download the latest version of the emulator when encountering this issue.

wwlorey commented 4 years ago

Thanks for the suggestion @v-mengwe. I think it's best to field those issues here on GitHub since the emulator could be unreachable for a variety of reasons.

vscodebot[bot] commented 4 years ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

v-xinda commented 3 years ago

Verified this issue on the latest build 20210316.1 and Azure Cosmos DB Emulator v2.11.11, it still reproduces so I reopened it. This issue will be fixed by refreshing the "Emulator SQL" node.