Skip to content

[email protected]: download via aria2 failed #5570

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

Closed
evalexp opened this issue Mar 4, 2024 · 4 comments
Closed

[email protected]: download via aria2 failed #5570

evalexp opened this issue Mar 4, 2024 · 4 comments

Comments

@evalexp
Copy link

evalexp commented Mar 4, 2024

Aria2 Output:

ERROR Download failed! (Error 3) Resource was not found
ERROR https://nuwen.net/files/mingw/components-18.0.7z
    referer=https://nuwen.net/files/mingw/
    dir=D:\\Scoop\\Applications\cache
    out=sort-uniq-wc#9.0#https_nuwen.net_files_mingw_components-18.0.7z

ERROR & 'D:\\Scoop\\Applications\apps\aria2\current\aria2c.exe' --input-file='D:\\Scoop\\Applications\cache\sort-uniq-wc.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=6656 --continue --summary-interval=0 --auto-save-interval=1 --check-certificate=false

I try to download it myself, but failed, and here's my terminal output:

# curl.exe -vk -O https://nuwen.net/files/mingw/components-18.0.7z
* Uses proxy env variable https_proxy == 'http://127.0.0.1:46251'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 127.0.0.1:46251...
* Connected to 127.0.0.1 (127.0.0.1) port 46251
* CONNECT tunnel: HTTP/1.1 negotiated
* allocate connect buffer
* Establish HTTP proxy tunnel to nuwen.net:443
> CONNECT nuwen.net:443 HTTP/1.1
> Host: nuwen.net:443
> User-Agent: curl/8.4.0
> Proxy-Connection: Keep-Alive
>
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0< HTTP/1.1 200 Connection established
<
* CONNECT phase completed
* CONNECT tunnel established, response 200
* schannel: disabled automatic use of client certificate
* ALPN: curl offers http/1.1
  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0* ALPN: server accepted http/1.1
* using HTTP/1.1
> GET /files/mingw/components-18.0.7z HTTP/1.1
> Host: nuwen.net
> User-Agent: curl/8.4.0
> Accept: */*
>
* schannel: remote party requests renegotiation
* schannel: renegotiating SSL/TLS connection
* schannel: SSL/TLS connection renegotiated
* schannel: remote party requests renegotiation
* schannel: renegotiating SSL/TLS connection
* schannel: SSL/TLS connection renegotiated
< HTTP/1.1 404 Not Found
< Date: Mon, 04 Mar 2024 03:34:43 GMT
< Server: Apache
< Content-Length: 196
< Content-Type: text/html; charset=iso-8859-1
<
{ [196 bytes data]
100   196  100   196    0     0     34      0  0:00:05  0:00:05 --:--:--    42
* Connection #0 to host 127.0.0.1 left intact
* 

# cat .\components-18.0.7z
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
</body></html>

As you can see, components-18.0.7z is not found on the server.

Copy link
Contributor

github-actions bot commented Mar 4, 2024

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)

@github-actions github-actions bot closed this as completed Mar 4, 2024
@evalexp
Copy link
Author

evalexp commented Mar 4, 2024

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)

NO, it can't.

Please see:

image

@IsaacShoebottom
Copy link

Also having this issue, please reopen

@ktaragorn
Copy link

This error is faced natively, unrelated to aria2

> scoop install main/sort-uniq-wc
WARN  Purging previous failed installation of sort-uniq-wc.
ERROR 'sort-uniq-wc' isn't installed correctly.
Removing older version (9.0).
'sort-uniq-wc' was uninstalled.
Installing 'sort-uniq-wc' (9.0) [64bit] from 'main' bucket
The remote server returned an error: (404) Not Found.
URL https://nuwen.net/files/mingw/components-18.0.7z is not valid

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

3 participants