question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dotnet restore timeouts on ubuntu 16.04

See original GitHub issue

Steps to reproduce

This problem only occurs on AWS Ubuntu 16.04, in other ubuntu installations works fine. Im working with csproj base projects

  • get source from repo
  • dotnet restore

Expected behavior

Restore of packages

Actual behavior

Times out with the following message:

/opt/dotnet/sdk/1.0.0-rc4-004771/NuGet.targets(97,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. [/home/ubuntu/h2o-dotnet/H2O/H2O.sln]

/opt/dotnet/sdk/1.0.0-rc4-004771/NuGet.targets(97,5): error : The HTTP request to ‘GET https://api.nuget.org/v3/index.json’ has timed out after 100000ms. [/home/ubuntu/h2o-dotnet/H2O/H2O.sln]

Environment data

dotnet --info output: .NET Command Line Tools (1.0.0-rc4-004771)

Product Information: Version: 1.0.0-rc4-004771 Commit SHA-1 hash: 4228198f0e

Runtime Environment: OS Name: ubuntu OS Version: 16.04 OS Platform: Linux RID: ubuntu.16.04-x64 Base Path: /opt/dotnet/sdk/1.0.0-rc4-004771

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
fvoncinacommented, Feb 15, 2017

@CalebMacdonaldBlack I’ve managed to workaround it by putting another ip for the host api.nuget.org: 93.184.221.200 api.nuget.org

0reactions
CalebMacdonaldBlackcommented, Feb 15, 2017

I’m having this problem aswell

Read more comments on GitHub >

github_iconTop Results From Across the Web

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 >
Nginx + Docker + DotNet app on Ubuntu 16.04 request ...
I have a Ubuntu 16.04 environment with Docker on Digital Ocean and I am booting a service using docker-compose:
Read more >
Constant timeouts doing NuGet restore
Hello, I am running ProGet 5.3.21 in Docker against an Azure Sql Database. During a NuGet package restore, I continually see timeouts, to...
Read more >
dotnet restore command - .NET CLI
Learn how to restore dependencies and project-specific tools with the dotnet restore command.
Read more >
How to get Nuget to download packges?
Go to your solution directory. Run dotnet restore . Does it work? What are the package sources you have configured for Nuget? You...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found