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

Abierto
#487,690 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
yaml
Área
tooling

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
Sin datos de lenguaje
Estrellas
11.4k
Forks
13.8k
Merge medio
1 h 39 min
PR fusionados (30 d)
666

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de microsoft/winget-pkgs

Todos los issues de microsoft/winget-pkgs

Issues similares

Más issues de DevTools

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.