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

cacert@2024-11-26: download via aria2 failed #6410

Closed
danieldietsch opened this issue Dec 23, 2024 · 2 comments
Closed

cacert@2024-11-26: download via aria2 failed #6410

danieldietsch opened this issue Dec 23, 2024 · 2 comments

Comments

@danieldietsch
Copy link

❯ scoop update -a -k
cacert: 2024-09-24 -> 2024-11-26
curl: 8.11.0_1 -> 8.11.1_2
Updating 2 outdated apps:
Updating 'cacert' (2024-09-24 -> 2024-11-26)
Downloading new version
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: b70325|ERR |       0B/s|C:/Users/<user>/scoop/cache/cacert#2024-11-26#421d6d9.pem
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 1) An unknown error occurred
ERROR https://curl.se/ca/cacert-2024-11-26.pem#/cacert.pem
    referer=https://curl.se/ca/cacert-2024-11-26.pem#/
    dir=C:\Users\firefox\scoop\cache
    out=cacert#2024-11-26#421d6d9.pem

ERROR & 'C:\Users\<user>\scoop\apps\aria2\current\aria2c.exe' --input-file='C:\Users\<user>\scoop\cache\cacert.txt' --user-agent='Scoop/1.0 (+http://scoop.sh/) PowerShell/7.4 (Windows NT 10.0; Win64; x64; Core)' --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=20052 --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://github.com/ScoopInstaller/Main/issues/new?title=cacert%402024-11-26%3a+download+via+aria2+failed

Download of https://curl.se/ca/cacert-2024-11-26.pem#/cacert.pem works with curl or browser; aria2 works when escaping #, i.e., running aria2c https://curl.se/ca/cacert-2024-11-26.pem\#/cacert.pem manually works.

Copy link
Contributor

Cannot reproduce.

All files could be downloaded without any issue.
Problems with download could be caused by:

  • Network error
  • Blocked site (Great Firewall of China, Corporate restrictions, ...)
  • Antivirus settings blocking URL/downloaded file
  • Proxy configuration
  • Aria2 being unreliable (if you're facing problems with aria2, disable it by running scoop config aria2-enabled false and try again)

@danieldietsch
Copy link
Author

Yeah, rather helpful bot :/

My aria2 version is

❯ aria2c.exe  --version
aria2 version 1.37.0
...
** Configuration **
Enabled Features: Async DNS, BitTorrent, Firefox3 Cookie, GZip, HTTPS, Message Digest, Metalink, XML-RPC, SFTP
Hash Algorithms: sha-1, sha-224, sha-256, sha-384, sha-512, md5, adler32
Libraries: zlib/1.3 expat/2.5.0 sqlite3/3.43.1 GMP/6.3.0 c-ares/1.19.1 libssh2/1.11.0
Compiler: mingw-w64 8.0.0 (alpha) / gcc 10-win32 20220113
  built by  x86_64-pc-linux-gnu
  targeting x86_64-w64-mingw32
  on        Nov 15 2023 11:17:49
System: Windows 6.2 (x86_64) (6.2)

Perhaps this should be reported to aria2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant