Open kl5429 opened 1 year ago
See the Enable and View Logs section of the wiki for how to capture and share Azure Account extension logs.
Please collect logs in DEBUG or TRACE mode and remove any personal information before sharing.
Hi @alexweininger
Same issue here.
2023-08-24 09:47:49.850 [info] MSAL: [Thu, 24 Aug 2023 06:47:49 GMT] : @azure/msal-node@1.14.6 : Info - getTokenCache called
2023-08-24 09:47:49.850 [trace] MSAL: [Thu, 24 Aug 2023 06:47:49 GMT] : @azure/msal-node@1.14.6 : Trace - getAllAccounts called
2023-08-24 09:47:49.854 [trace] MSAL: [Thu, 24 Aug 2023 06:47:49 GMT] : @azure/msal-node@1.14.6 : Trace - Retrieving all cache keys
2023-08-24 09:47:49.854 [trace] MSAL: [Thu, 24 Aug 2023 06:47:49 GMT] : @azure/msal-node@1.14.6 : Trace - Getting cache key-value store
2023-08-24 09:47:49.857 [info] Attempting to reach URL "https://login.microsoftonline.com/"...
2023-08-24 09:47:51.249 [info] Attempting to reach URL "https://vscode.dev/redirect"...
2023-08-24 09:47:51.249 [info] Attempting to reach URL "https://login.microsoftonline.com/common/oauth2/authorize?response_type=code&client_id=xxx&redirect_uri=https%3A%2F%2Fvscode.dev%2Fredirect&state=http%3A%2F%2F127.0.0.1%3A49174%2Fcallback?nonce=5Dpgo3cQaSYJVGd9R3n%2F2Q%3D%3D&prompt=select_account"...
2023-08-24 09:47:54.136 [trace] ADAL: Authority: VERBOSE: Performing instance discovery
2023-08-24 09:47:54.136 [trace] ADAL: Authority: VERBOSE: Performing static instance discovery
2023-08-24 09:47:54.136 [trace] ADAL: Authority: VERBOSE: Authority validated via static instance discovery.
2023-08-24 09:47:54.136 [debug] ADAL: TokenRequest: INFO: Getting token with auth code.
2023-08-24 09:47:54.136 [info]
┌────── Axios Request POST https://login.microsoftonline.com/common/oauth2/token?api-version=1.0
Headers (8):
└ Accept-Charset: "utf-8"
└ Content-Type: "application/x-www-form-urlencoded"
└ client-request-id: "hidden"
└ return-client-request-id: "true"
└ x-client-CPU: "x64"
└ x-client-OS: "win32"
└ x-client-SKU: "Node"
└ x-client-Ver: "0.2.3"
Query parameters (6):
└ client_id: "hidden"
└ client_secret: ""
└ code: "0....."
└ grant_type: "authorization_code"
└ redirect_uri: "https://vscode.dev/redirect"
└ resource: "https://management.core.windows.net/"
Proxy configuration: None
└───────────────────────────────────────────────────
2023-08-24 09:47:59.240 [error] \n
Error response
\n
Error code: 503
\n
Message: 28; .
\n
Error code explanation: 503 - The server cannot process the request due to a high load.
\n
In settings, I have set the proxy:
"http.proxy": "http://localhost:3128",
"http.proxySupport": "override",
"http.proxyStrictSSL": false,
However, I managed to login with the extension v.0.9.9 As I can see, it's not setting the proxy agent for Axios http request.
Are you connected to a proxy server? Yes/No yes
Steps to Reproduce: