Nugetgallery: Download package very slow in china

Created on 2 Feb 2019  ·  5Comments  ·  Source: NuGet/NuGetGallery

@yh371174229 Filed https://github.com/NuGet/Home/issues/7747
That user closed it, but perhaps there is still an issue. Wanted you folks to at least see it.
Another user added a pointer to what we did in 2017 for China perf.

Details about Problem

Do you pay attention to China's nuget experience? Is there a mirror server for China? I did not try to download this update for the day.
NuGet product used (NuGet.exe | VS UI | Package Manager Console | dotnet.exe):

NuGet version (x.x.x.xxx):latest

dotnet.exe --version (if appropriate):.net framework 4.5.2

VS version (if appropriate):2013/2015/2017

OS version (i.e. win10 v1607 (14393.321)):win 10

Worked before? If so, with which NuGet version:

Detailed repro steps so we can see the same problem

always failed,My God!
Like npm,we have taobao mirror,But NuGet wo have nothing,it's so slow slow and slow
Hope to improve the experience

Most helpful comment

@yh371174229 , which feed are you using to download packages in China?
We have a mirror hosted in China and you can reach it only when using V3 API. You should configure your client to use feed https://api.nuget.org/v3/index.json
If you are using our V2 API (https://www.nuget.org/api/v2/) you will encounter severe performance and availability issues from China.

All 5 comments

@yh371174229 , which feed are you using to download packages in China?
We have a mirror hosted in China and you can reach it only when using V3 API. You should configure your client to use feed https://api.nuget.org/v3/index.json
If you are using our V2 API (https://www.nuget.org/api/v2/) you will encounter severe performance and availability issues from China.

Thank you very much!

I found
https://nuget.cdn.azure.cn/v3/index.json

but this also get https://api.nuget.org this url is often timed out.

Hi @liujianm ,

The performance and availability of https://api.nuget.org in China should be good since it's hosted inside China. If you are experiencing connectivity issues, please send us information so that we can investigate.
The information we need:

  1. MTR trace (instructions here: https://docs.microsoft.com/en-us/nuget/faqs/nuget-faq#nugetorg-not-accessible)
  2. Your exact location (city) and ISP name

Send it to [email protected].

//cc @cristinamanum

Hi @liujianm ,
you can use this url to download MTR Tool in China(https://github.com/oott123/WinMTR)
The Url(http://winmtr.net/download/) can't arrived in China.

Was this page helpful?
0 / 5 - 0 ratings