Skip to content

Range GET requests are not supported by the copy source #91

Closed

Description

It looks like we have a problem with Range GET requests. #85

Activity

  1. added
    Area-Validation-Pipeline
    Issue-Bug
    on May 9, 2020
  2. denelon commented on May 9, 2020

    @denelon
    CollaboratorAuthor
  3. linked a pull request that will close this issueEdge #113on May 16, 2020
  4. linked a pull request that will close this issueAdded AutoHotkey. #90on May 16, 2020
  5. sundhaug92 commented on May 19, 2020

    @sundhaug92
    Contributor

    Looks like an undocumented requirement. I get why it's there but I think it should be removed

  6. added this to the milestone on Jun 3, 2020
  7. ghost added a commit that references this issue on Jun 9, 2020
  8. stedaniels commented on Jun 28, 2020

    @stedaniels

    The winget cli supports range requests.
    A manifest that specifies a Url that references a web server that doesn't support range requests/streams will correctly fail-over to download, as per https://github.com/microsoft/winget-cli/blame/cc7904cd23bf1cdb1178a9dd8e634edf82d51e68/src/AppInstallerCLICore/Workflows/InstallFlow.cpp#L124.

    The validation-pipeline.yaml is the pipeline that appears to be broken, as far as I can tell it's the 'Installers Scan' task. I'm not really familiar with Azure pipelines but it appears to be calling executables/functions that haven't been open sourced. Otherwise I would have attempted to find and fix the problem and sent a PR.

    An example of a manifest that passes local validation but fails the pipelines is HeidiSQL.

    PS C:\devel\winget\winget-pkgs> winget install -m manifests\AnsgarBecker\HeidiSQL\11.0.0.5919.yaml Found HeidiSQL [AnsgarBecker.HeidiSQL] 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://www.heidisql.com/installers/HeidiSQL_11.0.0.5919_Setup.exe ██████████████████████████████ 22.1 MB / 22.1 MB Successfully verified installer hash Installing ... Successfully installed!

    This can be found failing here: #1914

    The output from the 'Installers Scan' is here: https://dev.azure.com/ms/winget-pkgs/_build/results?buildId=90013&view=logs&j=c8020aa5-4aab-5881-691f-21986e02afd0&t=bade86d6-d2be-5ddd-c1b9-7d8db9c4a60d&l=41

    I don't want to minimise the issue, obviously range requests have been around for quite a while, but we can't expect everyone to renovate their server infrastructure. The winget cli supports failing over, so drop these failures down to warnings and move on?

  9. floh96 commented on Jun 30, 2020

    @floh96
    Contributor

    Demitrius Nelon (@denelon) Is the milestone for this issue correct please prioritise since a lot of packages can't be added to winget because of this issue.

  10. linked a pull request that will close this issueAdd Total Commander #306on Jul 9, 2020
  11. denelon commented on Jul 17, 2020

    @denelon
    CollaboratorAuthor

    Florian Heberl (@floh96) We've been independently working milestones between the client and the services behind this repository. The fix for this was just pushed into production. We're going to re-run and validate all of the PRs to see how many of them will complete now before closing this issue.

  12. floh96 commented on Jul 17, 2020

    @floh96
    Contributor

    Florian Heberl (@floh96) We've been independently working milestones between the client and the services behind this repository. The fix for this was just pushed into production. We're going to re-run and validate all of the PRs to see how many of them will complete now before closing this issue.

    Heidi SQL #950 just passed validation. Thanks for fixing this.

  13. denelon commented on Jul 17, 2020

    @denelon
    CollaboratorAuthor

    It looks like all of the issues with "Range Get requests" are passing now. I'm going to go ahead and close this issue. Feel free to open it back up if anything else fails due to this reason.

  14. modified the milestones: , v1.0 - Packages on May 21, 2021
  15. added a commit that references this issue on Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Validation-PipelineIssue-Bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions