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
Unable to connect AML compute instance from Visual Studio Code (new error) #2037
Comments
#2033 Same error |
In Visual Studio Code : Right click start and stop compute instance works... I use Visual Studio Code everyday, this is new error, was not doing this last week ... |
A change released in the VS Code 1.78 April release breaks loading OS certificates on Windows. Meaning self-signed certificates and CA certificates picked up from a network proxy are currently broken. See microsoft/vscode#181404 for more details. It looks like VS Code is planning to include a fix in the 1.78.2 release (April recovery 2). Until that is released, you can downgrade to VS Code version 1.77. Also, other users have had success installing the win-ca extension, which makes Trusted Root Certificates on Windows available to VS Code extensions. Another workaround if your CA certificate is provided by a network proxy is to configure the proxy related settings in VS Code. |
@alexweininger thank for pointing that out. @gf-eaton could you please try downgrading or installing the win-ca extension and let me know it that help. |
Hello all, @sevillal Thanks for the replies. Unfortunate
Not an optionAs per downgrading Visual Studio Code we cannot do that now. Solution 💯two things to do :
|
@gf-eaton VS Code just released version 1.78.2 which should fix the certificates issue, could you please update VS Code (Help > Check for Updates...) and retry the connection. |
@sevillal 1.78.2 is now functional, fix the issue. |
Does this occur consistently? Yes, since this week. 5 days ago.
Repro steps:
Failed to connect to the remote extension host server (Error: request to https://gf-a8mv2.eastus.instances.azureml.ms/api/terminals?1683743256805 failed, reason: self signed certificate in certificate chain)
Action: Resolver.resolve
Error type: 70
Error Message: request to redacted:url failed, reason: self signed certificate in certificate chain
Version: 0.28.1
OS: win32
OS Release: 10.0.19044
Product: Visual Studio Code
Product Version: 1.78.1
Language: en
Call Stack
The text was updated successfully, but these errors were encountered: