vscode-cosmosdb icon indicating copy to clipboard operation
vscode-cosmosdb copied to clipboard

There is an error under the "SQL Emulator" node after attaching the SQL Emulator account

Open v-mengwe opened this issue 3 years ago • 1 comments

OS: Win10 Build Version: 20210329.1 VS Code Version: 1.56.0-insider (user setup)

Repro Steps:

  1. Right Click "Attached Database Accounts" --> Click "Attached Emulator..." --> Select "Core(SQL)".
  2. Expand the "Attached Database Accounts" node --> Expand "SQL Emulator" node.

Expect: There is no error.

Actual: There is an error under the "SQL Emulator" node. image

More Info: There is a same issue which was fixed in December last year.https://github.com/microsoft/vscode-cosmosdb/issues/1763

v-mengwe avatar Apr 01 '21 08:04 v-mengwe

I bumped into this myself a moment ago. My workaround for it was to do two things, which frankly aren't great:

  1. Disabled Proxy Strict SSL.
  2. Shut off Proxy Support.

My settings look like this: image

I'm unsure why this fixed the issue, but it did seem to. I also don't happen to need proxy settings in my context. I don't know what you do if you need them. I'm also unsure why the plugin won't accept the self-signed cert. It's in my Windows Trust Store, and I've added the win-ca plugin for VSC to try and get it to read different trust stores.

pseudoramble avatar Apr 06 '21 19:04 pseudoramble

@v-ruizh @v-xinda Could you confirm that this is still reproducing? Between updates to the emulator and VS Code, this may have resolved itself.

nturinski avatar Aug 18 '22 22:08 nturinski

I tried myself using v2.14.6.0 of the emulator with the proxy settings on. Things are working as expected so I will close it for now.

nturinski avatar Aug 18 '22 22:08 nturinski

@nturinski Verified on the latest build 20220818.1, this issue doesn't reproduce for now.

v-xinda avatar Aug 19 '22 09:08 v-xinda