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

Simple Querry #112

Open
Furgie-at-Wilts opened this issue Jan 16, 2025 · 4 comments
Open

Simple Querry #112

Furgie-at-Wilts opened this issue Jan 16, 2025 · 4 comments
Assignees
Labels

Comments

@Furgie-at-Wilts
Copy link

Type: Bug

I asked copilot "@Azure Which subscription and resource group hosts the resource 'resourcea'" (a valid resource)

I keep getting "An error occured on the server while streaming results"

Extension version: 0.3.87
VS Code version: Code 1.96.3 (91fbdddc47bc9c09064bf7acf133d22631cbf083, 2025-01-09T18:14:09.060Z)
OS version: Windows_NT x64 10.0.26100
Modes:

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz (8 x 1498)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.74GB (4.22GB free)
Process Argv --crash-reporter-id d86909d2-bec9-4502-b637-8e36ad569918
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupyter:31046869
2f103344:31071589
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc2:31192216
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
cf1a2727:31215809
6074i472:31201624
dwoutputs:31217127

@MRayermannMSFT
Copy link
Member

@Furgie-at-Wilts are you perhaps behind a proxy? We've seen users in the past be blocked by that. Depending on the type of proxy, and authentication scheme for it we may be able to help you get unblocked. Please let us know if you are continuing to have problems, any proxy information, and we'll do what we can. Thanks!

@Furgie-at-Wilts
Copy link
Author

Furgie-at-Wilts commented Feb 6, 2025

Hi, thanks for your response. I'm still getting the same error, but I have a thought as to what might be wrong.

I'm wondering what account the @Azure copilot might be using when trying to access Azure?

So I use three accounts in VS Code.

  • I run VS Code under my 'normal' work account
  • I have an admin account used to access Azure resources
  • I have a separate account I use for GitHub and Github Copilot

All are showing as logged in under the Accounts button in the VS Code toolbar

Can I tell VS Code what account to use?

@Furgie-at-Wilts
Copy link
Author

Just an aside, Vs code Copilot gave me this answer

Image

"_how does @Azure work?

GitHub Copilot
The @Azure command in Visual Studio Code is used to interact with Azure services directly from the editor. It allows you to manage Azure resources, run queries, and perform other tasks without leaving the IDE.

To use @Azure effectively, you need to:

Install the Azure Account extension in Visual Studio Code.
Sign in to your Azure account using the command palette (Ctrl+Shift+P), then type Azure: Sign In.
Use the @Azure command to interact with Azure resources._ "

I'm working on the premise Copilot is working now with the Azure resource extension as Azure Account has been deprecated?

@kvenkatrajan
Copy link

Currently @Azure doesn't allow you to log into multiple azure accounts. Can you try logging off of the existing azure accounts and log into the account that has azure resources.
There is UX to manage account signed in for a specific extension here in VSCode:

Image
And here's an example of its updated for a different extension : https://code.visualstudio.com/docs/csharp/signing-in

Hope that helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants