Closed sci-42ver closed 2 years ago
I tested websocket(safe)
on http://ariang.mayswind.net/latest/#!/settings/ariang
the following log pasted from
vim
withset nu
in themintty
( my PC always stutter when
vscode
open the a little big log ) so it may has^M
at the end.
aria info log
33 Exception: [SocketCore.cc:1018] errorCode=1 SSL/TLS handshake failure: Error: The client and server cannot communicate, because they do not possess a co mmon algorithm.^M
34 (80090331)
35 2022-01-09 01:39:53.990614 [INFO] [HttpListenCommand.cc:77] RPC: Accepted the connection from 127.0.0.1:7003.
36 2022-01-09 01:39:54.181758 [INFO] [HttpListenCommand.cc:77] RPC: Accepted the connection from 127.0.0.1:7010.
37 2022-01-09 01:39:54.197769 [INFO] [HttpServerCommand.cc:272] CUID#12 - Error occurred while reading HTTP request
38 Exception: [SocketCore.cc:1018] errorCode=1 SSL/TLS handshake failure: Error: An unknown error occurred while processing the certificate.^M
39 (80090327)
tls
connected 40 2022-01-09 01:39:54.208798 [INFO] [HttpListenCommand.cc:77] RPC: Accepted the connection from 127.0.0.1:7011.
41 2022-01-09 01:39:54.227797 [INFO] [WinTLSSession.cc:788] WinTLS: connected with: TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
42 2022-01-09 01:39:54.227797 [INFO] [HttpServer.cc:186] HTTP Server received request
43 GET /jsonrpc HTTP/1.1^M
44 Host: 127.0.0.1:9600^M
45 Connection: Upgrade^M
46 Pragma: no-cache^M
47 Cache-Control: no-cache^M
48 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.137 Safari/537.36^M
49 Upgrade: websocket^M
50 Origin: http://ariang.mayswind.net^M
51 Sec-WebSocket-Version: 13^M
52 Accept-Encoding: gzip, deflate, br^M
53 Accept-Language: zh-CN,zh;q=0.9,und;q=0.8,zh-Hans;q=0.7,en;q=0.6^M
54 Sec-WebSocket-Key: dwUtlLV+ImrawlmOOTe8TA==^M
55 Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits^M
58 2022-01-09 01:39:54.228797 [INFO] [AbstractHttpServerResponseCommand.cc:117] CUID#13 - HttpServer: all response transmitted.
59 2022-01-09 01:39:54.233797 [INFO] [rpc_helper.cc:103] Executing RPC method aria2.tellActive
60 2022-01-09 01:39:54.233797 [INFO] [rpc_helper.cc:103] Executing RPC method aria2.getGlobalStat
DHT
& LPD
150 2022-01-09 01:40:05.973672 [INFO] [rpc_helper.cc:103] Executing RPC method aria2.getGlobalOption
151 2022-01-09 01:40:06.638609 [INFO] [rpc_helper.cc:103] Executing RPC method aria2.getGlobalStat
152 2022-01-09 01:40:07.533284 [INFO] [rpc_helper.cc:103] Executing RPC method aria2.addTorrent
153 2022-01-09 01:40:07.542283 [INFO] [RpcMethodImpl.cc:301] Uploaded torrent data was saved as D:/aria_config/073750871ebfc4615e3dfb160a360e9282e62cfa.torrent
after deleting dht
& .aria2
websocket still work but it is based on bittorrent
and dht
;it needs some time to build the DHT routing table
Hyper-V Virtual Ethernet Adapter
byidentifying the IP address .
[LpdMessageReceiver.cc:119] LPD message received infohash=b26c81363ac1a236765385a 702aec107a49581b5, port=51413 from 172.23.240.1
200 2022-01-09 02:09:31.509988 [INFO] [AsyncNameResolverMan.cc:82] CUID#38 - Resolving hostname torrent.ubuntu.com
201 2022-01-09 02:09:31.516978 [INFO] [AbstractCommand.cc:816] CUID#38 - Name resolution complete: torrent.ubuntu.com - > 91.189.95.21
202 2022-01-09 02:09:31.516978 [INFO] [HttpInitiateConnectionCommand.cc:123] CUID#38 - Connecting to 91.189.95.21:443
1005 2022-01-09 02:13:47.001420 [INFO] [DownloadCommand.cc:242] CUID#38 - The download for one segment completed success fully.
1006 2022-01-09 02:13:47.001420 [INFO] [DefaultPieceStorage.cc:483] The download was complete.
1007 2022-01-09 02:13:47.001420 [INFO] [DownloadEngine.cc:315] Pool socket for 91.189.95.21(443)
1008 2022-01-09 02:13:47.001420 [INFO] [DefaultBtAnnounce.cc:353] No peers6 received.
1009 2022-01-09 02:13:47.001420 [INFO] [PeerInitiateConnectionCommand.cc:77] CUID#41 - Connecting to 172.23.240.1:51413
1056 2022-01-09 02:13:48.059740 [INFO] [SimpleBtMessage.cc:56] CUID#41 - To: 172.23.240.1:51413 handshake peerId=-czg-1- 1-%18y%D8_%FBE%22%5B%87%BC%12, reserved=0000000000100004
1057 2022-01-09 02:13:48.059740 [INFO] [SimpleBtMessage.cc:56] CUID#168 - To: 172.23.240.1:8875 handshake peerId=-czg-1- 1-%18y%D8_%FBE%22%5B%87%BC%12, reserved=0000000000100005
Pool socket
and peers6
I really want know what the two terms mean ? 🧐
[DownloadEngine.cc:315] Pool socket for 91.189.95.21(443)
1085 2022-01-09 02:13:48.672884 [INFO] [DefaultBtAnnounce.cc:353] No peers6 received.
Found socket
may be indicating websocket
is working in
https
no this log info
[DownloadEngine.cc:449] Found socket for 91.189.95.21(443)
I found both https
and wws
have
33 Exception: [SocketCore.cc:1018] errorCode=1 SSL/TLS handshake failure: Error: The client and server cannot commun icate, because they do not possess a common algorithm.^M
34 (80090331)
35 2022-01-09 02:50:31.865686 [INFO] [HttpListenCommand.cc:77] RPC: Accepted the connection from 127.0.0.1:8610.
36 2022-01-09 02:50:31.875715 [INFO] [HttpServerCommand.cc:272] CUID#11 - Error occurred while reading HTTP request
37 Exception: [SocketCore.cc:1018] errorCode=1 SSL/TLS handshake failure: Error: An unknown error occurred while processing the certificate.^M
38 (80090327)
39 2022-01-09 02:50:31.875715 [INFO] [HttpListenCommand.cc:77] RPC: Accepted the connection from 127.0.0.1:8612.
40 2022-01-09 02:50:31.883710 [INFO] [WinTLSSession.cc:788] WinTLS: connected with: TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
362 Exception: [SocketCore.cc:1243] errorCode=1 Failed to receive data, cause: An existing connection was forcibly closed by the remote host.^M
[INFO] [BtLeecherStateChoke.cc:211] Leecher state, 1 choke round started
so what algorithm
do aria
use? how do I check that?
why certificate error
then connected ? 🧐
forcibly closed by the remote host
may be caused by what ?
how to check by log or browser console ,etc?
what does 1 choke round
mean ?
Solution: import your self-signed certificate into system as root CA.
Describe the bug A clear and concise description of what the bug is.
I think it can't import self-signed certificate created by (modified mainly based on this tutorial )
aria log with errors
To Reproduce Steps to reproduce the behavior:
Go to 'AriaNg setting '
change port to my customized port in conf
rpc-listen-port=9600
my
aria2.conf
Click on 'https' / 'wws'
Scroll down to 'token' change to my customized token
test
based onrpc-secret=test
See error
Expected behavior A clear and concise description of what you expected to happen.
connected
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [Microsoft Windows Version 21H2 (OS Build 19044.1415)]
Browser [
extension Version [ from chrome extension store ; the latest
1.5.5
]aria2c version
Additional context Add any other context about the problem here.
brief aria
debuginfo log