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
324 stars 94 forks source link

Vscode Web not authenticating properly on a running Azure ML compute #2250

Open elaod opened 9 months ago

elaod commented 9 months ago

Does this occur consistently? Yes Repro steps:

  1. Start Vscode Web (preview) on an Azure ML compute
  2. Access to the "code" folder fails because of not authenticating properly.
  3. Tried with different ssh keys to provide for access.

What am I doing wrong?

Error message: Could not find the workspace "---". Please make sure you are logged into the correct account. Error type: AuthError

Version: 0.42.0 Browser Name: Microsoft Edge Browser Version: 120.0.0.0 OS: Windows 10 64-bit Product: Visual Studio Code Product Version: 1.85.1 Language: de

Call Stack ``` kt.getSession webOpener.js:2:707467 async Ar.measure webOpener.js:2:792619 async Tr.getSession webOpener.js:2:785437 async Tr.create webOpener.js:2:785192 async $n.resolve webOpener.js:2:742046 async Ar.measure webOpener.js:2:792619 async Lr.doRoute webOpener.js:2:772350 async Module.Ir webOpener.js:2:793215 ```
shsuman commented 9 months ago

@sevillal This looks like the VSCode auth problem. Do we have any workaround for this?

sevillal commented 8 months ago

@elaod Could you please send us the logs you get by following these instructions?