microsoft / vscode-tools-for-ai

Azure Machine Learning for Visual Studio Code, previously called Visual Studio Code Tools for AI, is an extension to easily build, train, and deploy machine learning models to the cloud or the edge with Azure Machine Learning service.
Other
321 stars 91 forks source link

Not able to access VSCode web from Azure Machine learning workspace and getting below authentication error #2261

Closed DurgaDevi-Gudala closed 4 months ago

DurgaDevi-Gudala commented 5 months ago

Does this occur consistently%3F Yes Repro steps:

  1. When we click on Vscodeweb on machine learning compute instance . 2.It is giving the failed to authenticate error

Error message: Failed to authenticate. Error type: AuthError

authentication issue compute instance

Version: 0.44.0 Browser Name: Microsoft Edge Browser Version: 116.0.1938.62 OS: Windows 10 64-bit Product: Visual Studio Code Product Version: 1.85.1 Language: en

Call Stack ``` kt.getSession webOpener.js:2:706485 https:/webOpener.js:2:785509 Ar.measure webOpener.js:2:792625 Tr.getSession webOpener.js:2:785467 Tr.create webOpener.js:2:785203 $n.resolve webOpener.js:2:742078 https:/webOpener.js:2:772423 Ar.measure webOpener.js:2:792625 Lr.doRoute webOpener.js:2:772380 Module.Ir webOpener.js:2:793228 ```
shsuman commented 5 months ago

@sevillal Please look into this

DurgaDevi-Gudala commented 5 months ago

Hi @sevillhttps://github.com/sevillal ,

Kindly let us know if there are any findings related to this issue.

Thanks & Regards, Devi Group DL : @.***


From: Shantnu Suman @.> Sent: Monday, January 15, 2024 11:21 AM To: microsoft/vscode-tools-for-ai @.> Cc: Durga Devi Gudala @.>; Author @.> Subject: [External] Re: [microsoft/vscode-tools-for-ai] Not able to access VSCode web from Azure Machine learning workspace and getting below authentication error (Issue #2261)

@sevillalhttps://github.com/sevillal Please look into this

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-tools-for-ai/issues/2261#issuecomment-1891342659, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFJKFM3I62DEU53UD44IAYLYOS7WPAVCNFSM6AAAAABBXW4RZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJRGM2DENRVHE. You are receiving this because you authored the thread.Message ID: @.***>


DISCLAIMER: This email and any files transmitted with it, including replies and forwarded copies subsequently transmitted from dsm-firmenich, are confidential and for the intended recipient only. If you have received this email by mistake then please notify the sender immediately and then delete it from your system; access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited.

sevillal commented 5 months ago

@DurgaDevi-Gudala I apologize for the issue you are facing. Could you please send us the logs you get by following these instructions?

Also, are you open to have a quick triage call next week?

DurgaDevi-Gudala commented 5 months ago

Hi Sergio ,

Please find below required logs . We can join in the call next week to check this issue further.

My working hours: 12:30 – 10.00 PM IST (Mon-Fri)

2024-01-19 10:46:00.191 [info] Azure ML Remote URI: {"armId":"/subscriptions/56ff1c12-7a95-4f7b-ab62-ceb463c41f0c/resourceGroups/rg-dev01-weu-ScienceandReseach/providers/Microsoft.MachineLearningServices/workspaces/aml-dev01-weu-SciencerschTraining/computes/SUPERAZRDUGU","cloudEnvironmentName":"public","resourceGroup":"rg-dev01-weu-ScienceandReseach","resourceName":"SUPERAZRDUGU","resourceType":"computes","searchParams":{},"subscriptionId":"56ff1c12-7a95-4f7b-ab62-ceb463c41f0c","targetId":"/subscriptions/56ff1c12-7a95-4f7b-ab62-ceb463c41f0c/resourceGroups/rg-dev01-weu-ScienceandReseach/providers/Microsoft.MachineLearningServices/workspaces/aml-dev01-weu-SciencerschTraining/computes/SUPERAZRDUGU","tenantId":"b916a61a-fff3-4b5d-8ec6-f41e65b9fbca","vscodeUri":{"$mid":1,"path":"/home/azureuser/cloudfiles/code","scheme":"vscode-remote","authority":"+subscriptions+56ff1c12-7a95-4f7b-ab62-ceb463c41f0c+resourceGroups+rg-dev01-weu-ScienceandReseach+providers+Microsoft.MachineLearningServices+workspaces+aml-dev01-weu-SciencerschTraining+computes+SUPERAZRDUGU:public:b916a61a-fff3-4b5d-8ec6-f41e65b9fbca","query":"studio-session-id=e4d347f5-a4d7-4318-8afb-2bc59db8b7e5&code=0.AS8AGqYWufP_XUuOxvQeZbn7ykNkvK5tmcJFkPA4j_lvqlawAEc.AgABAAIAAAAmoFfGtYxvRrNriQdPKIZ-AgDs_wUA9P_1CCZp-W5Bb-VwJal_3IvVYo8WBzOhBzT9tXc5b871s9JuKOREKXsiTuws3BT1BTQtDIQqy8lErIIyRtTRPBeMv5oJKfLdBtFqooslFe4KRE8EPlbhox4AOkFGG7PECbeycusBU4v9A92ou3kHuV7n_8xEV1YO1uV34nsJhSfpX0nPWAyST0HCiwKmiLhQGC7zAuHj36ybrAkNoyp61aj4IPlPkHgCdhugORiRsXHCqxRs-onf8Ae9aVgDk2zIYk7hXwKGMP0A1x-DgUigGpnWjPISyvdOVIS87zYeLFeFISbdEguns-zZ0O7FHgE-p_TQQiVUw2SBBT8K_dLs8SQtjYD3IG0GGm1DX87NZ23vxjN28AfPV8Cc0VG3pfBRiG--iKRKM4YTSVxZcMvukRTOXPb8eu5tvDzb8hzkHtiL7VxOkNZ6HhGiZ0bFcwrzl8UxAlZbhQfj-faah-Z6Is5VF5iVkIrXo7GPUCR1RjPTxGqXeUYV1n-6ZKw7jbpwsaW98sXPB3ponY3_3E9n1Asil15SVJke-F2xinlJooLyzew0vFlDPqEnrjfQk-TmtFaCE0R2-ih99oLVjj85Q0gxXmKTF8i-9-CnoqMLyxkKdPqyBGk6A2LNpKdgezvexLCzn-06im6Dk-BmeQfbsZoHSY9aEjPdQAtRyCFLcCsy2-zYiKEXsg-IDTr2ZI6eQrbArqu755VUOdvz_SKfxeIs5vXLAyQ72fZzLQ6D0f4WaGoJOFhBJQs6aWborDCyVb92oNn2QpfoarJok0k-fbU34sv2XKFk7_oqaAENxtepYKjkL9FMA0qlIL2pLp_vEPBQqwc2_tKGyr&state=https%3A%2F%2Fvscode.dev%2F%2Bms-toolsai.vscode-ai-remote-web%2F%2Bsubscriptions%2B56ff1c12-7a95-4f7b-ab62-ceb463c41f0c%2BresourceGroups%2Brg-dev01-weu-ScienceandReseach%2Bproviders%2BMicrosoft.MachineLearningServices%2Bworkspaces%2Baml-dev01-weu-SciencerschTraining%2Bcomputes%2BSUPERAZRDUGU%3Apublic%3Ab916a61a-fff3-4b5d-8ec6-f41e65b9fbca%2Fhome%2Fazureuser%2Fcloudfiles%2Fcode%3Fstudio-session-id%3De4d347f5-a4d7-4318-8afb-2bc59db8b7e5&session_state=c0787c35-ff9d-42c3-a709-a49b899dd91c"},"workspaceId":"/subscriptions/56ff1c12-7a95-4f7b-ab62-ceb463c41f0c/resourceGroups/rg-dev01-weu-ScienceandReseach/providers/Microsoft.MachineLearningServices/workspaces/aml-dev01-weu-SciencerschTraining","workspaceName":"aml-dev01-weu-SciencerschTraining"} 2024-01-19 10:46:00.191 [error] Error: Failed to authenticate. at kt.getSession (https://ms-toolsai.vscode-unpkg.net/ms-toolsai/vscode-ai-remote-web/0.44.0/extension/dist/webOpener.js:2:706485) at https://ms-toolsai.vscode-unpkg.net/ms-toolsai/vscode-ai-remote-web/0.44.0/extension/dist/webOpener.js:2:785509 at Ar.measure (https://ms-toolsai.vscode-unpkg.net/ms-toolsai/vscode-ai-remote-web/0.44.0/extension/dist/webOpener.js:2:792625) at Tr.getSession (https://ms-toolsai.vscode-unpkg.net/ms-toolsai/vscode-ai-remote-web/0.44.0/extension/dist/webOpener.js:2:785467) at Tr.create (https://ms-toolsai.vscode-unpkg.net/ms-toolsai/vscode-ai-remote-web/0.44.0/extension/dist/webOpener.js:2:785203) at $n.resolve (https://ms-toolsai.vscode-unpkg.net/ms-toolsai/vscode-ai-remote-web/0.44.0/extension/dist/webOpener.js:2:742078) at https://ms-toolsai.vscode-unpkg.net/ms-toolsai/vscode-ai-remote-web/0.44.0/extension/dist/webOpener.js:2:772423 at Ar.measure (https://ms-toolsai.vscode-unpkg.net/ms-toolsai/vscode-ai-remote-web/0.44.0/extension/dist/webOpener.js:2:792625) at Lr.doRoute (https://ms-toolsai.vscode-unpkg.net/ms-toolsai/vscode-ai-remote-web/0.44.0/extension/dist/webOpener.js:2:772380) at Module.Ir (https://ms-toolsai.vscode-unpkg.net/ms-toolsai/vscode-ai-remote-web/0.44.0/extension/dist/webOpener.js:2:793228)

Thanks & Regards, Devi Group DL : @.**@.> From: Sergio Villalobos @.> Sent: Thursday, January 18, 2024 8:22 PM To: microsoft/vscode-tools-for-ai @.> Cc: Durga Devi Gudala @.>; Mention @.> Subject: [External] Re: [microsoft/vscode-tools-for-ai] Not able to access VSCode web from Azure Machine learning workspace and getting below authentication error (Issue #2261)

@DurgaDevi-Gudalahttps://github.com/DurgaDevi-Gudala I apologize for the issue you are facing. Could you please send us the logs you get by following these instructionshttps://github.com/microsoft/vscode-tools-for-ai/wiki/FAQ#how-to-get-logs-for-azure-machine-learning---remote-web-connection-in-vs-code-web-vscodedev-?

Also, are you open to have a quick triage call next week?

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-tools-for-ai/issues/2261#issuecomment-1899073100, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFJKFM4ABCY6QUHZ4E5PVQLYPFY6VAVCNFSM6AAAAABBXW4RZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJZGA3TGMJQGA. You are receiving this because you were mentioned.Message ID: @.**@.>>


DISCLAIMER: This email and any files transmitted with it, including replies and forwarded copies subsequently transmitted from dsm-firmenich, are confidential and for the intended recipient only. If you have received this email by mistake then please notify the sender immediately and then delete it from your system; access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited.

sevillal commented 5 months ago

@DurgaDevi-Gudala could you please reach out to me at sevillal@microsoft.com with you email info to schedule the call? Thanks

sevillal commented 4 months ago

Closing due to inactivity, please reopen if needed.

Last update: Failed to authenticate error fixed after using a regular tab (not incognito mode).