SSL证书有问题 Exception: [SocketCore.cc:1018] errorCode=1 SSL/TLS handshake failure: protocol error #20

Open
opened 2022-06-02 21:56:08 +02:00 by Tmalll · 2 comments
Tmalll commented 2022-06-02 21:56:08 +02:00 (Migrated from github.com)

root@debian11:~# aria2c -x 32 -s 32 -k 512k 'https://mirror.sin11.sg.leaseweb.net/speedtest/1000mb.bin' -d /dev -o null --allow-overwrite=true --file-allocation=none --check-certificate=false --ca-certificate=/etc/ssl/certs/ca-certificates.crt

06/03 03:55:53 [NOTICE] Downloading 1 item(s)
[#a7956c 0B/0B CN:1 DL:0B]
06/03 03:55:55 [ERROR] CUID#7 - Download aborted. URI=https://mirror.sin11.sg.leaseweb.net/speedtest/1000mb.bin
Exception: [SocketCore.cc:1018] errorCode=1 SSL/TLS handshake failure: protocol error

06/03 03:55:55 [NOTICE] Download GID#a7956c0d208f3183 not complete: /dev/null

Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
a7956c|ERR | 0B/s|/dev/null

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.
root@debian11:~#

root@debian11:~# aria2c -x 32 -s 32 -k 512k 'https://mirror.sin11.sg.leaseweb.net/speedtest/1000mb.bin' -d /dev -o null --allow-overwrite=true --file-allocation=none --check-certificate=false --ca-certificate=/etc/ssl/certs/ca-certificates.crt 06/03 03:55:53 [NOTICE] Downloading 1 item(s) [#a7956c 0B/0B CN:1 DL:0B] 06/03 03:55:55 [ERROR] CUID#7 - Download aborted. URI=https://mirror.sin11.sg.leaseweb.net/speedtest/1000mb.bin **Exception: [SocketCore.cc:1018] errorCode=1 SSL/TLS handshake failure: protocol error** 06/03 03:55:55 [NOTICE] Download GID#a7956c0d208f3183 not complete: /dev/null Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= a7956c|ERR | 0B/s|/dev/null 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. root@debian11:~#
Tmalll commented 2022-06-02 22:12:16 +02:00 (Migrated from github.com)

刚试了一下 apt-get install -y aria2 安装的没有出现这个问题...

刚试了一下 apt-get install -y aria2 安装的没有出现这个问题...
MiaM1ku commented 2023-01-14 03:47:43 +01:00 (Migrated from github.com)

check-certificate=false, set it in .config file.

check-certificate=false, set it in .config file.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Division/Aria2-Pro-Core#20
No description provided.