vscode: vscode.cdn.azure.cn cannot fetch latest insider build.
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.85-insider
- OS Version: Windows 11 Insider Preview (Canary Build) 25997.1010 (rs_prerelease)
Steps to Reproduce:
- Get download link of VS Code Insiders by
vscode.cdn.azure.cn
. - Failed, then show
BlobNotFound
error.
What happened:
Since Monday, the speed of downloading updates for VS Code - Insiders has become abnormally slow. Previously, in China mainland, the download of updates for VS Code was done through vscode.cdn.azure.cn
, and after checking, it seems that the download link for updates for VS Code - Insiders has changed:
Stable build:
> curl -s https://update.code.visualstudio.com/latest/win32-x64/stable
Found. Redirecting to https://vscode.cdn.azure.cn/stable/1a5daa3a0231a0fbba4f14db7ec463cf99d7768e/VSCodeSetup-x64-1.84.2.exe?1
Insider build:
> curl -s https://update.code.visualstudio.com/latest/win32-x64/insider
Found. Redirecting to https://vscode.download.prss.microsoft.com/dbazure/download/insider/05cd2640ec8a106a4ee99cb38e6ee34fbec04f11/VSCodeSetup-x64-1.85.0-insider.exe?1
Previously, both Stable and Insider builds could be downloaded at high speed via vscode.cdn.azure.cn
in China mainland, it looks like the new download links are distributed via the PRSS CDN, not vscode.cdn.azure.cn
, which may be interfered with by some ISP in China mainland (?). VS Code report me net::ERR_CERT_COMMON_NAME_INVALID
.
After further investigation, I found that it might be caused by this PR which removed references to https://vscode.blob.core.chinacloudapi.cn
and https://vscode.cdn.azure.cn
during the build&publish process, could you re-add vscode.cdn.azure.cn
to solve the current problem of possible download interruptions? Thank you for your time.
About this issue
- Original URL
- State: closed
- Created 7 months ago
- Comments: 27 (9 by maintainers)
There doesn’t seem to be a specific time pattern, and basically the first time is relatively fast and successful, and then there is a certain probability that it will be unstable when trying again.
Update (2023-11-23 17:07): There have been 3 download attempts so far, everything works fine, it looks like the new CDN is taking some time to grind in.
And, Thank you, and I sincerely hope that VS Code team and others can work with network service providers in China mainland to help solve potential network problems related to VS Code’s online services!
Thank you for confirming and being so responsive overall!
How often do you estimate this happening still?
Correct, this new CDN does have relevant nodes deployed in China, via Tencent. This was a hard requirement for us to move to a new system. We are working on also adding a new provider in parallel.
I tested it using Firefox on my phone and I was getting the certificate error too. The screenshots above, with the exception of two screenshots from Firefox, were tested by others on their own devices, and they also ran into this issue.