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

Vscode web and vscode desktop does not work on a No public IP compute instance #2359

Open srepan opened 2 months ago

srepan commented 2 months ago

Expected Behavior

vscode web and vscode desktop should work on users No public IP compute instance

Actual Behavior

Vscode Desktop - Our customer ServiceNow is unable to connect to Vscode on compute instance, both Desktop and web vscode fails (vscode traces for desktop and browser traces for web are attached). No public compute instances. All resources are private. All other apps from CI work fine, issue is only with vscode

The have zsclaer local and added all below hosts there – required ports 8704 to 8710

vscode.dev vscode-unpkg.net vscode-cdn.net vscodeexperiments.azureedge.net default.exp-tas.com code.visualstudio.com vo.msecnd.net marketplace.visualstudio.com vscode.blob.core.windows.net gallerycdn.vsassets.io raw.githubusercontent.com vscode.download.prss.microsoft.com

image image

Vscode web (Har traces screenshot) image

Steps to Reproduce the Problem

  1. Start vscode (Web) from compute instance applications
  2. From Local vscode, try to connect to the compute instance

Specifications

Version: 1.88.1 (Universal) Commit: e170252f762678dec6ca2cc69aba1570769a5d39 Date: 2024-04-10T17:42:52.765Z Electron: 28.2.8 ElectronBuildId: 27744544 Chromium: 120.0.6099.291 Node.js: 18.18.2 V8: 12.0.267.19-electron.0 OS: Darwin arm64 23.4.0

Attached are har files and vscode desktop traces vscode.dev (1).zip

AML workspace - /subscriptions/a0776237-28a9-41f7-88f3-a1e65953748f/resourceGroups/sv-wus2-subprod-aiml-rg/providers/Microsoft.MachineLearningServices/workspaces/sv-wus2-subprod-aiml-qa1-ws Region - westus2