-
Notifications
You must be signed in to change notification settings - Fork 129
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
Azure: Sign In fails, says network connection missing, but it is not #819
Comments
I know what the problem is, but not the solution. Azure Sign In is in conflict with GitHub CoPilot. If CoPilot is enabled, Azure Sign In is not working. Disable CoPilot and Azure Sign In works. If you have already signed into Azure, turning on CoPilot does not seem to cause a problem. |
That is very odd. Which version of the GitHub CoPilot extension do you have installed?
We saw a lot of these errors a week or two ago, but this was fixed by the 1.78.2 release. |
GitHub Copilot v1.88.132 |
@scottschwab2 dude just how did you even figure it out? This is mind blowing and thank you so much for the work around. There is a dent on my wall due to all the banging my head against it because of this issue. Thank you! Maintainers, Please check this out. |
The problem also occurs on vscode-insider build with only the Azure Account, Azure Functions, and Azure Resources plugins installed. vscode-insider: I don't have copilot installed, so my earlier work-around does not work on this insider build. |
@scottschwab2 Could you provide logs for the error you are currently experiencing? Are they different from the logs provided in the original issue? |
The behavior seems the same,
|
@scottschwab2 I'm sorry for asking you to do this again, but could you share the logs while in Trace log mode? Make sure to redact any sensitive information before sharing. See the Enable and View Logs section of the wiki for how to capture and share Azure Account extension logs. |
I think this is what you want: main.log2023-06-23 15:04:21.972 [info] update#setState idle sharedprocess.log2023-06-23 15:04:27.141 [info] Getting Manifest... github.copilot-chat userDataSync.log2023-06-23 15:04:24.265 [info] Using settings sync service https://vscode-sync-insiders.trafficmanager.net/ telemetry.log2023-06-23 15:04:24.264 [info] Below are logs for every telemetry event sent from VS Code once the log level is set to trace. |
@scottschwab2 actually I just need the Azure Account output channel logs, but with the log level set to Trace. |
From window2/exthost/ms-vscode.azure-account2023-06-23 15:25:09.266 [info] Attempting to reach URL "https://login.microsoftonline.com/"... |
I noticed the same issue with Copilot in #733 (comment) |
same, specifically, |
possible solution for this: #733 (comment) |
Type: Bug
Running the command 'Azure: Sign In' fails, and a message box appears stating, "You appear to be offline. Please check your network connection." My network connection is fine. From a terminal window, I can successfully log into Azure with the
az login,
but the extension's attempts continue to fail. If I look into the "Azure Accounting.log" file, I see the repeating message:2023-06-02 07:59:48.971 [info] Attempting to reach URL "https://login.microsoftonline.com/"...
2023-06-02 07:59:49.045 [error] certificate has expired
I have tried both the ADAL and MSAL authentication libraries. I am attempting to login into 'AzureCloud'. There is no proxy or firewall blocking.
It has worked in the past, about two months ago, but it started to fail for me yesterday.
To reproduce, just run the VSCode command
Azure: Sign In
Running on a Mac, Ventura 13.0
Visual Studio Code:
Version: 1.78.2
Commit: b3e4e68a0bc097f0ae7907b217c1119af9e03435
Date: 2023-05-10T14:44:45.204Z (3 wks ago)
Electron: 22.5.2
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Darwin x64 22.1.0
Sandboxed: Yes
Extension: Azure Account, version: v0.11.5
Extension version: 0.11.5
VS Code version: Code 1.78.2 (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T14:44:45.204Z)
OS version: Darwin x64 22.1.0
Modes:
Sandboxed: Yes
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: