Bug Report
Current Behavior
failed download apps with SO MUCH built-in config.
Expected Behavior
Download Successfully
Additional context/output
Installing 'nodejs' (17.8.0) [64bit]
Starting download with aria2 ...
Download: 04/05 12:33:02 [ERROR] CUID#8 - Download aborted. URI=https://nodejs.org/dist/v17.8.0/nodeDownload: Exception: [AbstractCommand.cc:312] errorCode=1 Network problem has occurred. cause:A sockDownload: Download Results:
Download: gid |stat|avg speed |path/URI
Download: ======+====+===========+=======================================================
Download: 7127a8|ERR | 0B/s|C:/Users/l1349/scoop/cache/nodejs#17.8.0#https_nodejs.org_dist_v17.8.0_node-v17.8.0-win-x64.7z
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://nodejs.org/dist/v17.8.0/node-v17.8.0-win-x64.7z
referer=https://nodejs.org/dist/v17.8.0/
dir=C:\Users\l1349\scoop\cache
out=nodejs#17.8.0#https_nodejs.org_dist_v17.8.0_node-v17.8.0-win-x64.7z
ERROR & 'C:\Users\l1349\scoop\apps\aria2\current\aria2c.exe' --input-file='C:\Users\l1349\scoop\cache\nodejs.txt' --user-agent='Scoop/1.0 (+http://scoop.sh/) PowerShell/7.2 (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=20968 --continue --summary-interval=0 --auto-save-interval=1 --conf-path 'C:\Users\l1349\OneDrive - Tsinghua University\Softwares\Program Files\aria2\Profiles\aria2-base.ini'
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=nodejs%4017.8.0%3a+download+via+aria2+failed
Especially, why built in --no-conf=true? it caused most of the failure
The problem it not caused by my --conf-path option
scoop install nodejs
Installing 'nodejs' (17.8.0) [64bit]
Starting download with aria2 ...
Download: 04/05 12:37:58 [ERROR] CUID#8 - Download aborted. URI=https://nodejs.org/dist/v17.8.0/nodeDownload: Exception: [AbstractCommand.cc:312] errorCode=1 Network problem has occurred. cause:A sockDownload: Download Results:
Download: gid |stat|avg speed |path/URI
Download: ======+====+===========+=======================================================
Download: 64649b|ERR | 0B/s|C:/Users/l1349/scoop/cache/nodejs#17.8.0#https_nodejs.org_dist_v17.8.0_node-v17.8.0-win-x64.7z
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://nodejs.org/dist/v17.8.0/node-v17.8.0-win-x64.7z
referer=https://nodejs.org/dist/v17.8.0/
dir=C:\Users\l1349\scoop\cache
out=nodejs#17.8.0#https_nodejs.org_dist_v17.8.0_node-v17.8.0-win-x64.7z
ERROR & 'C:\Users\l1349\scoop\apps\aria2\current\aria2c.exe' --input-file='C:\Users\l1349\scoop\cache\nodejs.txt' --user-agent='Scoop/1.0 (+http://scoop.sh/) PowerShell/7.2 (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=24604 --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=nodejs%4017.8.0%3a+download+via+aria2+failed
Possible Solution

Give possibility to remove built-in config and do not affect scoop update
Especially --no-conf=true!
System details
**Windows version:11
**OS architecture:64bit
**PowerShell version:7.2.2
Additional software: [(optional) e.g. ConEmu, Git]
Scoop Configuration
{
"lastupdate": "2022-04-05T11:51:15.4672299+03:00",
"aria2-warning-enabled": false,
"SCOOP_REPO": "https://github.com/ScoopInstaller/Scoop",
"SCOOP_BRANCH": "master",
"aria2-options": "--conf-path 'C:\\Users\\l1349\\OneDrive - Tsinghua University\\Softwares\\Program Files\\aria2\\Profiles\\aria2-base.ini'"
}
even without aria2-options, this problem still exists! I have already upload error messages with/without aria2-ooptions
Bug Report
Current Behavior
failed download apps with SO MUCH built-in config.
Expected Behavior
Download Successfully
Additional context/output
Especially, why built in
--no-conf=true? it caused most of the failureThe problem it not caused by my
--conf-pathoptionPossible Solution
Give possibility to remove built-in config and do not affect
scoop updateEspecially
--no-conf=true!System details
**Windows version:11
**OS architecture:64bit
**PowerShell version:7.2.2
Additional software: [(optional) e.g. ConEmu, Git]
Scoop Configuration
{ "lastupdate": "2022-04-05T11:51:15.4672299+03:00", "aria2-warning-enabled": false, "SCOOP_REPO": "https://github.com/ScoopInstaller/Scoop", "SCOOP_BRANCH": "master", "aria2-options": "--conf-path 'C:\\Users\\l1349\\OneDrive - Tsinghua University\\Softwares\\Program Files\\aria2\\Profiles\\aria2-base.ini'" }even without
aria2-options, this problem still exists! I have already upload error messages with/withoutaria2-ooptions