anderlli0053 / DEV-tools

📦 General development tools for applications and games and pretty much everything else too :) . Created and maintained by Andrew Poženel - anderlli0053 . 📦
https://andrew-pozenel.xyz/
The Unlicense
119 stars 23 forks source link

docker-desktop ERROR Download failed! (Error 22) HTTP response header was bad or unexpected #95

Closed dong-lufei closed 1 year ago

dong-lufei commented 1 year ago
$ scoop update docker-desktop
docker-desktop: 4.16.3 -> nightly
Updating one outdated app:
WARN  This is a nightly version. Downloaded files won't be verified.
Updating 'docker-desktop' (4.16.3 -> nightly-20230207)
Downloading new version
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: cbb18c|ERR |       0B/s|D:/scoop_user_apps/cache/docker-desktop#nightly-20230207#https_download.docker.com_win_stable_Docker_20for_20Windows_20Installer.exe_dockerInstall.exe
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 22) HTTP response header was bad or unexpected
ERROR https://download.docker.com/win/stable/Docker%20for%20Windows%20Installer.exe#/dockerInstall.exe
    referer=https://download.docker.com/win/stable/Docker%20for%20Windows%20Installer.exe#/
    dir=D:\scoop_user_apps\cache
    out=docker-desktop#nightly-20230207#https_download.docker.com_win_stable_Docker_20for_20Windows_20Installer.exe_dockerInstall.exe

ERROR & 'D:\scoop_user_apps\apps\aria2\current\aria2c.exe' --input-file='D:\scoop_user_apps\cache\docker-desktop.txt' --user-agent='Scoop/1.0 (+http://scoop.sh/) PowerShell/7.3 (Windows NT 10.0; Win64; x64; Core)' --allow-overwrite=true --auto-file-renaming=false --retry-wait=4 --split=32 --max-connection-per-server=16 --min-split-size=1M --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=10568 --continue --summary-interval=0 --auto-save-interval=1

Please try again or create a new issue by using the following link and paste your console output:
https://gitee.com/donglufei/DEV-tools
dong-lufei commented 1 year ago

The latest version of docker-desktop seems to be 4.18.0, why did you name it nightly?

https://docs.docker.com/desktop/release-notes/

anderlli0053 commented 1 year ago

I'll take a look when I come back home from work.

anderlli0053 commented 1 year ago

The manifest is fetched by [BOT] from another repository, so i did not name it, but i'm guessing that the original author did not want to bother with more work and just named it "nightly", so that it updates every day and not as usual.

anderlli0053 commented 1 year ago

Also i get no error when i run scoop install anderlli0053_DEV-tools/docker-desktop, it installs nicely