Closed
Description
is a frustrating experience :)
From https://github.com/Microsoft/visualfsharp/blob/master/DEVGUIDE.md I installed the dependencies, cloned the repository and run build.cmd
:
Installing StrawberryPerl64 5.22.2.1.
Error downloading 'StrawberryPerl64.5.22.2.1' from 'https://api.nuget.org/v3-flatcontainer/strawberryperl64/5.22.2.1/strawberryperl64.5.22.2.1.nupkg'.
Unable to read data from the transport connection: The connection was closed.
WARNING: Unable to find version '5.22.2.1' of package 'StrawberryPerl64'.
C:\proj\visualfsharp\.nuget\../artifacts: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'C:\proj\visualfsharp\.nuget\../artifacts'.
C:\Users\matth\AppData\Local\NuGet\Cache: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'C:\Users\matth\AppData\Local\NuGet\Cache'.
C:\Users\matth\.nuget\packages\: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'C:\Users\matth\.nuget\packages\'.
https://www.myget.org/F/fsharp-daily/api/v3/index.json: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'https://www.myget.org/F/fsharp-daily/api/v3/index.json'.
https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json'.
https://dotnet.myget.org/F/dotnet-core/api/v3/index.json: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'https://dotnet.myget.org/F/dotnet-core/api/v3/index.json'.
https://dotnet.myget.org/F/roslyn-master-nightly/api/v3/index.json: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'https://dotnet.myget.org/F/roslyn-master-nightly/api/v3/index.json'.
https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json'.
https://dotnet.myget.org/F/roslyn/api/v3/index.json: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'https://dotnet.myget.org/F/roslyn/api/v3/index.json'.
https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json'.
https://api.nuget.org/v3/index.json: Error downloading 'StrawberryPerl64.5.22.2.1' from 'https://api.nuget.org/v3-flatcontainer/strawberryperl64/5.22.2.1/strawberryperl64.5.22.2.1.nupkg'.
Unable to read data from the transport connection: The connection was closed.
Errors in packages.config projects
Error downloading 'StrawberryPerl64.5.22.2.1' from 'https://api.nuget.org/v3-flatcontainer/strawberryperl64/5.22.2.1/strawberryperl64.5.22.2.1.nupkg'.
Unable to read data from the transport connection: The connection was closed.
Unable to find version '5.22.2.1' of package 'StrawberryPerl64'.
C:\proj\visualfsharp\.nuget\../artifacts: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'C:\proj\visualfsharp\.nuget\../artifacts'.
C:\Users\matth\AppData\Local\NuGet\Cache: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'C:\Users\matth\AppData\Local\NuGet\Cache'.
C:\Users\matth\.nuget\packages\: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'C:\Users\matth\.nuget\packages\'.
https://www.myget.org/F/fsharp-daily/api/v3/index.json: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'https://www.myget.org/F/fsharp-daily/api/v3/index.json'.
https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json'.
https://dotnet.myget.org/F/dotnet-core/api/v3/index.json: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'https://dotnet.myget.org/F/dotnet-core/api/v3/index.json'.
https://dotnet.myget.org/F/roslyn-master-nightly/api/v3/index.json: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'https://dotnet.myget.org/F/roslyn-master-nightly/api/v3/index.json'.
https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json'.
https://dotnet.myget.org/F/roslyn/api/v3/index.json: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'https://dotnet.myget.org/F/roslyn/api/v3/index.json'.
https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json'.
https://api.nuget.org/v3/index.json: Error downloading 'StrawberryPerl64.5.22.2.1' from 'https://api.nuget.org/v3-flatcontainer/strawberryperl64/5.22.2.1/strawberryperl64.5.22.2.1.nupkg'.
Unable to read data from the transport connection: The connection was closed.
NuGet Config files used:
C:\proj\visualfsharp\.nuget\NuGet.Config
Feeds used:
C:\Users\matth\AppData\Local\NuGet\Cache
C:\Users\matth\.nuget\packages\
C:\proj\visualfsharp\.nuget\../artifacts
https://www.myget.org/F/fsharp-daily/api/v3/index.json
https://dotnet.myget.org/F/roslyn-master-nightly/api/v3/index.json
https://dotnet.myget.org/F/dotnet-core/api/v3/index.json
https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json
https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json
https://api.nuget.org/v3/index.json
https://dotnet.myget.org/F/roslyn/api/v3/index.json
Error: Nuget restore failed
or sometimes
Errors in packages.config projects
Error downloading 'StrawberryPerl64.5.22.2.1' from 'https://api.nuget.org/v3-flatcontainer/strawberryperl64/5.22.2.1/strawberryperl64.5.22.2.1.nupkg'.
The download of 'https://api.nuget.org/v3-flatcontainer/strawberryperl64/5.22.2.1/strawberryperl64.5.22.2.1.nupkg' timed out because no data was received for 60000ms.
Exception of type 'System.TimeoutException' was thrown.
Unable to find version '5.22.2.1' of package 'StrawberryPerl64'.
C:\proj\visualfsharp\.nuget\../artifacts: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'C:\proj\visualfsharp\.nuget\../artifacts'.
C:\Users\matth\AppData\Local\NuGet\Cache: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'C:\Users\matth\AppData\Local\NuGet\Cache'.
C:\Users\matth\.nuget\packages\: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'C:\Users\matth\.nuget\packages\'.
https://www.myget.org/F/fsharp-daily/api/v3/index.json: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'https://www.myget.org/F/fsharp-daily/api/v3/index.json'.
https://dotnet.myget.org/F/roslyn-master-nightly/api/v3/index.json: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'https://dotnet.myget.org/F/roslyn-master-nightly/api/v3/index.json'.
https://dotnet.myget.org/F/dotnet-core/api/v3/index.json: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'https://dotnet.myget.org/F/dotnet-core/api/v3/index.json'.
https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json'.
https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json'.
https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json'.
https://dotnet.myget.org/F/roslyn/api/v3/index.json: Package 'StrawberryPerl64.5.22.2.1' is not found on source 'https://dotnet.myget.org/F/roslyn/api/v3/index.json'.
https://api.nuget.org/v3/index.json: Error downloading 'StrawberryPerl64.5.22.2.1' from 'https://api.nuget.org/v3-flatcontainer/strawberryperl64/5.22.2.1/strawberryperl64.5.22.2.1.nupkg'.
The download of 'https://api.nuget.org/v3-flatcontainer/strawberryperl64/5.22.2.1/strawberryperl64.5.22.2.1.nupkg' timed out because no data was received for 60000ms.
Exception of type 'System.TimeoutException' was thrown.
Please provide a succinct description of the issue.
Expected behavior
Non-Error message? Successful Build?
Actual behavior
See error above.
Known workarounds
@forki told me to git clean -xdf
but I tried several times and I gave up now.
I downloaded the package manually via NuGet website (which was giving 504 errors as well). But eventually the manual download worked and I copied it to the Cache folder (C:\Users\matth\AppData\Local\NuGet\Cache
) manually.
So I guess this is a NuGet server bug? Will open an issue there as well...
Related information
Provide any related information
- Operating system: Windows 10 latest
- Branch: master
- Indications of severity: As long as it works for others, no idea?