Main icon indicating copy to clipboard operation
Main copied to clipboard

[email protected]: download via aria2 failed

Open mbhavya opened this issue 5 years ago • 1 comments

Logs

Updating 'aws-copilot' (1.3.0 -> 1.4.0)
Downloading new version
Starting download with aria2 ...
Download: 03/17 10:25:21 [ERROR] CUID#8 - Download aborted. URI=https://github.com/aws/copilot-cli/releases/download/v1.4.0/copilot-wDownload: Exception: [AbstractCommand.cc:351] errorCode=19 URI=https://github.com/aws/copilot-cli/releases/download/v1.4.0/copilot-wiDownload: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: 1965b2|ERR |       0B/s|C:/Users//scoop/cache/aws-copilot#1.4.0#https_github.com_aws_copilot-cli_releases_download_v1.4.0_copilot-windows.exe_copilot.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 19) Name resolution failed
ERROR https://github.com/aws/copilot-cli/releases/download/v1.4.0/copilot-windows.exe#/copilot.exe
    referer=https://github.com/aws/copilot-cli/releases/download/v1.4.0/copilot-windows.exe#/
    dir=C:\Users\\scoop\cache
    out=aws-copilot#1.4.0#https_github.com_aws_copilot-cli_releases_download_v1.4.0_copilot-windows.exe_copilot.exe

ERROR & 'C:\Users\\scoop\apps\aria2\current\aria2c.exe' --input-file='C:\Users\\scoop\cache\aws-copilot.txt' --user-agent='Scoop/1.0 (+http://scoop.sh/) PowerShell/7.1 (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=6156 --continue --summary-interval 0

mbhavya avatar Mar 17 '21 04:03 mbhavya

Cannot reproduce.

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

  • Network error
  • Site is blocked (Great Firewall of China, Corporate restrictions, ...)
  • Antivirus settings could block URL or block downloaded file
  • Proxy configuration

github-actions[bot] avatar Mar 17 '21 04:03 github-actions[bot]