stackblitz / core

Online IDE powered by Visual Studio Code ⚡️
https://stackblitz.com
MIT License
10.23k stars 888 forks source link

terminal is not opening ! #2996

Open mrshoya05 opened 7 months ago

mrshoya05 commented 7 months ago

Description of Bug

Provide a concise description of your bug and your project link (if applicable).

Steps to Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected Behavior

A clear and concise description of what you expected to happen.

Screenshots/Screencast

If applicable, add screenshots to help explain your problem.

Additional Context/Questions Add any other context or questions regarding this bug.

SOM-fermonte commented 6 months ago

Description of Bug I am not sure it is a bug, but was unable to find steps for troubleshooting. I can create a new project in the dashboard, for example, angular. The project opens but the web container does not seem to spin up. the terminal is blank and the browser window stays gray and non-functional. I can open a project from a GitHub repo and everything works in that case, although those projects don't have a terminal.

Steps to Reproduce Open stackblitz and log in with GitHub credentials in Edge. Create a new project. I have tried Node.js (blank project) and angular Project launches and it is created successfully. Web container does not seem to spin up, or the terminal functionality appears to be blocked by windows or a browser setting.

Expected Behavior Project should launch, terminal should show a message like 'updating dependencies' and progress and then the browser frame should show server spinning up and serving the project.

Screenshots/Screencast As seen below, the terminal and browser frames are empty and unresponsive. image

Additional Context/Questions Problem is present in Edge, but not in Chrome. It used to work in Edge about two weeks ago (Late February-early March 2024). I followed all the guides for getting WebContainers to work in a Chromium based browser, to no avail. More troubleshooting steps or suggestions are welcome. This is a corporate computer. I have not tested on my personal PC. image

HeyGarrison commented 6 months ago

Hey there!

One thing i'm curious about is - do you happen to have an ad blocker or VPN connected here? Also, we recently pushed an update that really helps with memory consumption. Curious to hear if that helped this problem at.

SOM-fermonte commented 6 months ago

Thanks for your prompt reply @HeyGarrison The changes did improve, but it is still a coin toss for me to get the WebContainer to boot properly in Edge. For example, this repo does not boot in Edge image Chrome, on the other hand works well. The answer to your other question is yes. At the office, or at home via VPN, I am behind enterprise network applicances, including a corporate ad blocker. P.S. If it helps, this variation of the link above does work in Edge: https://stackblitz.com/github/SOM-fermonte/ng14base, which doesn't show the terminal.

HeyGarrison commented 6 months ago

Of course! Yeah if it's your VPN blocking our URLs then we may need to get you talking with our self hosted people. We announced this last year and tbh it's getting a lot of usage these days.

Is there a way you could confirm there is a problem with your vpn?

SOM-fermonte commented 3 months ago

@HeyGarrison I apologize I never replied to your comment above. I do not think it was a VPN or networking issue because the same link worked in Chrome but not in Edge. I believe it was an Edge-specific issue because I tested the same repo today and it works as expected in Edge. I am accessing from the office. I will mark this issue a closed. Thanks again for your prompt replies!

SOM-fermonte commented 3 months ago

I guess I can't close it myself. Just for reference, this is my current version of Edge image