Closed WB-FSE closed 11 months ago
Hi, we just released v0.8.0 of the Azure Resources extension which fixes a lot of issues related to proxies and sign in. Update and try it again and see if that works.
https://github.com/microsoft/vscode-azureresourcegroups/releases/tag/v0.8.0
Thanks for the comment. I've updated the Azure Resources extension and now I only get a "fetch failed" error message. Possibly it is under the hood the same issue?
Make sure you're using the command with the id azureResourceGroups.logIn
, and not any others.
I've tested with the other sign in method last week. This didn't work. And all of a sudden yesterday it started working. So I'll close this issue for now but I don't have a clue yet why this started working.
Does this occur consistently? Yes Repro steps:
Action: updateSubscriptionsAndTenants Error type: REQUEST_SEND_ERROR Error Message: request to https://management.azure.com/subscriptions?api-version=2016-06-01 failed, reason: getaddrinfo ENOTFOUND management.azure.com
Using a corporate network, probably behind a proxy.
Version: 0.11.6 OS: win32 OS Release: 10.0.22621 Product: Visual Studio Code Product Version: 1.84.2 Language: en
Call Stack
new RestError extension.bundle.js:2:65384 NodeFetchHttpClient.Proxy test https://management.azure.com
VS Code 1.84.2 (1a5daa3a0231a0fbba4f14db7ec463cf99d7768e) Network Proxy Test 0.0.8 win32 10.0.22621 x64 Settings: - http.proxy: - http.proxyAuthorization: null - http.proxyStrictSSL: true - http.proxySupport: override - http.systemCertificates: true Environment variables: Sending HTTP2 GET request to https://management.azure.com... Received error: getaddrinfo ENOTFOUND management.azure.com (ENOTFOUND) Retrying while ignoring certificate issues to collect information on the certificate chain. Sending HTTP2 GET request to https://management.azure.com (allowing unauthorized)... Received error: getaddrinfo ENOTFOUND management.azure.com (ENOTFOUND)