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

オープン
#487,690 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
yaml
領域
tooling

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
言語のデータがありません
スター
11.4k
フォーク
13.8k
平均マージ
1時間 39分
マージ済み PR(30日)
666

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/winget-pkgs のほかの issue

microsoft/winget-pkgs の issue をすべて見る

似ている issue

DevTools の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。