[Package Issue]: NetEase.UURemote - installer download fails with HTTP 403 (CDN now requires key1/key2 URL auth)

Open
#487,690 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
yaml
Domain
tooling

Research direction

The affected manifests for versions 4.47.1.5286, 4.48.0.5446, 4.48.2.5754 and 4.48.3.5946 hold the bare InstallerUrl under NetEase.UURemote, and that URL returns 403 without the key1/key2 query. Confirm the signed URL from the publisher's download endpoint (the 302 Location) returns 200 and matches InstallerSha256, then check whether the signed URLs expire before editing the InstallerUrl values. Done means the updated manifests pass validation and winget upgrade downloads 4.48.3.5946 with a matching hash.

Written by the indexing model from the issue text.

Description

Needs-Triage
Category of the issue

Installation issue.

Please confirm these before moving forward
  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.
Brief description of your issue

winget upgrade --id NetEase.UURemote fails while downloading the installer:

(2/3) 已找到 UU远程 [NetEase.UURemote] 版本 4.48.3.5946
正在下载 https://a56.gdl.netease.com/UURemote_Setup_4.48.3.5946_1123114709_gwqd.exe
执行此命令时发生意外错误:
Download request status is not success.
0x80190193 : Forbidden (403).

The manifest for 4.48.3.5946 uses the bare object URL with no CDN auth query. The host (a56.gdl.netease.com, served by Volcengine CDN) now enforces paired URL authentication: requests without valid key1 + key2 are denied at the edge with byte-error-code: 00022 / deny code 22. The archived installer itself is unchanged — the official download API still serves a byte-identical file, just behind a signed URL.

Steps to reproduce
  1. Have NetEase.UURemote installed (e.g. 4.48.2.5754).
  2. Run winget upgrade --id NetEase.UURemote.
  3. Download of InstallerUrl fails with HTTP 403.
Actual behavior
HTTP/2 403
server: Byte-nginx
byte-error-code: 00022
x-exception-info: deny code 22
cdn-source: volcengine

The denial is host-wide, not specific to one file — the following also return 403:

  • https://a56.gdl.netease.com/ (host root, and any non-existent path)
  • https://a56.gdl.netease.com/UURemote_Setup_4.48.2.5754_1120085908_gwqd.exe
  • https://a56.gdl.netease.com/UURemote_Setup_4.48.0.5446_1116133031_gwqd.exe
  • https://a56.gdl.netease.com/UURemote_Setup_4.47.1.5286_1114101745_gwqd.exe

i.e. the latest several manifests are all affected, not just 4.48.3.5946.

Expected behavior

winget upgrade downloads and installs 4.48.3.5946.

Evidence: the same object is still served, with a signed URL

The publisher's own download endpoint 302-redirects to the identical object plus the auth parameters:

GET https://api.nrd.nie.163.com/api/v1/release/dl/1?channel=gwqd
302 -> https://a56.gdl.netease.com/UURemote_Setup_4.48.3.5946_1123114709_gwqd.exe?key1=...&key2=...&n=uuyc_4.48.3.exe

Query-parameter behavior on the same object:

URL Result
no query 403
?n=uuyc_4.48.3.exe only 403
?key2=... only 403
?key1=... only 403
?key1=...&key2=... 200, 98,384,048 bytes

SHA256 of the file downloaded from the signed URL:

46B6C35970C46067A5772A14F76232DCED3FA11A5EFDF736DA9485A061CD7C75

which matches InstallerSha256 in the current manifest exactly, so this is purely a URL/auth regression — no new package version is required.

Suggested fix

Update InstallerUrl for the affected versions to the URL returned by the publisher's download endpoint (the 302 Location, i.e. with key1/key2/n query) — the hash stays the same. If the tokens are known to rotate, the alternative is to ask the publisher (NetEase) to stop enforcing URL auth for these installer objects.

Affected manifests observed: 4.47.1.5286, 4.48.0.5446, 4.48.2.5754, 4.48.3.5946.

Environment
[winget --info]
Windows 程序包管理器 v1.30.310
Windows: Windows.Desktop v10.0.19045.7846
系统体系结构: X64
软件包: Microsoft.DesktopAppInstaller v1.30.310.0
Screenshots and Logs
名称   ID               版本        可用        源
------------------------------------------------------
UU远程 NetEase.UURemote 4.48.2.5754 4.48.3.5946 winget
Dominant language
No language data
Stars
11.4k
Forks
13.8k
Avg merge
1h 39m
Merged PRs (30d)
666

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/winget-pkgs

All issues in microsoft/winget-pkgs

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.