Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloading through the install tool plugin is extremely slower than official site #1980

Open
NullDict opened this issue Oct 11, 2024 · 1 comment

Comments

@NullDict
Copy link

Describe the bug.

It seems that the install tool plugin is downloading the dotnet SDK at a frustratingly slow speed, and after even half an hour, the installation is still not complete.

However, using the URL provided on the dotnet official website: https://download.visualstudio.microsoft.com/download/pr/6224f00f-08da-4e7f-85b1-00d42c2bb3d3/b775de636b91e023574a0bbc291f705a/dotnet-sdk-8.0.403-win-x64.exe allows for a significantly faster download speed.

Unfortunately, through the local network URL connection detection tool, I found that the install tool plugin does not seem to be downloading the dotnet SDK via the aforementioned URL.

I hope this issue can be optimized. Thank you.

Please attach log file(s) here if you have any.

AvaloniaTeam.vscode-avalonia requested to download the .NET Runtime.
Downloading .NET version(s) 8.0.10~x64 .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

Reproduction Steps

It can only be reproduced in areas where the download speed from the plugin's internal address is extremely slow.

Expected Behavior

The download can be completed very quickly using the URL provided on the dotnet official website, while downloading and installing through the plugin’s address takes over half an hour.

Exceptions & Errors (if any)

No response

.NET Install Tool Version

v2.2.0

Your operating system? Please provide more detail, such as the version and or distro above.

Windows

VS Code Version

1.94.2(system setup)

@nagilson
Copy link
Member

Do you mind sharing which region (country) you are located in? Our requests get routed through Axios.
Secondarily, our log might provide some more information. Maybe there is a failure somewhere else. We hit the same url endpoint so I wouldnt expect this to be the case.

logs

Our log files are located alongside VS Code logs. If you want to find them manually, navigate here: Linux: ~/.config/Code/logs Mac: ~/Library/Application Support/Code/logs/ Windows: c:\Users\USER\AppData\Roaming\Code\logs\

Then find the folder created at the time you experienced the bug in the logs folder. From there, go to window1 -> exthost -> ms-dotnettools.vscode-dotnet-runtime. The log file should be located in this folder.

Note: The window folder may change depending on how many VS Code windows you have open; if our extension is running in the 2nd window, it'd be in a folder called window2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants