microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.13k stars 29.27k forks source link

Network using tasks hangup in integrated terminal #232006

Open xen opened 2 weeks ago

xen commented 2 weeks ago

Does this issue occur when all extensions are disabled?: Yes and it can be reproduced on my environment

Steps to Reproduce:

  1. Open terminal
  2. Run any task that require network connection
  3. Very soon it hangup and connection is interrupted, timeout error shown

If I do the same task in any other terminal app on my laptop it runs smoothly until it is completed.

For me it little bit crazy as it sounds. I checked does it is related to CPU architecture, because I thought maybe I run Intel bash on silicon computer. But VS Code runs Apple processes.

I tried this many times and was convinced that it is problem related to VS Code. If python or something needs to download a big file then 70% of the time connection will just drop and I get timeout. Feels like it allows to download only small files, if bigger than 10Mb then it will timeout. In other terminal apps it will run until the process completes its job.

VS Code task:

Image

Same task in Terminal:

Image

xen commented 2 weeks ago

Just for explicitly: I disabled all extensions and inside VS Code getting timeouts, outside terminal app have no problems.