Open dan1863 opened 3 months ago
I can confirm the same issue
@dan1863 thanks for filing this issue and @janmolemans thanks for commenting. I have some questions to help us triage this:
Sign Out
from all the accounts you are a signed in and retry?
@dan1863 @janmolemans VS Code released version 1.92.1 could you please try it and let us know if that fixes your issue.
@sevillal I have installed the new version and it does not fix the issue unfortunately. To answer your previous questions:
Hi,
I'm also having this issue. Could you provide an update and/or fix? Also can you provide some details on how to troubleshoot the issue.
> code --version
1.92.2
fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
x64
> code --list-extensions --show-versions | Select-String "vscode-ai"
ms-toolsai.vscode-ai@0.50.0
ms-toolsai.vscode-ai-remote@0.50.0
It would be great to know if I also need Azure account
extension for this to work.
p.s It work perfectly fine before update my vscode to the latest version
thanks
In our company it could be related to the use of self signed certificates by our proxy
@shsuman could you please look into this?
@dan1863 @KirillTsyganov Are you also behind a proxy ?
@dan1863 @KirillTsyganov @janmolemans We are working to fix this issue. In the meantime, I recommend to downgrade VS Code to 1.91.x
Thanks for the update @shsuman !
Yes, on a work compute I'm connected to VPN, need to proxy out
I did roll back a few days ago and thus far it seems to work as before
> code --version
1.91.1
f1e16e1e6214d7c44d078b1f0607b2388f29d729
x64
@dan1863 @KirillTsyganov @janmolemans Can you provide the Microsoft Authentication logs by following the steps below ?
Developer: Set Log Level
and then selecting Microsoft Authentication from the quick picksHi @shsuman ,
I've set log level to "trace" for AzureML - Remote" extension.
In 1.91.1 version (in which I'm able to connect to AzureML) I can see these logs. Note that xxx and ooo are two different tenant_ids. One I recognise as my Azure tenant_id, but I'm not sure what the other one is. The one I don't recognise is ooooo
2024-09-05 09:54:33.403 [info] [email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:54:35.567 [info] for undefined
2024-09-05 09:54:35.567 [info] [email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:54:35.872 [info] for undefined
2024-09-05 09:54:35.872 [info] [email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:54:36.218 [info] for undefined
2024-09-05 09:54:36.218 [info] [email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:54:38.490 [info] for undefined
2024-09-05 09:54:38.490 [info] [email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:54:38.532 [info] for undefined
2024-09-05 09:54:38.532 [info] [VSCODE_TENANT:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:54:38.843 [info] for undefined
2024-09-05 09:54:38.843 [info] [VSCODE_TENANT:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:54:39.049 [info] for undefined
2024-09-05 09:54:39.049 [info] [VSCODE_TENANT:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:54:39.107 [info] for undefined
2024-09-05 09:54:39.108 [info] [VSCODE_TENANT:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:54:39.300 [info] for undefined
2024-09-05 09:54:39.300 [info] [VSCODE_TENANT:oooooooo-oooo-oooo-oooo-oooooooooooo email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:54:39.359 [info] for undefined
2024-09-05 09:54:39.359 [info] [VSCODE_TENANT:oooooooo-oooo-oooo-oooo-oooooooooooo email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:54:41.199 [info] for undefined
2024-09-05 09:54:41.199 [info] [VSCODE_TENANT:oooooooo-oooo-oooo-oooo-oooooooooooo email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:54:41.272 [info] for undefined
2024-09-05 09:54:41.272 [info] [VSCODE_TENANT:oooooooo-oooo-oooo-oooo-oooooooooooo email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
In 1.92.2 (in which I can't connect to AzureML) I can see these logs. And it is just stuck in "Fetching subscription details..." It almost feels that the problem not in AzureML but in auth to Azure itself?
2024-09-05 10:13:38.337 [error] [VSCODE_TENANT:oooooooo-oooo-oooo-oooo-oooooooooooo email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 10:13:38.340 [error] [VSCODE_TENANT:oooooooo-oooo-oooo-oooo-oooooooooooo email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 10:13:38.342 [error] [email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 10:13:38.344 [error] [VSCODE_TENANT:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 10:13:38.345 [error] [VSCODE_TENANT:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 10:13:38.346 [error] [email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 10:13:38.358 [info] Getting sessions for all scopes...
2024-09-05 10:13:38.358 [info] Got 6 sessions for all scopes...
2024-09-05 10:13:38.359 [info] for undefined
2024-09-05 10:13:38.360 [info] [email https://management.azure.com/.default offline_access openid profile] Got 1 sessions
It feels that the problem in hitting this endpoint for token https://management.core.windows.net/.default
with oooooooo-oooo-oooo-oooo-oooooooooooo tentant_id, and this is the tenant_id that I don't recognise..?
Just adding logs from 1.91.1 from the top of the logs, just to give you a sequence (not sure if you need it..)
2024-09-05 09:29:43.625 [info] Getting sessions for all scopes...
2024-09-05 09:29:43.625 [info] Got 6 sessions for all scopes...
2024-09-05 09:29:43.627 [info] for undefined
2024-09-05 09:29:43.627 [info] [email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:29:43.628 [info] for undefined
2024-09-05 09:29:43.628 [info] [email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:29:43.639 [info] for undefined
2024-09-05 09:29:43.639 [info] [email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:29:43.639 [info] for undefined
2024-09-05 09:29:43.639 [info] [email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:29:43.698 [info] for undefined
2024-09-05 09:29:43.698 [info] [email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:29:44.000 [info] for undefined
2024-09-05 09:29:44.000 [info] [VSCODE_TENANT:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:29:44.003 [info] for undefined
2024-09-05 09:29:44.003 [info] [VSCODE_TENANT:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:29:44.016 [info] for undefined
2024-09-05 09:29:44.016 [info] [VSCODE_TENANT:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:29:44.018 [info] for undefined
2024-09-05 09:29:44.018 [info] [VSCODE_TENANT:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:29:44.058 [info] for undefined
2024-09-05 09:29:44.059 [info] [VSCODE_TENANT:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:29:44.063 [info] for undefined
2024-09-05 09:29:44.063 [info] [VSCODE_TENANT:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:29:44.100 [info] for undefined
2024-09-05 09:29:44.100 [info] [VSCODE_TENANT:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:29:44.102 [info] for undefined
2024-09-05 09:29:44.102 [info] [VSCODE_TENANT:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:29:44.250 [info] for undefined
2024-09-05 09:29:44.250 [info] [VSCODE_TENANT:oooooooo-oooo-oooo-oooo-oooooooooooo email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:29:44.252 [info] for undefined
2024-09-05 09:29:44.252 [info] [VSCODE_TENANT:oooooooo-oooo-oooo-oooo-oooooooooooo email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:29:44.306 [info] for undefined
2024-09-05 09:29:44.306 [info] [VSCODE_TENANT:oooooooo-oooo-oooo-oooo-oooooooooooo email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:29:44.308 [info] for undefined
2024-09-05 09:29:44.308 [info] [VSCODE_TENANT:oooooooo-oooo-oooo-oooo-oooooooooooo email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:29:44.375 [info] for undefined
2024-09-05 09:29:44.375 [info] [VSCODE_TENANT:oooooooo-oooo-oooo-oooo-oooooooooooo email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:29:44.381 [info] for undefined
2024-09-05 09:29:44.381 [info] [VSCODE_TENANT:oooooooo-oooo-oooo-oooo-oooooooooooo email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:29:44.542 [info] for undefined
2024-09-05 09:29:44.542 [info] [VSCODE_TENANT:oooooooo-oooo-oooo-oooo-oooooooooooo email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:29:44.554 [info] for undefined
2024-09-05 09:29:44.554 [info] [VSCODE_TENANT:oooooooo-oooo-oooo-oooo-oooooooooooo email https://management.core.windows.net/.default offline_access openid profile] Got 1 sessions
2024-09-05 09:29:44.938 [info] for undefined
Hi @shsuman , see below for log when trying to access Azure from version 1.92.2:
2024-09-05 12:40:19.535 [trace] Reading sessions from secret storage...
2024-09-05 12:40:19.536 [trace] Got 7 stored sessions
2024-09-05 12:40:19.536 [trace] [email offline_access openid profile] '-' Read stored session
2024-09-05 12:40:19.536 [trace] [email offline_access openid profile] '-' Queued refreshing token
2024-09-05 12:40:19.536 [trace] [email https://management.azure.com/.default offline_access openid profile] '-' Read stored session
2024-09-05 12:40:19.539 [trace] [email https://management.azure.com/.default offline_access openid profile] '-' Queued refreshing token
2024-09-05 12:40:19.539 [trace] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] '-' Read stored session
2024-09-05 12:40:19.539 [trace] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] '-' Queued refreshing token
2024-09-05 12:40:19.539 [trace] [email https://management.core.windows.net/.default offline_access openid profile] '-' Read stored session
2024-09-05 12:40:19.539 [trace] [email https://management.core.windows.net/.default offline_access openid profile] '--’ Queued refreshing token
2024-09-05 12:40:19.539 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Read stored session
2024-09-05 12:40:19.539 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 12:40:19.539 [trace] [email https://management.core.windows.net/.default offline_access openid profile] '-’ Read stored session
2024-09-05 12:40:19.539 [trace] [email https://management.core.windows.net/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 12:40:19.539 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Read stored session
2024-09-05 12:40:19.539 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 12:40:19.539 [trace] [email offline_access openid profile] '-’ Refreshing token
2024-09-05 12:40:19.539 [trace] [email https://management.azure.com/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 12:40:19.539 [trace] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 12:40:19.539 [trace] [email https://management.core.windows.net/.default offline_access openid profile] '--’ Refreshing token
2024-09-05 12:40:19.539 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 12:41:29.734 [error] [email offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 12:41:29.734 [trace] [email offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 12:41:29.735 [error] [email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 12:41:29.735 [trace] [email https://management.azure.com/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 12:41:29.736 [error] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 12:41:29.737 [trace] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 12:41:29.756 [error] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 12:41:29.756 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 12:41:29.757 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 12:41:29.787 [error] [email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 12:41:29.787 [trace] [email https://management.core.windows.net/.default offline_access openid profile] '--’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 12:41:29.787 [trace] [email https://management.core.windows.net/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 12:42:39.990 [error] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 12:42:39.990 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 12:42:40.023 [error] [email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 12:42:40.023 [trace] [email https://management.core.windows.net/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 12:42:40.059 [info] Getting sessions for all scopes...
2024-09-05 12:42:40.059 [info] Got 7 sessions for all scopes...
2024-09-05 12:42:40.069 [trace] for undefined
2024-09-05 12:42:40.069 [info] for undefined
2024-09-05 12:42:40.070 [info] [email https://management.core.windows.net/.default offline_access openid profile] Got 2 sessions
2024-09-05 12:42:40.070 [trace] [email https://management.core.windows.net/.default offline_access openid profile] '--’ Token expired or unavailable, trying refresh
2024-09-05 12:42:40.070 [trace] [email https://management.core.windows.net/.default offline_access openid profile] '--’ Queued refreshing token
2024-09-05 12:42:40.070 [trace] [email https://management.core.windows.net/.default offline_access openid profile] '-’ Token expired or unavailable, trying refresh
2024-09-05 12:42:40.070 [trace] [email https://management.core.windows.net/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 13:11:29.765 [trace] [email offline_access openid profile] '-’ Queued refreshing token
2024-09-05 13:11:29.765 [trace] [email offline_access openid profile] '-’ Refreshing token
2024-09-05 13:11:29.766 [trace] [email https://management.azure.com/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 13:11:29.766 [trace] [email https://management.azure.com/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 13:11:29.766 [trace] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 13:11:29.767 [trace] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 13:11:29.780 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 13:11:29.780 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 13:11:29.811 [trace] [email https://management.core.windows.net/.default offline_access openid profile] '--’ Queued refreshing token
2024-09-05 13:12:40.016 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 13:12:40.047 [error] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 13:12:40.048 [trace] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 13:12:40.049 [trace] [email https://management.core.windows.net/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 13:12:40.064 [error] [email offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 13:12:40.064 [trace] [email offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 13:12:40.065 [error] [email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 13:12:40.065 [trace] [email https://management.azure.com/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 13:12:40.096 [error] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 13:12:40.097 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 13:12:40.097 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 13:13:50.350 [error] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 13:13:50.350 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 13:42:40.076 [trace] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 13:42:40.077 [trace] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 13:42:40.092 [trace] [email offline_access openid profile] '-’ Queued refreshing token
2024-09-05 13:42:40.092 [trace] [email offline_access openid profile] '-’ Refreshing token
2024-09-05 13:42:40.093 [trace] [email https://management.azure.com/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 13:42:40.093 [trace] [email https://management.azure.com/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 13:42:40.124 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 13:42:40.125 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 13:43:50.378 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 13:43:50.399 [error] [email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 13:43:50.399 [trace] [email https://management.azure.com/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 13:43:50.405 [error] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 13:43:50.405 [trace] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 13:43:50.434 [error] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 13:43:50.435 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 13:43:50.435 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 13:43:50.436 [error] [email offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 13:43:50.436 [trace] [email offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 13:45:00.714 [error] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 13:45:00.714 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 14:13:50.427 [trace] [email https://management.azure.com/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 14:13:50.428 [trace] [email https://management.azure.com/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 14:13:50.428 [trace] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 14:13:50.428 [trace] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 14:13:50.455 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 14:13:50.455 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 14:13:50.456 [trace] [email offline_access openid profile] '-’ Queued refreshing token
2024-09-05 14:13:50.456 [trace] [email offline_access openid profile] '-’ Refreshing token
2024-09-05 14:15:00.741 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 14:15:00.756 [error] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 14:15:00.756 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 14:15:00.756 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 14:15:00.758 [error] [email offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 14:15:00.758 [trace] [email offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 14:15:00.786 [error] [email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 14:15:00.786 [trace] [email https://management.azure.com/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 14:15:00.788 [error] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 14:15:00.788 [trace] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 14:16:11.020 [error] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 14:16:11.021 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 14:45:00.786 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 14:45:00.786 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 14:45:00.786 [trace] [email offline_access openid profile] '-’ Queued refreshing token
2024-09-05 14:45:00.787 [trace] [email offline_access openid profile] '-’ Refreshing token
2024-09-05 14:45:00.812 [trace] [email https://management.azure.com/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 14:45:00.813 [trace] [email https://management.azure.com/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 14:45:00.813 [trace] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 14:45:00.813 [trace] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 14:46:11.051 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 14:46:11.065 [error] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 14:46:11.065 [trace] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 14:46:11.067 [error] [email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 14:46:11.067 [trace] [email https://management.azure.com/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 14:46:11.068 [error] [email offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 14:46:11.069 [trace] [email offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 14:46:11.085 [error] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 14:46:11.085 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 14:46:11.086 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 14:47:21.365 [error] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 14:47:21.365 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 15:16:11.090 [trace] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 15:16:11.090 [trace] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 15:16:11.091 [trace] [email https://management.azure.com/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 15:16:11.091 [trace] [email https://management.azure.com/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 15:16:11.091 [trace] [email offline_access openid profile] '-’ Queued refreshing token
2024-09-05 15:16:11.091 [trace] [email offline_access openid profile] '-’ Refreshing token
2024-09-05 15:16:11.106 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 15:16:11.106 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 15:17:21.346 [error] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 15:17:21.346 [trace] [VSCODE_TENANT:- email https://management.azure.com/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 15:17:21.376 [error] [email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 15:17:21.376 [trace] [email https://management.azure.com/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 15:17:21.378 [error] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 15:17:21.378 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 15:17:21.379 [error] [email offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 15:17:21.379 [trace] [email offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 15:17:21.397 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Queued refreshing token
2024-09-05 15:17:21.397 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Refreshing token
2024-09-05 15:18:31.695 [error] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-09-05 15:18:31.695 [trace] [VSCODE_TENANT:- email https://management.core.windows.net/.default offline_access openid profile] '-’ Setting refresh timeout for 1800000 milliseconds
2024-09-05 15:23:33.481 [trace] No pending tokens to store
2024-09-05 15:36:47.333 [trace] No pending tokens to store
2024-09-05 15:37:12.367 [trace] No pending tokens to store
@KirillTsyganov Please set the log level to Trace of Microsoft Authentication and not Azure ML - Remote using the following steps:
@dan1863 @KirillTsyganov @janmolemans Can you provide the Microsoft Authentication logs by following the steps below ?
- Set the log level to Trace using the command
Developer: Set Log Level
and then selecting Microsoft Authentication from the quick picks- Try to connect to the Compute instance
- After you are stuck, open the output pane by using Ctrl/Cmd + Shift + U and selecting Microsoft Authentication from the drop down.
- Please copy the entire log, look for any PII and redact it and then paste it here.
@shsuman I did exactly as you described, but those are the logs that I get. I would have attached screenshot, but I can't upload to public website from my work compute.
The logs that I get by selecting Microsoft Authentication
from the dropdown are exactly as above and the same as @dan1863.
Fetching token failed: fetch failed
when hitting https://management.core.windows.net/.default
and
https://management.azure.com/.default
The only other logs I can provide are form AzureML - Remote
extension, but I'm not sure how informative those are
[Info - 2024-09-11 00:32:19.768] Extension using consolidated code: true
[Trace - 2024-09-11 00:32:19.771] Resolver.getResolverProtocol called with arguments: [ ]
[Debug - 2024-09-11 00:32:19.771] Registering Azure ML Uri Hanlder with path: /computeInstance/remote
[Debug - 2024-09-11 00:32:19.771] Registering Azure ML Uri Hanlder with path: /environmentContainer/remote
[Debug - 2024-09-11 00:32:19.771] Registering Azure ML Uri Hanlder with path: /interactiveSession
[Debug - 2024-09-11 00:32:19.771] Registering Azure ML Uri Hanlder with path: /interactiveSession/distributedJob
[Trace - 2024-09-11 00:32:20.066] AuthenticationService.promptLoginIfNecessaryAndBlock called with arguments: [ ]
Please let me know how I can help more
Thanks
@dan1863 @KirillTsyganov @janmolemans VS Code has an open issue for this problem. A fix for the same should roll out in the upcoming VS Code release 1.94.0 which is scheduled for early next month. In the meantime, please continue using 1.91.x as we do not have any workarounds for now.
Thank you all for your cooperation :)
Thanks a lot for letting us know @shsuman !
Will stay put.
p.s I tried 1.93 yesterday and same issue persists
@dan1863 @KirillTsyganov @janmolemans VS Code has released 1.94.0. Can you please confirm if this issue has been fixed for you ?
Hi @shsuman,
Unfortunately, same issue persists for me
2024-10-08 14:42:48.974 [error] [email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-10-08 14:42:48.975 [error] [VSCODE_TENANT:xxx email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-10-08 14:42:48.993 [error] [VSCODE_TENANT:xxx email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-10-08 14:42:48.993 [error] [email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-10-08 14:42:48.994 [error] [VSCODE_TENANT:xxx email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-10-08 14:42:48.996 [error] [VSCODE_TENANT:xxx email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-10-08 14:42:49.004 [info] Getting sessions for all scopes...
2024-10-08 14:42:49.004 [info] Got 6 sessions for all scopes...
2024-10-08 14:42:49.005 [info] Getting sessions for all scopes...
2024-10-08 14:42:49.005 [info] Got 6 sessions for all scopes...
2024-10-08 14:42:49.009 [info] for undefined
2024-10-08 14:42:49.009 [info] [email https://management.azure.com/.default offline_access openid profile] Got 1 sessions
Just for the reference, I'm getting my vs code this way and launch from cli, just because I don't want to overwrite my working version (1.91.1)
Invoke-WebRequest -Uri https://update.code.visualstudio.com/1.94.0/win32-x64-archive/stable -OutFile VSCode-win32-x64-1.94.0.zip
thanks
@KirillTsyganov Can you please paste the VS Code version and commit id from the UI ? You can do the following steps:
Help -> About -> Copy
Hi @shsuman , The issue persists for me aswell.
The version and commit are:
Version: 1.94.1 (user setup)
Commit: e10f2369d0d9614a452462f2e01cdc4aa9486296
The Microsoft Authentication
logs for an hour of trying to connect are as follows:
2024-10-10 09:24:12.137 [debug] Acquired MSAL enablement value from default. Value: false
2024-10-10 09:24:12.137 [trace] Reading sessions from secret storage...
2024-10-10 09:24:12.157 [trace] Got 7 stored sessions
2024-10-10 09:24:12.157 [trace] [email offline_access openid profile] 'REDACTEDRead stored session
2024-10-10 09:24:12.157 [trace] [email offline_access openid profile] 'REDACTEDQueued refreshing token
2024-10-10 09:24:12.160 [trace] [email https://management.azure.com/.default offline_access openid profile] REDACTED Read stored session
2024-10-10 09:24:12.160 [trace] [email https://management.azure.com/.default offline_access openid profile] REDACTED Queued refreshing token
2024-10-10 09:24:12.160 [trace] [VSCODE_TENANT:REDACTED email https://management.azure.com/.default offline_access openid profile] REDACTED Read stored session
2024-10-10 09:24:12.160 [trace] [VSCODE_TENANT:REDACTED email https://management.azure.com/.default offline_access openid profile] REDACTED Queued refreshing token
2024-10-10 09:24:12.160 [trace] [email https://management.core.windows.net/.default offline_access openid profile] REDACTED Read stored session
2024-10-10 09:24:12.160 [trace] [email https://management.core.windows.net/.default offline_access openid profile] REDACTED Queued refreshing token
2024-10-10 09:24:12.160 [trace] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] REDACTED Read stored session
2024-10-10 09:24:12.160 [trace] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] REDACTED Queued refreshing token
2024-10-10 09:24:12.160 [trace] [email https://management.core.windows.net/.default offline_access openid profile] REDACTED Read stored session
2024-10-10 09:24:12.160 [trace] [email https://management.core.windows.net/.default offline_access openid profile] REDACTED Queued refreshing token
2024-10-10 09:24:12.160 [trace] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] 'REDACTED/REDACTED' Read stored session
2024-10-10 09:24:12.160 [trace] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] 'REDACTED/REDACTED' Queued refreshing token
2024-10-10 09:24:12.163 [trace] [email offline_access openid profile] 'REDACTEDRefreshing token
2024-10-10 09:24:12.163 [trace] [email https://management.azure.com/.default offline_access openid profile] REDACTED Refreshing token
2024-10-10 09:24:12.163 [trace] [VSCODE_TENANT:REDACTED email https://management.azure.com/.default offline_access openid profile] REDACTED Refreshing token
2024-10-10 09:24:12.163 [trace] [email https://management.core.windows.net/.default offline_access openid profile] REDACTED Refreshing token
2024-10-10 09:24:12.163 [trace] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] REDACTED Refreshing token
2024-10-10 09:25:22.417 [error] [email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-10-10 09:25:22.417 [trace] [email https://management.azure.com/.default offline_access openid profile] REDACTED Setting refresh timeout for 1800000 milliseconds
2024-10-10 09:25:22.437 [error] [email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-10-10 09:25:22.438 [trace] [email https://management.core.windows.net/.default offline_access openid profile] REDACTED Setting refresh timeout for 1800000 milliseconds
2024-10-10 09:25:22.438 [trace] [email https://management.core.windows.net/.default offline_access openid profile] REDACTED Refreshing token
2024-10-10 09:25:22.452 [error] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-10-10 09:25:22.452 [trace] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] REDACTED Setting refresh timeout for 1800000 milliseconds
2024-10-10 09:25:22.453 [trace] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] 'REDACTED/REDACTED' Refreshing token
2024-10-10 09:25:22.455 [error] [email offline_access openid profile] Fetching token failed: fetch failed
2024-10-10 09:25:22.455 [trace] [email offline_access openid profile] 'REDACTEDSetting refresh timeout for 1800000 milliseconds
2024-10-10 09:25:22.457 [error] [VSCODE_TENANT:REDACTED email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-10-10 09:25:22.457 [trace] [VSCODE_TENANT:REDACTED email https://management.azure.com/.default offline_access openid profile] REDACTED Setting refresh timeout for 1800000 milliseconds
2024-10-10 09:26:32.684 [error] [email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-10-10 09:26:32.685 [trace] [email https://management.core.windows.net/.default offline_access openid profile] REDACTED Setting refresh timeout for 1800000 milliseconds
2024-10-10 09:26:32.701 [error] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-10-10 09:26:32.701 [trace] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] 'REDACTED/REDACTED' Setting refresh timeout for 1800000 milliseconds
2024-10-10 09:26:32.707 [info] Getting sessions for all scopes...
2024-10-10 09:26:32.707 [info] Got 7 sessions for all scopes...
2024-10-10 09:26:32.709 [info] Getting sessions for all scopes...
2024-10-10 09:26:32.709 [info] Got 7 sessions for all scopes...
2024-10-10 09:26:32.712 [trace] for undefined
2024-10-10 09:26:32.712 [info] for undefined
2024-10-10 09:26:32.712 [info] [email https://management.azure.com/.default offline_access openid profile] Got 1 sessions
2024-10-10 09:26:32.713 [trace] [email https://management.azure.com/.default offline_access openid profile] REDACTED Token expired or unavailable, trying refresh
2024-10-10 09:26:32.713 [trace] [email https://management.azure.com/.default offline_access openid profile] REDACTED Queued refreshing token
2024-10-10 09:34:47.675 [trace] No pending tokens to store
2024-10-10 09:55:22.452 [trace] [email https://management.azure.com/.default offline_access openid profile] REDACTED Queued refreshing token
2024-10-10 09:55:22.467 [trace] [email https://management.core.windows.net/.default offline_access openid profile] REDACTED Queued refreshing token
2024-10-10 09:55:22.467 [trace] [email https://management.core.windows.net/.default offline_access openid profile] REDACTED Refreshing token
2024-10-10 09:55:22.471 [trace] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] REDACTED Queued refreshing token
2024-10-10 09:55:22.471 [trace] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] REDACTED Refreshing token
2024-10-10 09:55:22.473 [trace] [email offline_access openid profile] 'REDACTEDQueued refreshing token
2024-10-10 09:55:22.473 [trace] [email offline_access openid profile] 'REDACTEDRefreshing token
2024-10-10 09:55:22.478 [trace] [VSCODE_TENANT:REDACTED email https://management.azure.com/.default offline_access openid profile] REDACTED Queued refreshing token
2024-10-10 09:55:22.479 [trace] [VSCODE_TENANT:REDACTED email https://management.azure.com/.default offline_access openid profile] REDACTED Refreshing token
2024-10-10 09:56:32.707 [trace] [email https://management.core.windows.net/.default offline_access openid profile] REDACTED Queued refreshing token
2024-10-10 09:56:32.721 [trace] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] 'REDACTED/REDACTED' Queued refreshing token
2024-10-10 09:56:32.725 [error] [email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-10-10 09:56:32.726 [trace] [email https://management.core.windows.net/.default offline_access openid profile] REDACTED Setting refresh timeout for 1800000 milliseconds
2024-10-10 09:56:32.726 [trace] [email https://management.core.windows.net/.default offline_access openid profile] REDACTED Refreshing token
2024-10-10 09:56:32.736 [error] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-10-10 09:56:32.736 [trace] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] REDACTED Setting refresh timeout for 1800000 milliseconds
2024-10-10 09:56:32.737 [trace] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] 'REDACTED/REDACTED' Refreshing token
2024-10-10 09:56:32.750 [error] [VSCODE_TENANT:REDACTED email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-10-10 09:56:32.751 [trace] [VSCODE_TENANT:REDACTED email https://management.azure.com/.default offline_access openid profile] REDACTED Setting refresh timeout for 1800000 milliseconds
2024-10-10 09:56:32.752 [error] [email offline_access openid profile] Fetching token failed: fetch failed
2024-10-10 09:56:32.752 [trace] [email offline_access openid profile] 'REDACTEDSetting refresh timeout for 1800000 milliseconds
2024-10-10 09:57:42.971 [error] [email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-10-10 09:57:42.971 [trace] [email https://management.core.windows.net/.default offline_access openid profile] REDACTED Setting refresh timeout for 1800000 milliseconds
2024-10-10 09:57:42.973 [error] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-10-10 09:57:42.973 [trace] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] 'REDACTED/REDACTED' Setting refresh timeout for 1800000 milliseconds
2024-10-10 10:26:32.757 [trace] [email https://management.core.windows.net/.default offline_access openid profile] REDACTED Queued refreshing token
2024-10-10 10:26:32.757 [trace] [email https://management.core.windows.net/.default offline_access openid profile] REDACTED Refreshing token
2024-10-10 10:26:32.757 [trace] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] REDACTED Queued refreshing token
2024-10-10 10:26:32.758 [trace] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] REDACTED Refreshing token
2024-10-10 10:26:32.773 [trace] [VSCODE_TENANT:REDACTED email https://management.azure.com/.default offline_access openid profile] REDACTED Queued refreshing token
2024-10-10 10:26:32.773 [trace] [VSCODE_TENANT:REDACTED email https://management.azure.com/.default offline_access openid profile] REDACTED Refreshing token
2024-10-10 10:26:32.773 [trace] [email offline_access openid profile] 'REDACTEDQueued refreshing token
2024-10-10 10:26:32.774 [trace] [email offline_access openid profile] 'REDACTEDRefreshing token
2024-10-10 10:27:42.984 [error] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-10-10 10:27:42.984 [trace] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] REDACTED Setting refresh timeout for 1800000 milliseconds
2024-10-10 10:27:42.985 [error] [email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-10-10 10:27:42.985 [trace] [email https://management.core.windows.net/.default offline_access openid profile] REDACTED Setting refresh timeout for 1800000 milliseconds
2024-10-10 10:27:42.990 [trace] [email https://management.core.windows.net/.default offline_access openid profile] REDACTED Queued refreshing token
2024-10-10 10:27:42.991 [trace] [email https://management.core.windows.net/.default offline_access openid profile] REDACTED Refreshing token
2024-10-10 10:27:42.991 [trace] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] 'REDACTED/REDACTED' Queued refreshing token
2024-10-10 10:27:42.991 [trace] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] 'REDACTED/REDACTED' Refreshing token
2024-10-10 10:27:43.007 [error] [VSCODE_TENANT:REDACTED email https://management.azure.com/.default offline_access openid profile] Fetching token failed: fetch failed
2024-10-10 10:27:43.007 [trace] [VSCODE_TENANT:REDACTED email https://management.azure.com/.default offline_access openid profile] REDACTED Setting refresh timeout for 1800000 milliseconds
2024-10-10 10:27:43.026 [error] [email offline_access openid profile] Fetching token failed: fetch failed
2024-10-10 10:27:43.026 [trace] [email offline_access openid profile] 'REDACTEDSetting refresh timeout for 1800000 milliseconds
2024-10-10 10:28:53.283 [error] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] Fetching token failed: fetch failed
2024-10-10 10:28:53.283 [trace] [VSCODE_TENANT:REDACTED email https://management.core.windows.net/.default offline_access openid profile] 'REDACTED/REDACTED' Setting refresh timeout for 1800000 milliseconds
Hi @shsuman,
I've tried these two versions and both have the same issue - Fetching token failed: fetch failed
Version: 1.94.0
Commit: d78a74bcdfad14d5d3b1b782f87255d802b57511
Date: 2024-10-02T13:08:12.626Z
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.19045
Version: 1.94.1
Commit: e10f2369d0d9614a452462f2e01cdc4aa9486296
Date: 2024-10-05T05:44:32.189Z
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.19045
@KirillTsyganov @dan1863 Can you please open an issue in VS Code ? Please cc me there and paste the latest logs with VS Code 1.92.0 as well.
https://github.com/microsoft/vscode/issues/new?template=bug_report.md
@shsuman I opened this issue to VS Code, and it was closed immediately.
@eriolchan Please look into it :)
Thanks for raising the issue @dan1863 . I got caught up with work and didn't get it done. This is really becoming an issue for us as we are onboarding a fair few new people onto AzureML and all want to use vscode. We don't have multiple versions of vscode in out company portal.
Expected Behavior
Connect VS code to Azure ML compute instance
Actual Behavior
Stuck. Continuously shows "Opening Remote..." and "Fetching subscription details..."
Note: Works as expected when VS code is rolled back to version 1.91.1
Steps to Reproduce the Problem
Specifications