Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Package Issue]: Poly.PolyLens #231493

Open
2 tasks done
elibrody opened this issue Feb 19, 2025 · 6 comments
Open
2 tasks done

[Package Issue]: Poly.PolyLens #231493

elibrody opened this issue Feb 19, 2025 · 6 comments
Labels
Interactive-Only-Download The package requires intearction to download. Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@elibrody
Copy link

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.

Category of the issue

Installation issue.

Brief description of your issue

Getting a 403 Forbidden on download of the package

Steps to reproduce

winget install Poly.PolyLens
or Winget update Poly.PolyLens

Actual behavior

This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://swupdate.lens.poly.com/lens-desktop-windows/2.1.0/2.1.0/PolyLens-2.1.0.msi
An unexpected error occurred while executing the command:
Download request status is not success.
0x80190193 : Forbidden (403).
End Time: "2/19/2025 4:10:06 PM"
Process return value: "-2145844845" (0x80190193)
Poly Lens could not be updated

Expected behavior

Proper Download/Install or update

Environment

winget --info
Windows Package Manager v1.9.25200
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.26100.3194
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.24.25200.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled
PS C:\Projects\priv-browser>

Screenshots and Logs

No response

@elibrody elibrody added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Feb 19, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label Feb 19, 2025
@Dvd-Znf
Copy link
Contributor

Dvd-Znf commented Feb 19, 2025

The download page first send a POST request to get the download link

This might be done intentionally to block automated installers from getting to the link, :/
im not sure if there is an alternative download

@elibrody
Copy link
Author

This seems to be a new thing as you can see the same result on all older versions it has worked fine in the past

@Dragon1573
Copy link
Contributor

❤ Manually verified.

已找到 Poly Lens [Poly.PolyLens] 版本 2.1.0.2461
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
已跳过依赖项。
正在下载 https://swupdate.lens.poly.com/lens-desktop-windows/2.1.0/2.1.0/PolyLens-2.1.0.msi
执行此命令时发生意外错误: 
Download request status is not success.
0x80190193 : 已禁止(403)。

21:02:39 D:\...\winget-pkgs  [master ≡] 0ms pwsh$ komac list-versions Poly.PolyLens
1.4.0.6062
1.5.0.6070
1.5.1.6079
2.0.16.1983
2.0.17.2119
2.1.0.2461

21:02:42 D:\...\winget-pkgs  [master ≡] 1.373s pwsh$ komac show --installer-manifest Poly.PolyLens -v 2.1.0.2461 | findstr.exe InstallerUrl
  InstallerUrl: https://swupdate.lens.poly.com/lens-desktop-windows/2.1.0/2.1.0/PolyLens-2.1.0.msi

21:02:50 D:\...\winget-pkgs  [master ≡] 1.804s pwsh$ komac show --installer-manifest Poly.PolyLens -v 2.0.17.2119 | findstr.exe InstallerUrl
  InstallerUrl: https://swupdate.lens.poly.com/lens-desktop-windows/2.0.17/2.0.17/PolyLens-2.0.17.msi

21:03:05 D:\...\winget-pkgs  [master ≡] 1.867s pwsh$ komac show --installer-manifest Poly.PolyLens -v 2.0.16.1983 | findstr.exe InstallerUrl
  InstallerUrl: https://swupdate.lens.poly.com/lens-desktop-windows/2.0.16.1983/2.0.16.1983/PolyLens-2.0.16.1983.msi

21:03:27 D:\...\winget-pkgs  [master ≡] 1.737s pwsh$ komac show --installer-manifest Poly.PolyLens -v 1.5.1.6079 | findstr.exe InstallerUrl 
  InstallerUrl: https://swupdate.lens.poly.com/lens-desktop-windows/1.5.1/1.5.1/PolyLens-1.5.1.msi

21:04:50 D:\...\winget-pkgs  [master ≡] 2.267s pwsh$ komac show --installer-manifest Poly.PolyLens -v 1.5.0.6070 | findstr.exe InstallerUrl
  InstallerUrl: https://swupdate.lens.poly.com/lens-desktop-windows/1.5.0/1.5.0/PolyLens-1.5.0.msi

21:05:03 D:\...\winget-pkgs  [master ≡] 2.19s pwsh$ komac show --installer-manifest Poly.PolyLens -v 1.4.0.6062 | findstr.exe InstallerUrl
  InstallerUrl: https://swupdate.lens.poly.com/lens-desktop-windows/1.4.0/1.4.0/PolyLens-1.4.0.msi

With proxy disabled, visit the InstallerUrl via browser will also be blocked. Can't sure if this is a "country / region block" (Mainland China).

@elibrody
Copy link
Author

region

Don't think this is a region related issue I'm in the US and see the same thing

@Dragon1573
Copy link
Contributor

Dragon1573 commented Feb 20, 2025

❤ Manually check with Motrix.

The download page first send a POST request to get the download link

This might be done intentionally to block automated installers from getting to the link.

Warning

I've installed Aria2 Explorer and cooperate with Motrix. When clicking the Windows button for downloading, Aria2 Explorer will "hijack" the request, grab them into a bundled AriaNG panel and try to send them to Motrix.

In the panel, I notice there's an already-filled Referrer property. If I launch the download, it works as expected. But if I remove that property before launching the download, it will be blocked with response HTTP 403.

I think this is how they block the automated downloader. winget.exe does NOT support configuring those property.

Image

@stephengillie stephengillie added Interactive-Only-Download The package requires intearction to download. and removed Needs-Triage This work item needs to be triaged by a member of the core team. labels Feb 20, 2025
@bbak
Copy link

bbak commented Feb 21, 2025

Interestingly, they block their own In-App SW-Upgrade with this also. 🤦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Interactive-Only-Download The package requires intearction to download. Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

5 participants