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

Aperta
#487,690 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
yaml
Ambito
tooling

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
Nessun dato sulla lingua
Stelle
11.4k
Fork
13.8k
Merge medio
1h 39m
PR unite (30g)
666

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/winget-pkgs

Tutte le issue di microsoft/winget-pkgs

Issue simili

Altre issue su DevTools

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.