8000 why can't I download file · Issue #781 · aria2/aria2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

why can't I download file #781

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
ghost opened this issue Nov 23, 2016 · 18 comments
Closed

why can't I download file #781

ghost opened this issue Nov 23, 2016 · 18 comments
Labels

Comments

@ghost
Copy link
ghost commented Nov 23, 2016

Normally, inside linux, i downloaded this file using syntax, wget https://codeload.github.com/lancethepants/tomatoware/zip/master
Q#: why Aria2 is having issue downloading it ?

@tatsuhiro-t
Copy link
Collaborator

It works for me. What kind of error did you get?

@ghost
Copy link
Author
ghost commented Nov 23, 2016

well, no error in gui, File that should be download is master,zip file with filesize of 575,836KB.

@ghost
Copy link
Author
ghost commented Nov 23, 2016

Go to site: https://github.com/lancethepants/tomatoware and click "clone or download"

@ghost
Copy link
Author
ghost commented Nov 23, 2016

I think file downloaded was not even written.

@ghost
Copy link
Author
ghost commented Nov 23, 2016

I use this aria2 server, https://github.com/ziahamza/webui-aria2

@ghost
Copy link
Author
ghost commented Nov 23, 2016

anyway, i do it manually, wget https://codeload.github.com/lancethepants/tomatoware/zip/master

@ghost
Copy link
Author
ghost commented Nov 23, 2016

Error I got from terminal:
/media/myssd/aria2_downloads/test # aria2c https://codeload.github.com/lancethep
ants/tomatoware/zip/master

11/23 22:58:49 [NOTICE] Downloading 1 item(s)
[#07403f 0B/0B CN:1 DL:0B]
11/23 22:58:51 [ERROR] CUID#7 - Download aborted. URI=https://codeload.github.com/lancethepants/tomatoware/zip/master
Exception: [AbstractCommand.cc:351] errorCode=1 URI=https://codeload.github.com/lancethepants/tomatoware/zip/master
-> [SocketCore.cc:1015] errorCode=1 SSL/TLS handshake failure: unable to get local issuer certificate

11/23 22:58:51 [NOTICE] Download GID#07403f4c95468029 not complete:

Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
07403f|ERR | 0B/s|https://codeload.github.com/lancethepants/tomatoware/zip/master

Status Legend:
(ERR):error occurred.

@tatsuhiro-t
Copy link
Collaborator

The error means that aria2 could not verify server's certificate.
Are you using aria2 on Linux? If so, try --ca-certificate /etc/ssl/certs/ca-certificates.crt

@ghost
Copy link
Author
ghost commented Nov 23, 2016

im running it from router using static binary compiled, source taken from https://github.com/lancethepants/aria2-mipsel-static
with aria2 server taken from https://github.com/ziahamza/webui-aria2

test run:
/media/myssd/aria2_downloads/test # aria2c https://codeload.github.com/lancethep
ants/tomatoware/zip/master -ca-certificate /etc/ssl/certs/ca-certificates.crt
Exception: [AbstractOptionHandler.cc:69] errorCode=28 We encountered a problem while processing the option '--continue'.
-> [OptionHandlerImpl.cc:95] errorCode=1 continue must be either 'true' or 'false'.
Usage:
-c, --continue[=true|false] Continue downloading a partially downloaded
file. Use this option to resume a download
started by a web browser or another program
which downloads files sequentially from the
beginning. Currently this option is only
applicable to http(s)/ftp downloads.

                          Possible Values: true, false
                          Default: false
                          Tags: #basic, #http, #ftp

/media/myssd/aria2_downloads/test #

@ghost
Copy link
Author
ghost commented Nov 23, 2016

my router dont have the certificate folder, only have 1 file /etc/ssl/openssl.cnf

@ghost
Copy link
Author
ghost commented Nov 23, 2016

curious, wget works w/out any certification supplied

@tatsuhiro-t
Copy link
Collaborator

--ca-certificate, not -ca-certificate

@ghost
Copy link
Author
ghost commented Nov 23, 2016

still error, i dont have certificate
/media/myssd/aria2_downloads/test # aria2c https://codeload.github.com/lancethep
ants/tomatoware/zip/master --ca-certificate /etc/ssl/certs/ca-certificates.crt

11/23 23:34:51 [NOTICE] Downloading 1 item(s)

11/23 23:34:51 [ERROR] Failed to load trusted CA certificates from /etc/ssl/cert s/ca-certificates.crt. Cause: error:02001002:system library:fopen:No such file o r directory
[#fda40c 0B/0B CN:1 DL:0B]
11/23 23:34:52 [ERROR] CUID#7 - Download aborted. URI=https://codeload.github.co m/lancethepants/tomatoware/zip/master
Exception: [AbstractCommand.cc:351] errorCode=1 URI=https://codeload.github.com/ lancethepants/tomatoware/zip/master
-> [SocketCore.cc:1015] errorCode=1 SSL/TLS handshake failure: unable to get l ocal issuer certificate

11/23 23:34:52 [NOTICE] Download GID#fda40c43ebecac65 not complete:

Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
fda40c|ERR | 0B/s|https://codeload.github.com/lancethepants/tomatoware/zip /master

Status Legend:
(ERR):error occurred.

aria2 will resume download if the transfer is restarted.
If there are any errors, then see the log file. See '-l' option in help/man page for details.
/media/myssd/aria2_downloads/test #772

@ghost
Copy link
Author
ghost commented Nov 23, 2016

how about adding option similar to wget, "--no-check-certificate" ?

/media/myssd/aria2_downloads/test # aria2c https://codeload.github.com/lancethep
ants/tomatoware/zip/master --no-check-certificate
aria2c: unrecognized option `--no-check-certificate'
Usage: aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE | METALINK_FILE]...
See 'aria2c -h'.

Did you mean:
--check-certificate
/media/myssd/aria2_downloads/test #

@tatsuhiro-t
Copy link
Collaborator

Looks like your system does not have the file.

h 8000 ow about adding option similar to wget, "--no-check-certificate" ?

aria2 already has one: --check-certificate=false

But this is a last resort, since this is insecure. Perhaps, it would be better to ask router OS (openwrt?) developer or community that where the CA certificate file is.

@tatsuhiro-t
Copy link
Collaborator

Well, aria2 help system actually suggested the option...

@ghost
Copy link
Author
ghost commented Nov 23, 2016

--check-certificate=false working. Thanks.

@ghost
Copy link
Author
ghost commented Nov 23, 2016

kindly close issue ....

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

No branches or pull requests

1 participant
0