Skip to content

[email protected]: download via aria2 failed #529

@lostdusty

Description

@lostdusty

I could previously update it fine with aria2, now seems like azul's servers doesn't like range headers.

Console output

Updating one outdated app:
Updating 'zulu-jdk' (22.32.15 -> 23.28.85)
Downloading new version
Starting download with aria2 ...
Download: 10/09 11:51:18 [ERROR] CUID#14 - Download aborted. URI=https://cdn.azul.com/zulu/bin/zulu23.28.85-ca-jdk23.0.0-win_x64Download: Exception: [AbstractCommand.cc:351] errorCode=8 URI=https://cdn.azul.com/zulu/bin/zulu23.28.85-ca-jdk23.0.0-win_x64.ziDownload:   -> [HttpResponse.cc:81] errorCode=8 Invalid range header. Request: 155189248-163577855/216573686, Response: 0-216573Download: 10/09 11:51:18 [ERROR] CUID#13 - Download aborted. URI=https://cdn.azul.com/zulu/bin/zulu23.28.85-ca-jdk23.0.0-win_x64Download: Exception: [AbstractCommand.cc:351] errorCode=8 URI=https://cdn.azul.com/zulu/bin/zulu23.28.85-ca-jdk23.0.0-win_x64.ziDownload:   -> [HttpResponse.cc:81] errorCode=8 Invalid range header. Request: 199229440-216573685/216573686, Response: 0-216573Download: 10/09 11:51:18 [ERROR] CUID#10 - Download aborted. URI=https://cdn.azul.com/zulu/bin/zulu23.28.85-ca-jdk23.0.0-win_x64Download: Exception: [AbstractCommand.cc:351] errorCode=8 URI=https://cdn.azul.com/zulu/bin/zulu23.28.85-ca-jdk23.0.0-win_x64.ziDownload:   -> [HttpResponse.cc:81] errorCode=8 Invalid range header. Request: 146210816-155189247/216573686, Response: 0-216573Download: 10/09 11:51:18 [ERROR] CUID#12 - Download aborted. URI=https://cdn.azul.com/zulu/bin/zulu23.28.85-ca-jdk23.0.0-win_x64Download: Exception: [AbstractCommand.cc:351] errorCode=8 URI=https://cdn.azul.com/zulu/bin/zulu23.28.85-ca-jdk23.0.0-win_x64.ziDownload:   -> [HttpResponse.cc:81] errorCode=8 Invalid range header. Request: 163577856-181403647/216573686, Response: 0-216573Download: 10/09 11:51:18 [ERROR] CUID#11 - Download aborted. URI=https://cdn.azul.com/zulu/bin/zulu23.28.85-ca-jdk23.0.0-win_x64Download: Exception: [AbstractCommand.cc:351] errorCode=8 URI=https://cdn.azul.com/zulu/bin/zulu23.28.85-ca-jdk23.0.0-win_x64.ziDownload:   -> [HttpResponse.cc:81] errorCode=8 Invalid range header. Request: 181403648-199229439/216573686, Response: 0-216573Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: 08901b|ERR |       0B/s|C:/Users/Rebecca/scoop/cache/zulu-jdk#23.28.85#dd65de5.zip
Download: Status Legend:
Download: (ERR):error occurred.
Download: aria2 will resume download if the transfer is restarted.
Download: If there are any errors, then see the log file. See '-l' option in help/man page for details.

ERROR Download failed! (Error 8) Remote server did not support resume when resume was required to complete download
ERROR https://cdn.azul.com/zulu/bin/zulu23.28.85-ca-jdk23.0.0-win_x64.zip
    referer=https://cdn.azul.com/zulu/bin/
    dir=C:\Users\Rebecca\scoop\cache
    out=zulu-jdk#23.28.85#dd65de5.zip

ERROR & 'C:\Users\Rebecca\scoop\apps\aria2\current\aria2c.exe' --input-file='C:\Users\Rebecca\scoop\cache\zulu-jdk.txt' --user-agent='Scoop/1.0 (+http://scoop.sh/) PowerShell/5.1 (Windows NT 10.0; Win64; x64; Desktop)' --allow-overwrite=true --auto-file-renaming=false --retry-wait=2 --split=5 --max-connection-per-server=5 --min-split-size=5M --console-log-level=warn --enable-color=false --no-conf=true --follow-metalink=true --metalink-preferred-protocol=https --min-tls-version=TLSv1.2 --stop-with-process=2240 --continue --summary-interval=0 --auto-save-interval=1

Scoop Configuration

{
    "last_update":  "2024-10-09T11:49:05.6548503-03:00",
    "scoop_repo":  "https://github.com/ScoopInstaller/Scoop",
    "scoop_branch":  "master"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions