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

Unable to Install VSCode Web Extension #2277

Closed Enrico-Call closed 5 months ago

Enrico-Call commented 5 months ago

I am trying to use VSCode Web from a Compute Instance in Azure ML Studio. When I try to start it, it tells me it is unable to connect to the instance and install the VSCode extension.

Logs:

retry: 2. Error: Downloading VS Code server failed. Please try again later. 2024-01-25 10:48:52.119 [warning] vscode-azureml-remote:web-socket-9: retry 2, timeout: false 2024-01-25 10:48:52.543 [error] Error: command 'azureml.internal.activate' not found

sevillal commented 5 months ago

@Enrico-Call thanks for filing this issue. Could you please share the full logs by following these instructions?

Also, is this Azure ML workspace secured behind a vnet?

Enrico-Call commented 5 months ago

@sevillal Thanks for you reply. Yes, the workspace is secured by using a VNET.

Here are the logs from AzureML Remote Web:

~Removed attachment~

While these are the ones from the vscode.dev output:

~Removed attachment~

sevillal commented 5 months ago

@Enrico-Call could you please allow vscode.download.prss.microsoft.com in your network (firewall, proxy etc). VS Code made changes to its CDN and is moving from az764295.vo.msecnd.net to vscode.download.prss.microsoft.com. Here more details: https://code.visualstudio.com/docs/setup/network

Enrico-Call commented 5 months ago

@sevillal thanks for the reply. I have notified the support team of my organization about your suggestion, which should be taken care of soon. I will make sure to reopen the issues should there be additional help needed.