在 ubuntu 22.04 下使用 aria2c 配置代理后无法下载,提示 SSL 错误。不配置代理可正常下载。 网上查询结果是由于编译好的 aria2c 使用 GNUTLS 版本过低造成的。 尝试升级 GNUTLS 和 手动编译 aria2c 并且设置使用 OpenSSL 两种方式,错误仍然存在,配置代理后无法下载。
测试能否正常下载采用下载 Baidu 、Google html 网页方式,具体命令和报错、log 信息如下。
# aria2c 命令
aria2c --all-proxy="http://127.0.0.1:7890" --log debug.log --log-level=debug -o G.html "https://www.google.com"
# 终端报错信息
12/21 17:04:49 [NOTICE] Downloading 1 item(s)
[#1cb5ff 0B/0B CN:1 DL:0B]
12/21 17:04:54 [ERROR] CUID#7 - Download aborted. URI=https://www.google.com
Exception: [AbstractCommand.cc:351] errorCode=1 URI=https://www.google.com
-> [SocketCore.cc:1018] errorCode=1 SSL/TLS handshake failure: Error in the pull function.
12/21 17:04:54 [NOTICE] Download GID#1cb5ff9c36b4a900 not complete: /home/yl/Downloads/aria2-release-1.37.0/G.html
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
1cb5ff|ERR | 0B/s|/home/yl/Downloads/aria2-release-1.37.0/G.html
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.
# debug log
2023-12-21 17:04:49.469942 [INFO] [Context.cc:179] <<--- --- --- ---
2023-12-21 17:04:49.470019 [INFO] [Context.cc:180] --- --- --- ---
2023-12-21 17:04:49.470026 [INFO] [Context.cc:181] --- --- --- --->>
2023-12-21 17:04:49.470032 [INFO] [Context.cc:182] aria2 1.36.0
2023-12-21 17:04:49.470042 [INFO] [Context.cc:183] gcc 11.2.0
built by x86_64-pc-linux-gnu
on Aug 21 2021 15:26:28
2023-12-21 17:04:49.470052 [INFO] [Context.cc:184] Linux 6.2.0-39-generic #40~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 16 10:53:04 UTC 2 x86_64
2023-12-21 17:04:49.470058 [INFO] [Context.cc:185] zlib/1.2.11 libxml2/2.9.12 sqlite3/3.36.0 GnuTLS/3.7.1 nettle GMP/6.2.1 c-ares/1.17.1 libssh2/1.10.0
2023-12-21 17:04:49.470065 [INFO] [Context.cc:186] Logging started.
2023-12-21 17:04:49.470074 [DEBUG] [Context.cc:215] Not setting rlimit NO_FILE: 1024 >= 1024
2023-12-21 17:04:49.470080 [INFO] [SocketCore.cc:1659] Checking configured addresses
2023-12-21 17:04:49.470245 [INFO] [SocketCore.cc:1710] Not considered: 127.0.0.1
2023-12-21 17:04:49.470256 [INFO] [SocketCore.cc:1707] Found configured address: 192.168.8.51
2023-12-21 17:04:49.470262 [INFO] [SocketCore.cc:1707] Found configured address: 172.17.0.1
2023-12-21 17:04:49.470269 [INFO] [SocketCore.cc:1710] Not considered: ::1
2023-12-21 17:04:49.470276 [INFO] [SocketCore.cc:1707] Found configured address: 2408:841b:0:5cb0:22b2:b1ea:f751:2
2023-12-21 17:04:49.470282 [INFO] [SocketCore.cc:1707] Found configured address: fd22:b2b1:eaf7:5100:400c:fb81:6d33:bafc
2023-12-21 17:04:49.470288 [INFO] [SocketCore.cc:1707] Found configured address: fd22:b2b1:eaf7:5100:5f77:408:e306:82ba
2023-12-21 17:04:49.470295 [INFO] [SocketCore.cc:1707] Found configured address: 2408:841b:0:5cb0:e816:6282:6f67:b7c7
2023-12-21 17:04:49.470301 [INFO] [SocketCore.cc:1707] Found configured address: 2408:841b:0:5cb0:2c01:bf55:3281:d30a
2023-12-21 17:04:49.470328 [INFO] [SocketCore.cc:1710] Not considered: fe80::4890:ab17:c0a8:3223%wlp58s0
2023-12-21 17:04:49.470334 [INFO] [SocketCore.cc:1714] IPv4 configured=1, IPv6 configured=1
2023-12-21 17:04:49.470380 [NOTICE] [Context.cc:310] Downloading 1 item(s)
2023-12-21 17:04:49.480527 [DEBUG] [Platform.cc:87] GnuTLS: <3> ASSERT: ../../../lib/x509/dn.c[_gnutls_x509_compare_raw_dn]:1025
2023-12-21 17:04:49.481922 [DEBUG] [Platform.cc:87] GnuTLS: <3> ASSERT: ../../../lib/x509/dn.c[_gnutls_x509_compare_raw_dn]:1025
2023-12-21 17:04:49.482525 [DEBUG] [Platform.cc:87] GnuTLS: <3> ASSERT: ../../../lib/x509/dn.c[_gnutls_x509_compare_raw_dn]:1025
2023-12-21 17:04:49.482825 [INFO] [LibgnutlsTLSContext.cc:158] 137 certificate(s) were imported.
2023-12-21 17:04:49.482859 [DEBUG] [RequestGroupMan.cc:591] 1 RequestGroup(s) added.
2023-12-21 17:04:49.482876 [DEBUG] [AbstractCommand.cc:181] CUID#7 - socket: read:0, write:0, hup:0, err:0
2023-12-21 17:04:49.482887 [DEBUG] [FeedbackURISelector.cc:162] Selected from normCands
2023-12-21 17:04:49.482892 [DEBUG] [FeedbackURISelector.cc:84] FeedbackURISelector selected https://www.google.com
2023-12-21 17:04:49.482905 [DEBUG] [AbstractCommand.cc:181] CUID#7 - socket: read:0, write:0, hup:0, err:0
2023-12-21 17:04:49.482914 [DEBUG] [AbstractCommand.cc:748] CUID#7 - Using proxy
2023-12-21 17:04:49.482923 [INFO] [HttpInitiateConnectionCommand.cc:83] CUID#7 - Connecting to 127.0.0.1:7890
2023-12-21 17:04:49.483231 [DEBUG] [AbstractCommand.cc:181] CUID#7 - socket: read:0, write:1, hup:0, err:0
2023-12-21 17:04:49.483261 [DEBUG] [AbstractCommand.cc:181] CUID#7 - socket: read:0, write:1, hup:0, err:0
2023-12-21 17:04:49.483277 [INFO] [HttpConnection.cc:128] CUID#7 - Requesting:
CONNECT www.google.com:443 HTTP/1.1
User-Agent: aria2/1.36.0
Host: www.google.com:443
2023-12-21 17:04:49.483411 [DEBUG] [AbstractCommand.cc:181] CUID#7 - socket: read:1, write:0, hup:0, err:0
2023-12-21 17:04:49.483441 [INFO] [HttpConnection.cc:163] CUID#7 - Response received:
HTTP/1.1 200 Connection established
2023-12-21 17:04:49.483467 [DEBUG] [AbstractCommand.cc:181] CUID#7 - socket: read:0, write:1, hup:0, err:0
2023-12-21 17:04:49.483476 [DEBUG] [SocketCore.cc:926] Creating TLS session
2023-12-21 17:04:49.483503 [DEBUG] [Platform.cc:87] GnuTLS: <5> REC[0x55cd36841ba0]: Allocating epoch #0
2023-12-21 17:04:49.483563 [DEBUG] [Platform.cc:87] GnuTLS: <2> added 4 protocols, 29 ciphersuites, 18 sig algos and 10 groups into priority list
2023-12-21 17:04:49.483572 [DEBUG] [SocketCore.cc:946] TLS Handshaking
2023-12-21 17:04:49.483577 [DEBUG] [Platform.cc:87] GnuTLS: <5> REC[0x55cd36841ba0]: Allocating epoch #1
2023-12-21 17:04:49.483587 [DEBUG] [Platform.cc:87] GnuTLS: <4> HSK[0x55cd36841ba0]: Adv. version: 3.3
2023-12-21 17:04:49.483604 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite 13.02 (GNUTLS_AES_256_GCM_SHA384)
2023-12-21 17:04:49.483609 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite 13.03 (GNUTLS_CHACHA20_POLY1305_SHA256)
2023-12-21 17:04:49.483613 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite 13.01 (GNUTLS_AES_128_GCM_SHA256)
2023-12-21 17:04:49.483617 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite 13.04 (GNUTLS_AES_128_CCM_SHA256)
2023-12-21 17:04:49.483621 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite c0.2c (GNUTLS_ECDHE_ECDSA_AES_256_GCM_SHA384)
2023-12-21 17:04:49.483626 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite cc.a9 (GNUTLS_ECDHE_ECDSA_CHACHA20_POLY1305)
2023-12-21 17:04:49.483630 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite c0.0a (GNUTLS_ECDHE_ECDSA_AES_256_CBC_SHA1)
2023-12-21 17:04:49.483634 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite c0.ad (GNUTLS_ECDHE_ECDSA_AES_256_CCM)
2023-12-21 17:04:49.483638 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite c0.2b (GNUTLS_ECDHE_ECDSA_AES_128_GCM_SHA256)
2023-12-21 17:04:49.483642 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite c0.09 (GNUTLS_ECDHE_ECDSA_AES_128_CBC_SHA1)
2023-12-21 17:04:49.483646 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite c0.ac (GNUTLS_ECDHE_ECDSA_AES_128_CCM)
2023-12-21 17:04:49.483654 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite c0.30 (GNUTLS_ECDHE_RSA_AES_256_GCM_SHA384)
2023-12-21 17:04:49.483662 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite cc.a8 (GNUTLS_ECDHE_RSA_CHACHA20_POLY1305)
2023-12-21 17:04:49.483669 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite c0.14 (GNUTLS_ECDHE_RSA_AES_256_CBC_SHA1)
2023-12-21 17:04:49.483675 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite c0.2f (GNUTLS_ECDHE_RSA_AES_128_GCM_SHA256)
2023-12-21 17:04:49.483681 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite c0.13 (GNUTLS_ECDHE_RSA_AES_128_CBC_SHA1)
2023-12-21 17:04:49.483687 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite 00.9d (GNUTLS_RSA_AES_256_GCM_SHA384)
2023-12-21 17:04:49.483693 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite 00.35 (GNUTLS_RSA_AES_256_CBC_SHA1)
2023-12-21 17:04:49.483699 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite c0.9d (GNUTLS_RSA_AES_256_CCM)
2023-12-21 17:04:49.483705 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite 00.9c (GNUTLS_RSA_AES_128_GCM_SHA256)
2023-12-21 17:04:49.483711 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite 00.2f (GNUTLS_RSA_AES_128_CBC_SHA1)
2023-12-21 17:04:49.483717 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite c0.9c (GNUTLS_RSA_AES_128_CCM)
2023-12-21 17:04:49.483723 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite 00.9f (GNUTLS_DHE_RSA_AES_256_GCM_SHA384)
2023-12-21 17:04:49.483731 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite cc.aa (GNUTLS_DHE_RSA_CHACHA20_POLY1305)
2023-12-21 17:04:49.483739 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite 00.39 (GNUTLS_DHE_RSA_AES_256_CBC_SHA1)
2023-12-21 17:04:49.483746 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite c0.9f (GNUTLS_DHE_RSA_AES_256_CCM)
2023-12-21 17:04:49.483752 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite 00.9e (GNUTLS_DHE_RSA_AES_128_GCM_SHA256)
2023-12-21 17:04:49.483758 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite 00.33 (GNUTLS_DHE_RSA_AES_128_CBC_SHA1)
2023-12-21 17:04:49.483764 [DEBUG] [Platform.cc:87] GnuTLS: <2> Keeping ciphersuite c0.9e (GNUTLS_DHE_RSA_AES_128_CCM)
2023-12-21 17:04:49.483788 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (OCSP Status Request/5) for 'client hello'
2023-12-21 17:04:49.483796 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sending extension OCSP Status Request/5 (5 bytes)
2023-12-21 17:04:49.483803 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (Client Certificate Type/19) for 'client hello'
2023-12-21 17:04:49.483820 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (Server Certificate Type/20) for 'client hello'
2023-12-21 17:04:49.483828 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (Supported Groups/10) for 'client hello'
2023-12-21 17:04:49.483834 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sent group SECP256R1 (0x17)
2023-12-21 17:04:49.483840 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sent group SECP384R1 (0x18)
2023-12-21 17:04:49.483846 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sent group SECP521R1 (0x19)
2023-12-21 17:04:49.483852 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sent group X25519 (0x1d)
2023-12-21 17:04:49.483859 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sent group X448 (0x1e)
2023-12-21 17:04:49.483865 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sent group FFDHE2048 (0x100)
2023-12-21 17:04:49.483871 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sent group FFDHE3072 (0x101)
2023-12-21 17:04:49.483877 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sent group FFDHE4096 (0x102)
2023-12-21 17:04:49.483883 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sent group FFDHE6144 (0x103)
2023-12-21 17:04:49.483889 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sent group FFDHE8192 (0x104)
2023-12-21 17:04:49.483895 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sending extension Supported Groups/10 (22 bytes)
2023-12-21 17:04:49.483901 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (Supported EC Point Formats/11) for 'client hello'
2023-12-21 17:04:49.483908 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sending extension Supported EC Point Formats/11 (2 bytes)
2023-12-21 17:04:49.483914 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (SRP/12) for 'client hello'
2023-12-21 17:04:49.483931 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (Signature Algorithms/13) for 'client hello'
2023-12-21 17:04:49.483940 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: sent signature algo (4.1) RSA-SHA256
2023-12-21 17:04:49.483946 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: sent signature algo (8.9) RSA-PSS-SHA256
2023-12-21 17:04:49.483953 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: sent signature algo (8.4) RSA-PSS-RSAE-SHA256
2023-12-21 17:04:49.483959 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: sent signature algo (4.3) ECDSA-SHA256
2023-12-21 17:04:49.483965 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: sent signature algo (8.7) EdDSA-Ed25519
2023-12-21 17:04:49.483971 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: sent signature algo (5.1) RSA-SHA384
2023-12-21 17:04:49.483977 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: sent signature algo (8.10) RSA-PSS-SHA384
2023-12-21 17:04:49.483984 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: sent signature algo (8.5) RSA-PSS-RSAE-SHA384
2023-12-21 17:04:49.483990 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: sent signature algo (5.3) ECDSA-SHA384
2023-12-21 17:04:49.483996 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: sent signature algo (8.8) EdDSA-Ed448
2023-12-21 17:04:49.484002 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: sent signature algo (6.1) RSA-SHA512
2023-12-21 17:04:49.484008 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: sent signature algo (8.11) RSA-PSS-SHA512
2023-12-21 17:04:49.484018 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: sent signature algo (8.6) RSA-PSS-RSAE-SHA512
2023-12-21 17:04:49.484024 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: sent signature algo (6.3) ECDSA-SHA512
2023-12-21 17:04:49.484034 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: sent signature algo (2.1) RSA-SHA1
2023-12-21 17:04:49.484041 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sending extension Signature Algorithms/13 (32 bytes)
2023-12-21 17:04:49.484047 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (SRTP/14) for 'client hello'
2023-12-21 17:04:49.484053 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (Heartbeat/15) for 'client hello'
2023-12-21 17:04:49.484060 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (ALPN/16) for 'client hello'
2023-12-21 17:04:49.484066 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (Encrypt-then-MAC/22) for 'client hello'
2023-12-21 17:04:49.484073 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sending extension Encrypt-then-MAC/22 (0 bytes)
2023-12-21 17:04:49.484079 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (Extended Master Secret/23) for 'client hello'
2023-12-21 17:04:49.484085 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sending extension Extended Master Secret/23 (0 bytes)
2023-12-21 17:04:49.484092 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (Session Ticket/35) for 'client hello'
2023-12-21 17:04:49.484098 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sending extension Session Ticket/35 (0 bytes)
2023-12-21 17:04:49.484104 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (Key Share/51) for 'client hello'
2023-12-21 17:04:49.484111 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: sending key share for SECP256R1
2023-12-21 17:04:49.484279 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: sending key share for X25519
2023-12-21 17:04:49.484379 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sending extension Key Share/51 (107 bytes)
2023-12-21 17:04:49.484386 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (Supported Versions/43) for 'client hello'
2023-12-21 17:04:49.484392 [DEBUG] [Platform.cc:87] GnuTLS: <2> Advertizing version 3.4
2023-12-21 17:04:49.484398 [DEBUG] [Platform.cc:87] GnuTLS: <2> Advertizing version 3.3
2023-12-21 17:04:49.484405 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sending extension Supported Versions/43 (5 bytes)
2023-12-21 17:04:49.484411 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (Post Handshake Auth/49) for 'client hello'
2023-12-21 17:04:49.484418 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (Safe Renegotiation/65281) for 'client hello'
2023-12-21 17:04:49.484424 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sending extension Safe Renegotiation/65281 (1 bytes)
2023-12-21 17:04:49.484431 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (Server Name Indication/0) for 'client hello'
2023-12-21 17:04:49.484437 [DEBUG] [Platform.cc:87] GnuTLS: <2> HSK[0x55cd36841ba0]: sent server name: 'www.google.com'
2023-12-21 17:04:49.484443 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sending extension Server Name Indication/0 (19 bytes)
2023-12-21 17:04:49.484450 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (Cookie/44) for 'client hello'
2023-12-21 17:04:49.484456 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (Early Data/42) for 'client hello'
2023-12-21 17:04:49.484462 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (PSK Key Exchange Modes/45) for 'client hello'
2023-12-21 17:04:49.484469 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sending extension PSK Key Exchange Modes/45 (3 bytes)
2023-12-21 17:04:49.484479 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (Record Size Limit/28) for 'client hello'
2023-12-21 17:04:49.484486 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Sending extension Record Size Limit/28 (2 bytes)
2023-12-21 17:04:49.484492 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (Maximum Record Size/1) for 'client hello'
2023-12-21 17:04:49.484499 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (ClientHello Padding/21) for 'client hello'
2023-12-21 17:04:49.484505 [DEBUG] [Platform.cc:87] GnuTLS: <4> EXT[0x55cd36841ba0]: Preparing extension (Pre Shared Key/41) for 'client hello'
2023-12-21 17:04:49.484513 [DEBUG] [Platform.cc:87] GnuTLS: <4> HSK[0x55cd36841ba0]: CLIENT HELLO was queued [385 bytes]
2023-12-21 17:04:49.484541 [DEBUG] [Platform.cc:87] GnuTLS: <5> REC[0x55cd36841ba0]: Preparing Packet Handshake(22) with length: 385 and min pad: 0
2023-12-21 17:04:49.484549 [DEBUG] [Platform.cc:87] GnuTLS: <5> REC[0x55cd36841ba0]: Sent Packet[1] Handshake(22) in epoch 0 and length: 390
2023-12-21 17:04:49.484578 [DEBUG] [Platform.cc:87] GnuTLS: <3> ASSERT: ../../lib/buffers.c[get_last_packet]:1185
2023-12-21 17:04:49.484593 [DEBUG] [Platform.cc:87] GnuTLS: <3> ASSERT: ../../lib/buffers.c[_gnutls_io_read_buffered]:589
2023-12-21 17:04:50.486042 [DEBUG] [AbstractCommand.cc:181] CUID#7 - socket: read:0, write:0, hup:0, err:0
2023-12-21 17:04:51.487012 [DEBUG] [AbstractCommand.cc:181] CUID#7 - socket: read:0, write:0, hup:0, err:0
2023-12-21 17:04:52.488379 [DEBUG] [AbstractCommand.cc:181] CUID#7 - socket: read:0, write:0, hup:0, err:0
2023-12-21 17:04:53.489713 [DEBUG] [AbstractCommand.cc:181] CUID#7 - socket: read:0, write:0, hup:0, err:0
2023-12-21 17:04:54.490927 [DEBUG] [AbstractCommand.cc:181] CUID#7 - socket: read:0, write:0, hup:0, err:0
2023-12-21 17:04:54.493760 [DEBUG] [AbstractCommand.cc:181] CUID#7 - socket: read:1, write:0, hup:1, err:1
2023-12-21 17:04:54.493809 [DEBUG] [Platform.cc:87] GnuTLS: <3> ASSERT: ../../lib/buffers.c[get_last_packet]:1185
2023-12-21 17:04:54.493843 [DEBUG] [Platform.cc:87] GnuTLS: <3> ASSERT: ../../lib/buffers.c[_gnutls_stream_read]:369
2023-12-21 17:04:54.493861 [DEBUG] [Platform.cc:87] GnuTLS: <3> ASSERT: ../../lib/buffers.c[_gnutls_io_read_buffered]:589
2023-12-21 17:04:54.493878 [DEBUG] [Platform.cc:87] GnuTLS: <3> ASSERT: ../../lib/record.c[recv_headers]:1193
2023-12-21 17:04:54.493892 [DEBUG] [Platform.cc:87] GnuTLS: <3> ASSERT: ../../lib/record.c[_gnutls_recv_in_buffers]:1319
2023-12-21 17:04:54.493909 [DEBUG] [Platform.cc:87] GnuTLS: <3> ASSERT: ../../lib/buffers.c[_gnutls_handshake_io_recv_int]:1467
2023-12-21 17:04:54.493924 [DEBUG] [Platform.cc:87] GnuTLS: <3> ASSERT: ../../lib/handshake.c[_gnutls_recv_handshake]:1598
2023-12-21 17:04:54.493940 [DEBUG] [Platform.cc:87] GnuTLS: <3> ASSERT: ../../lib/handshake.c[handshake_client]:3062
2023-12-21 17:04:54.494308 [ERROR] [AbstractCommand.cc:349] CUID#7 - Download aborted. URI=https://www.google.com
Exception: [AbstractCommand.cc:351] errorCode=1 URI=https://www.google.com
-> [SocketCore.cc:1018] errorCode=1 SSL/TLS handshake failure: Error in the pull function.
2023-12-21 17:04:54.494383 [DEBUG] [AbstractCommand.cc:479] CUID#7 - Aborting download
2023-12-21 17:04:54.494402 [DEBUG] [AbstractCommand.cc:423] CUID#7 - Not trying next request. No reserved/pooled request is remaining and total length is still unknown.
2023-12-21 17:04:54.494436 [DEBUG] [RequestGroup.cc:983] GID#1cb5ff9c36b4a900 - Request queue check
2023-12-21 17:04:54.494452 [DEBUG] [Platform.cc:87] GnuTLS: <3> ASSERT: ../../lib/buffers.c[_gnutls_io_write_flush]:696
2023-12-21 17:04:54.494468 [DEBUG] [Platform.cc:87] GnuTLS: <5> REC: Sending Alert[1|0] - Close notify
2023-12-21 17:04:54.494495 [DEBUG] [Platform.cc:87] GnuTLS: <5> REC[0x55cd36841ba0]: Preparing Packet Alert(21) with length: 2 and min pad: 0
2023-12-21 17:04:54.494518 [DEBUG] [Platform.cc:87] GnuTLS: <2> WRITE: -1 returned from 0x5, errno: 32
2023-12-21 17:04:54.494547 [DEBUG] [Platform.cc:87] GnuTLS: <3> ASSERT: ../../lib/buffers.c[errno_to_gerr]:230
2023-12-21 17:04:54.494558 [DEBUG] [Platform.cc:87] GnuTLS: <3> ASSERT: ../../lib/buffers.c[_gnutls_io_write_flush]:722
2023-12-21 17:04:54.494569 [DEBUG] [Platform.cc:87] GnuTLS: <3> ASSERT: ../../lib/record.c[_gnutls_send_tlen_int]:598
2023-12-21 17:04:54.494580 [DEBUG] [Platform.cc:87] GnuTLS: <3> ASSERT: ../../lib/record.c[gnutls_bye]:305
2023-12-21 17:04:54.494612 [DEBUG] [Platform.cc:87] GnuTLS: <5> REC[0x55cd36841ba0]: Start of epoch cleanup
2023-12-21 17:04:54.494623 [DEBUG] [Platform.cc:87] GnuTLS: <5> REC[0x55cd36841ba0]: End of epoch cleanup
2023-12-21 17:04:54.494636 [DEBUG] [Platform.cc:87] GnuTLS: <5> REC[0x55cd36841ba0]: Epoch #0 freed
2023-12-21 17:04:54.494647 [DEBUG] [Platform.cc:87] GnuTLS: <5> REC[0x55cd36841ba0]: Epoch #1 freed
2023-12-21 17:04:54.494698 [NOTICE] [RequestGroupMan.cc:424] Download GID#1cb5ff9c36b4a900 not complete: /home/yl/Downloads/aria2-release-1.37.0/G.html
2023-12-21 17:04:54.494802 [DEBUG] [RequestGroup.cc:1173] GID#1cb5ff9c36b4a900 - Creating DownloadResult.
2023-12-21 17:04:54.494852 [DEBUG] [RequestGroupMan.cc:481] 1 RequestGroup(s) deleted.