I'm having problem restoring packages for a dotnet core 2.0 project here in Bolivia. Back home in The Netherlands I have no problems restoring the packages, but here it breaks.
I'm getting a lot of errors like:
Failed to download package 'System.Linq.4.1.0' from
'https://api.nuget.org/v3-flatcontainer/system.linq/4.1.0/system.linq.4.1.0.nupkg'.
An error occurred while sending the request
Error: SecureChannelFailure (Unable to write data to the transport connection: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'..)
Unable to write data to the transport connection: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'..
Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
Unable to load package 'System.Linq'.
When I try to wget this file I'm getting between 400 KB/s and 3 MB/s.
I'm thinking it's nuget restoring the packages in parallel and that causes the Hostel internet to be fully used? I have tried it in different Hostels/Cafe's here, and I'm getting the same problems. When I Remote Desktop into my home server in the Netherlands and restore the packages for the same project it's all going well.
What are my options here? I tried googling this problem for a while, but I haven't found a solution yet.
Thanks!
Jorik