core icon indicating copy to clipboard operation
core copied to clipboard

AzureFeed 'dotnetcli.azureedge.net/dotnet' in dotnet-install script was too slow in China

Open RayWangQvQ opened this issue 3 years ago • 16 comments

As dotnet/install-scripts#236 , I tried to install sdk with version 5.0.404, it was slow too. So I guss, it is not about latest.version.

Here are the cmds:

./dotnet-install.sh --version 5.0.404
./dotnet-install.sh --version 6.0.100

The script showed their download urls(sdk v5.0 and v6.0):

https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.404/dotnet-sdk-5.0.404-linux-musl-x64.tar.gz
https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.100/dotnet-sdk-6.0.100-linux-musl-x64.tar.gz

Here is my speed in browser:

image

For current situation, it is always blocked and finally failed when I use the scripts in linux server in China.

Would you like please to check agin and resolve it, THX!

RayWangQvQ avatar Feb 02 '22 17:02 RayWangQvQ

Hi @RayWangQvQ, Thank you for the issue. We are investigating this and I will get back to you once we have a better understanding of the situation.

bekir-ozturk avatar Feb 03 '22 16:02 bekir-ozturk

Hi @RayWangQvQ, According to my investigations, there doesn't seem to be any special handling on our side to cause such slowness in China. Can you check if you are behind a firewall or VPN? Your ISP may also be limiting your downloads. Can you test your download speed with other sites and share the results? This would help us understand if this is specific to Microsoft sources.

bekir-ozturk avatar Feb 23 '22 16:02 bekir-ozturk

In the same server and same time:

image

image

RayWangQvQ avatar Feb 27 '22 08:02 RayWangQvQ

Thanks @RayWangQvQ. Interesting. This doesn't seem to be related to install scripts, since you are getting the same speed issues in your browser as well. So I will move this issue to 'dotnet/core' repo to be re-triaged.

bekir-ozturk avatar Feb 28 '22 10:02 bekir-ozturk

This issue has been automatically closed due to no response from the original author. Please feel free to reopen it if you have more information that can help us investigate the issue further.

no-response[bot] avatar Mar 02 '22 17:03 no-response[bot]

reopen

RayWangQvQ avatar Mar 02 '22 18:03 RayWangQvQ

@rbhanda who should look into this?

mairaw avatar Mar 02 '22 20:03 mairaw

Hi @mairaw this doesn't look like something we control. As @bekir-ozturk mentioned, this is not related to the install scripts.

rbhanda avatar Mar 02 '22 20:03 rbhanda

But who owns the hosting site?

mairaw avatar Mar 02 '22 21:03 mairaw

image

I'm also located in China but cannot reproduce your issue. This may be a networking issue of your ISP (aliyun).

But who owns the hosting site?

The packages are delivered by a CDN.

hez2010 avatar Mar 17 '22 12:03 hez2010

image

I'm also located in China but cannot reproduce your issue. This may be a networking issue of your ISP (aliyun).

But who owns the hosting site?

The packages are delivered by a CDN.

Are you using VPN or other similar magical things?

I don't think it is aliyun cloud's problem, because it is also slow when I download it in my local PC. As the picture in my first comment, it is my local browser(Edge), and the problem remains.

RayWangQvQ avatar Mar 19 '22 13:03 RayWangQvQ

Are you using VPN or other similar magical things?

No.

hez2010 avatar Mar 19 '22 13:03 hez2010

I'm in Korea, but I'm experiencing slow downloading, too. Usually, it's fast and I think it seems to slow down every time updates are distributed. Visual Studio Installer also stuck in checking updates forever whenever this happened.

I put the traceroute results in Korea below for your reference:

$ traceroute dotnetcli.azureedge.net
traceroute to cs9.wpc.v0cdn.net (117.18.232.200), 64 hops max, 52 byte packets
 1  172.30.1.254 (172.30.1.254)  3.967 ms  3.331 ms  3.731 ms
 2  220.118.189.254 (220.118.189.254)  6.850 ms  6.415 ms  8.109 ms
 3  222.108.190.17 (222.108.190.17)  12.895 ms  6.539 ms  4.912 ms
 4  112.190.17.101 (112.190.17.101)  3.861 ms  3.806 ms  3.718 ms
 5  112.190.1.25 (112.190.1.25)  6.890 ms
    112.190.2.213 (112.190.2.213)  4.284 ms
    112.190.2.169 (112.190.2.169)  7.315 ms
 6  * * *
 7  112.174.90.170 (112.174.90.170)  9.966 ms
    112.174.90.98 (112.174.90.98)  10.320 ms
    112.174.90.174 (112.174.90.174)  9.956 ms
 8  112.174.91.150 (112.174.91.150)  10.946 ms
    112.174.91.190 (112.174.91.190)  10.911 ms
    112.174.91.98 (112.174.91.98)  9.293 ms
 9  63-218-147-1.static.pccwglobal.net (63.218.147.1)  80.820 ms  86.375 ms  82.483 ms
10  bundle-eth53.clbr01.tok02.pccwbtn.net (63.218.250.78)  80.196 ms  83.689 ms  86.468 ms
11  63.218.251.18 (63.218.251.18)  108.177 ms  83.993 ms *
12  ae-65.core1.tka.edgecastcdn.net (152.195.112.129)  93.113 ms  85.440 ms  88.137 ms
13  117.18.232.200 (117.18.232.200)  87.993 ms  86.437 ms  84.730 ms
14  117.18.232.200 (117.18.232.200)  84.639 ms  88.155 ms  88.049 ms

sunghwan2789 avatar Jul 13 '22 14:07 sunghwan2789

this is a cdn error,we can use vscode.cdn.azure.cn host download vs code exe Example Used: https://az764295.vo.msecnd.net/stable/d045a5eda657f4d7b676dedbfa7aab8207f8a075/VSCode-darwin-universal.zip

replace

https://vscode.cdn.azure.cn/stable/d045a5eda657f4d7b676dedbfa7aab8207f8a075/VSCode-darwin-universal.zip this url use cdn node in china,is fast

the same issues like packages.microsoft.com is to lower in chinese https://github.com/tuna/issues/issues/335 https://github.com/dotnet/core/issues/2882

So can we use the same solution as the VScode team?for example use dotnet.cdn.azure.cn? From the domain name (azureedge.net,azure.cn) perspective, these two urls belong to the same department azure

eveloki avatar Nov 18 '23 14:11 eveloki

Any progress on this? It's occasionally slow and occasionally fast, which seems to CDN cause problems.

VAllens avatar Jan 18 '24 05:01 VAllens