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

Unable to build (timeout when restoring) #33294

Closed
lpereira opened this issue Mar 6, 2020 · 6 comments
Closed

Unable to build (timeout when restoring) #33294

lpereira opened this issue Mar 6, 2020 · 6 comments
Labels
area-Infrastructure untriaged New issue has not been triaged by the area owner

Comments

@lpereira
Copy link
Contributor

lpereira commented Mar 6, 2020

I'm trying to build on a newly-installed Fedora 31 machine. Dependencies have been installed according to the documentation, but I'm getting a timeout when build.sh tries to restore.

/home/leandro/runtime/.dotnet/sdk/5.0.100-preview.2.20155.14/NuGet.targets(124,5): error : Unable to load the service index for source https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet-tools/nuget/v3/index.j
son. [/home/leandro/runtime/tools-local/tasks/installer.tasks/installer.tasks.csproj]
/home/leandro/runtime/.dotnet/sdk/5.0.100-preview.2.20155.14/NuGet.targets(124,5): error :   The HTTP request to 'GET https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet-tools/nuget/v3/index.json' has timed out after 100000ms. [
/home/leandro/runtime/tools-local/tasks/installer.tasks/installer.tasks.csproj]
                     NuGet.Protocol.Core.Types.FatalProtocolException: Unable to load the service index for source https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet-tools/nuget/v3/index.json.

(I've temporarily changed some shell scripts in eng/ to execute with bash tracing, plus force msbuild to be called with diag verbosity. Can send the full log.)

It doesn't seem to be a network issue. Accessing that URL from the command line with something like Curl works just fine and returns me the expected JSON data.

This is unrelated to #2199.

master is at 2018c79.

@Dotnet-GitSync-Bot
Copy link
Collaborator

I couldn't add an area label to this Issue.

Checkout this page to find out which area owner to ping, or please add exactly one area label to help train me in the future.

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Mar 6, 2020
@lpereira
Copy link
Contributor Author

lpereira commented Mar 6, 2020

Also happens in a Ubuntu 19.10 release, with same symptoms: NuGet times out while fetching that JSON, but it's fine if obtained with Curl.

@lpereira
Copy link
Contributor Author

lpereira commented Mar 6, 2020

On Ubuntu 18.04 this seems to work just fine. (Might be related to something else, as I've also switched from running things inside VirtualBox to Docker for Mac.)

@ViktorHofer
Copy link
Member

Moving to NuGet.

@ViktorHofer
Copy link
Member

Closing in favor of NuGet/Home#9785

@xiangzhai
Copy link
Contributor

Hi @ViktorHofer

But ArchLinux is still able to reproduce this issue.

Thanks,
Leslie Zhai

@ghost ghost locked as resolved and limited conversation to collaborators Dec 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

4 participants