microsoft / vscode-docker

Docker Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker
Other
1.18k stars 508 forks source link

Error: fetch failed while trying to Acquire latest VsDbg install script #4265

Closed dkalpaki closed 2 months ago

dkalpaki commented 3 months ago

Hi All

Just recently ran into this issue with a new Azure Functions project, but this should repro on any regular .net console app project. My machine is a MacBook Pro, OS version 14.3.1.

Repro steps:

  1. Out of the box Docker Extension installed
  2. Created a docker file for my project
  3. Ran the command to set up the project for docker debugging
  4. Attempt to run the debugger.

The Docker output I see in Visual Studio Code was two lines: Acquiring latest VsDbg install script... Error: fetch failed

I believe something is wrong in the Vsdbg helper script that downloads the getvsdbg.sh file to the .vsdbg folder on my Mac.

Current workaround was to downgrade the extension by one minor version and that has resolved this issue.

bwateratmsft commented 3 months ago

It may have been just a transient issue, there haven't been any changes lately to that code. Can you try upgrading the extension again and see if the issue reproduces at all?

AzCode-Bot commented 2 months ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!