dotnet restore consistently times out on Win7x64
See original GitHub issueSteps to reproduce
Install the LKG version off of https://dotnet.github.io/getting-started/ and install. Then do the following:
mkdir new
cd new
dotnet new
dotnet restore
Expected behavior
The packages are restored and the lock file is generated.
Actual behavior
Works very slowly at first and then it starts spitting out messages like the one below. After a while, simply exists with restore not done.
info : GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-core/nuget/v3/flatcontainer/system.text.encoding.extensions/index.json
log : Retrying 'FindPackagesByIdAsync' for source https://api.nuget.org/v3-flatcontainer/system.text.encoding.extensions/index.json.
log : The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/system.text.encoding.extensions/index.json' has timed out after 100000ms.
info : GET https://api.nuget.org/v3-flatcontainer/system.text.encoding.extensions/index.json
log : Retrying 'FindPackagesByIdAsync' for source https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-core/nuget/v3/flatcontainer/system.threading/index.json.
Environment data
dotnet --version
output:
.NET Command Line Tools (1.0.0-beta-001598)
Product Information:
Version: 1.0.0-beta-001598
Commit Sha: 7582649f88
Runtime Environment:
OS Name: Windows
OS Version: 6.1.7601
OS Platform: Windows
Runtime Id: win7-x64
Also tested on a Linux VM that is connected to the same network, same version installed from the feed, no problems, restores fast and nice.
/cc @emgarten @piotrpMSFT
Issue Analytics
- State:
- Created 8 years ago
- Comments:35 (7 by maintainers)
Top Results From Across the Web
Cannot complete dotnet restore because some requests ...
We tried dotnet restore , but it is timeouts too much. When we tried dotnet restore --disable-parallel it became better, but still it...
Read more >Constant timeouts doing NuGet restore
During a NuGet package restore, I continually see timeouts, to the point that I'm not able to successfully complete a restore. The majority...
Read more >kubernetes - Docker nuget connection timeout
I fix this issue by passing argument --disable-parallel to restore command which Disables restoring multiple projects in parallel.
Read more >dotnet restore command - .NET CLI
Learn how to restore dependencies and project-specific tools with the dotnet restore command.
Read more >Long delays and frequent timeouts during restore of Nuget ...
We have tried running cleanup, deceasing by 2 all settings in Clean-up Rules, rebooting machine. Now se store artifacts for 50 successful builds...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am seeing the same problem. It seems that in my case the traffic was routed to an incorrect network interface. I’ve disabled the VirtualBox interface (earlier I had it running with a VM in host-only network mode). There also was OpenVPN running with an active VPN connection, I closed the connection but did not disable the interface. I also disabled all other network interfaces (bluetooth and unconnected wired ethernet port).
I haven’t seen this problem with other software while the VPN and VirtualBox are active regularly on my system.
@emgarten install Win7SP1, install Virtual Box, install CLI tools. Do: