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

clangd@18.1.3: download via aria2 failed #6411

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

clangd@18.1.3: download via aria2 failed #6411

tangturtle opened this issue Dec 23, 2024 · 2 comments

Comments

@tangturtle
Copy link

ERROR Download failed! (Error 1) An unknown error occurred
ERROR
    referer=https://github.com/clangd/clangd/releases/download/18.1.3/
    dir=D:\Program_Files\scoop\cache
    out=clangd#18.1.3#b472529.zip

ERROR & 'D:\Program_Files\scoop\apps\aria2\current\aria2c.exe' --input-file='D:\Program_Files\scoop\cache\clangd.txt' --user-agent='Scoop/1.0 (+https://gitee.com/scoop-installer/scoop/) PowerShell/7.5 (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=25844 --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=clangd%4018.1.3%3a+download+via+aria2+failed

对应的网址似乎不对

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)

@tangturtle
Copy link
Author

You are correct that the URL https://github.com/clangd/clangd/releases/download/18.1.3/clangd-windows-18.1.3.zip is indeed accurate. However, it still prompts:
The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
URL https://github.com/clangd/clangd/releases/download/18.1.3/clangd-windows-18.1.3.zip is not valid.
Can someone help me with this? (I have ensured that I can access GitHub normally.)

😭

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