microsoft / vscode-asa

Azure Stream Analytics In VSCode
Creative Commons Attribution 4.0 International
10 stars 15 forks source link

Simulate Job / Run Locally / Submit to Azure - not working when the extension is installed/running inside a WSL2 environment #105

Open malcolndandaro opened 1 year ago

malcolndandaro commented 1 year ago

Steps to Reproduce:

  1. Connect to a Ubuntu 20.04.5 LTS running in WSL via VSCode Remote Extension
  2. Install the Stream Analytics extension on the Ubuntu
  3. Clone / develop a new stream analytics job
  4. Try clicking on each of the buttons on top of the .asaql file
  5. The page that's supposed to have a GUI to Interact/Watch/Submit the job, is blank.

When clicking on the "Run Locally" while the Developer Tools of Vscode is open, it appears to be some erro related to CORS? when loading .js and .css files

image

DavidOShaughnessy commented 1 year ago

I have hit same issue - seems like this is being ignored though @microsoft ?

ruiminwang commented 1 year ago

Hi @DavidOShaughnessy and @malcolndandaro are you both using VS Code extension in Ubuntu OS?

malcolndandaro commented 1 year ago

Hi @DavidOShaughnessy and @malcolndandaro are you both using VS Code extension in Ubuntu OS?

I'm running Windows 10 Pro 21H1, using VsCode Remote Extension to connect to my Ubuntu 20.04.5 LTS that is running on WSL2. After connecting to the Ubuntu via VsCode remote extension, we can install the the extension on the ubuntu itself.

In Windows everything works fine. This problem only happens while trying to develop inside a linux running on WSL2.

cicorias commented 6 months ago

any update on this? what will work in terms of wsl combinations distros of linux, etc.

mbourns commented 2 days ago

i have the same problem. i'm running vscode on ubuntu 22.04.5 LTS. i've tried this in an out of a container, and have the same issue.